Browse Source

move nor drivers to src/flash/nor

Moves NOR flash drivers to 'src/flash/nor/'.
Adds 'src/flash/nor/Makefile.am'.
Builds 'libocdflashnor.la'.
tags/v0.4.0-rc1
Zachary T Welch 12 years ago
parent
commit
fe9228a32d
37 changed files with 56 additions and 50 deletions
  1. +1
    -0
      configure.in
  2. +9
    -50
      src/flash/Makefile.am
  3. +46
    -0
      src/flash/nor/Makefile.am
  4. +0
    -0
      src/flash/nor/aduc702x.c
  5. +0
    -0
      src/flash/nor/at91sam3.c
  6. +0
    -0
      src/flash/nor/at91sam3.h
  7. +0
    -0
      src/flash/nor/at91sam7.c
  8. +0
    -0
      src/flash/nor/at91sam7.h
  9. +0
    -0
      src/flash/nor/avrf.c
  10. +0
    -0
      src/flash/nor/avrf.h
  11. +0
    -0
      src/flash/nor/cfi.c
  12. +0
    -0
      src/flash/nor/cfi.h
  13. +0
    -0
      src/flash/nor/ecos.c
  14. +0
    -0
      src/flash/nor/faux.c
  15. +0
    -0
      src/flash/nor/lpc2000.c
  16. +0
    -0
      src/flash/nor/lpc2000.h
  17. +0
    -0
      src/flash/nor/lpc288x.c
  18. +0
    -0
      src/flash/nor/lpc288x.h
  19. +0
    -0
      src/flash/nor/lpc2900.c
  20. +0
    -0
      src/flash/nor/non_cfi.c
  21. +0
    -0
      src/flash/nor/non_cfi.h
  22. +0
    -0
      src/flash/nor/ocl.c
  23. +0
    -0
      src/flash/nor/ocl.h
  24. +0
    -0
      src/flash/nor/pic32mx.c
  25. +0
    -0
      src/flash/nor/pic32mx.h
  26. +0
    -0
      src/flash/nor/stellaris.c
  27. +0
    -0
      src/flash/nor/stellaris.h
  28. +0
    -0
      src/flash/nor/stm32x.c
  29. +0
    -0
      src/flash/nor/stm32x.h
  30. +0
    -0
      src/flash/nor/str7x.c
  31. +0
    -0
      src/flash/nor/str7x.h
  32. +0
    -0
      src/flash/nor/str9x.c
  33. +0
    -0
      src/flash/nor/str9x.h
  34. +0
    -0
      src/flash/nor/str9xpec.c
  35. +0
    -0
      src/flash/nor/str9xpec.h
  36. +0
    -0
      src/flash/nor/tms470.c
  37. +0
    -0
      src/flash/nor/tms470.h

+ 1
- 0
configure.in View File

@@ -1122,6 +1122,7 @@ AC_OUTPUT(dnl
src/target/Makefile dnl
src/server/Makefile dnl
src/flash/Makefile dnl
src/flash/nor/Makefile dnl
src/flash/nand/Makefile dnl
src/pld/Makefile dnl
doc/Makefile dnl


+ 9
- 50
src/flash/Makefile.am View File

@@ -1,4 +1,5 @@
SUBDIRS = \
nor \
nand

AM_CPPFLAGS = \
@@ -9,66 +10,24 @@ AM_CPPFLAGS = \
METASOURCES = AUTO
noinst_LTLIBRARIES = libflash.la
libflash_la_SOURCES = \
$(FLASH_SRCS) \
$(NAND_SRCS) \
mflash.c

libflash_la_LIBADD = \
$(top_builddir)/src/flash/nand/libocdflashnand.la

FLASH_SRCS = \
common.c \
cfi.c \
non_cfi.c \
faux.c \
$(FLASH_DEVICES_SRCS) \
flash.c

FLASH_DEVICES_SRCS = \
aduc702x.c \
at91sam3.c \
at91sam7.c \
avrf.c \
ecos.c \
lpc2000.c \
lpc288x.c \
lpc2900.c \
ocl.c \
pic32mx.c \
stellaris.c \
stm32x.c \
str7x.c \
str9x.c \
str9xpec.c \
tms470.c

NAND_SRCS = \
flash.c \
arm_nandio.c \
nand_ecc.c \
nand_ecc_kw.c \
nand.c
nand.c \
mflash.c

libflash_la_LIBADD = \
$(top_builddir)/src/flash/nor/libocdflashnor.la \
$(top_builddir)/src/flash/nand/libocdflashnand.la

noinst_HEADERS = \
arm_nandio.h \
at91sam7.h \
at91sam3.h \
avrf.h \
cfi.h \
common.h \
flash.h \
lpc2000.h \
lpc288x.h \
mflash.h \
non_cfi.h \
nand.h \
ocl.h \
pic32mx.h \
stellaris.h \
stm32x.h \
str7x.h \
str9x.h \
str9xpec.h \
tms470.h
nand.h

EXTRA_DIST = startup.tcl



+ 46
- 0
src/flash/nor/Makefile.am View File

@@ -0,0 +1,46 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src/helper \
-I$(top_srcdir)/src/jtag \
-I$(top_srcdir)/src/flash \
-I$(top_srcdir)/src/target

noinst_LTLIBRARIES = libocdflashnor.la
libocdflashnor_la_SOURCES = \
aduc702x.c \
at91sam3.c \
at91sam7.c \
avrf.c \
cfi.c \
ecos.c \
faux.c \
lpc2000.c \
lpc288x.c \
lpc2900.c \
non_cfi.c \
ocl.c \
pic32mx.c \
stellaris.c \
stm32x.c \
str7x.c \
str9x.c \
str9xpec.c \
tms470.c

noinst_HEADERS = \
at91sam7.h \
at91sam3.h \
avrf.h \
cfi.h \
lpc2000.h \
lpc288x.h \
non_cfi.h \
ocl.h \
pic32mx.h \
stellaris.h \
stm32x.h \
str7x.h \
str9x.h \
str9xpec.h \
tms470.h

MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

src/flash/aduc702x.c → src/flash/nor/aduc702x.c View File


src/flash/at91sam3.c → src/flash/nor/at91sam3.c View File


src/flash/at91sam3.h → src/flash/nor/at91sam3.h View File


src/flash/at91sam7.c → src/flash/nor/at91sam7.c View File


src/flash/at91sam7.h → src/flash/nor/at91sam7.h View File


src/flash/avrf.c → src/flash/nor/avrf.c View File


src/flash/avrf.h → src/flash/nor/avrf.h View File


src/flash/cfi.c → src/flash/nor/cfi.c View File


src/flash/cfi.h → src/flash/nor/cfi.h View File


src/flash/ecos.c → src/flash/nor/ecos.c View File


src/flash/faux.c → src/flash/nor/faux.c View File


src/flash/lpc2000.c → src/flash/nor/lpc2000.c View File


src/flash/lpc2000.h → src/flash/nor/lpc2000.h View File


src/flash/lpc288x.c → src/flash/nor/lpc288x.c View File


src/flash/lpc288x.h → src/flash/nor/lpc288x.h View File


src/flash/lpc2900.c → src/flash/nor/lpc2900.c View File


src/flash/non_cfi.c → src/flash/nor/non_cfi.c View File


src/flash/non_cfi.h → src/flash/nor/non_cfi.h View File


src/flash/ocl.c → src/flash/nor/ocl.c View File


src/flash/ocl.h → src/flash/nor/ocl.h View File


src/flash/pic32mx.c → src/flash/nor/pic32mx.c View File


src/flash/pic32mx.h → src/flash/nor/pic32mx.h View File


src/flash/stellaris.c → src/flash/nor/stellaris.c View File


src/flash/stellaris.h → src/flash/nor/stellaris.h View File


src/flash/stm32x.c → src/flash/nor/stm32x.c View File


src/flash/stm32x.h → src/flash/nor/stm32x.h View File


src/flash/str7x.c → src/flash/nor/str7x.c View File


src/flash/str7x.h → src/flash/nor/str7x.h View File


src/flash/str9x.c → src/flash/nor/str9x.c View File


src/flash/str9x.h → src/flash/nor/str9x.h View File


src/flash/str9xpec.c → src/flash/nor/str9xpec.c View File


src/flash/str9xpec.h → src/flash/nor/str9xpec.h View File


src/flash/tms470.c → src/flash/nor/tms470.c View File


src/flash/tms470.h → src/flash/nor/tms470.h View File


Loading…
Cancel
Save