diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-02 15:54:15 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-02 23:27:09 -0800 |
commit | fe9228a32db930be297d4d3b35ffb94d6de1b9ab (patch) | |
tree | e71036506392e40715c992fc54346ebb8c179416 /src/flash | |
parent | e1ec02bb055fa356b058dddc0a15710e0fdc9870 (diff) | |
download | riscv-openocd-fe9228a32db930be297d4d3b35ffb94d6de1b9ab.zip riscv-openocd-fe9228a32db930be297d4d3b35ffb94d6de1b9ab.tar.gz riscv-openocd-fe9228a32db930be297d4d3b35ffb94d6de1b9ab.tar.bz2 |
move nor drivers to src/flash/nor
Moves NOR flash drivers to 'src/flash/nor/'.
Adds 'src/flash/nor/Makefile.am'.
Builds 'libocdflashnor.la'.
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/Makefile.am | 59 | ||||
-rw-r--r-- | src/flash/nor/Makefile.am | 46 | ||||
-rw-r--r-- | src/flash/nor/aduc702x.c (renamed from src/flash/aduc702x.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/at91sam3.c (renamed from src/flash/at91sam3.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/at91sam3.h (renamed from src/flash/at91sam3.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/at91sam7.c (renamed from src/flash/at91sam7.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/at91sam7.h (renamed from src/flash/at91sam7.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/avrf.c (renamed from src/flash/avrf.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/avrf.h (renamed from src/flash/avrf.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/cfi.c (renamed from src/flash/cfi.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/cfi.h (renamed from src/flash/cfi.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/ecos.c (renamed from src/flash/ecos.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/faux.c (renamed from src/flash/faux.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/lpc2000.c (renamed from src/flash/lpc2000.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/lpc2000.h (renamed from src/flash/lpc2000.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/lpc288x.c (renamed from src/flash/lpc288x.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/lpc288x.h (renamed from src/flash/lpc288x.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/lpc2900.c (renamed from src/flash/lpc2900.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/non_cfi.c (renamed from src/flash/non_cfi.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/non_cfi.h (renamed from src/flash/non_cfi.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/ocl.c (renamed from src/flash/ocl.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/ocl.h (renamed from src/flash/ocl.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/pic32mx.c (renamed from src/flash/pic32mx.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/pic32mx.h (renamed from src/flash/pic32mx.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/stellaris.c (renamed from src/flash/stellaris.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/stellaris.h (renamed from src/flash/stellaris.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/stm32x.c (renamed from src/flash/stm32x.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/stm32x.h (renamed from src/flash/stm32x.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/str7x.c (renamed from src/flash/str7x.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/str7x.h (renamed from src/flash/str7x.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/str9x.c (renamed from src/flash/str9x.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/str9x.h (renamed from src/flash/str9x.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/str9xpec.c (renamed from src/flash/str9xpec.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/str9xpec.h (renamed from src/flash/str9xpec.h) | 0 | ||||
-rw-r--r-- | src/flash/nor/tms470.c (renamed from src/flash/tms470.c) | 0 | ||||
-rw-r--r-- | src/flash/nor/tms470.h (renamed from src/flash/tms470.h) | 0 |
36 files changed, 55 insertions, 50 deletions
diff --git a/src/flash/Makefile.am b/src/flash/Makefile.am index 353fcf1..54a5116 100644 --- a/src/flash/Makefile.am +++ b/src/flash/Makefile.am @@ -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 diff --git a/src/flash/nor/Makefile.am b/src/flash/nor/Makefile.am new file mode 100644 index 0000000..d2d9998 --- /dev/null +++ b/src/flash/nor/Makefile.am @@ -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 diff --git a/src/flash/aduc702x.c b/src/flash/nor/aduc702x.c index 643705c..643705c 100644 --- a/src/flash/aduc702x.c +++ b/src/flash/nor/aduc702x.c diff --git a/src/flash/at91sam3.c b/src/flash/nor/at91sam3.c index be17a5f..be17a5f 100644 --- a/src/flash/at91sam3.c +++ b/src/flash/nor/at91sam3.c diff --git a/src/flash/at91sam3.h b/src/flash/nor/at91sam3.h index 4fa7f46..4fa7f46 100644 --- a/src/flash/at91sam3.h +++ b/src/flash/nor/at91sam3.h diff --git a/src/flash/at91sam7.c b/src/flash/nor/at91sam7.c index f9b87ba..f9b87ba 100644 --- a/src/flash/at91sam7.c +++ b/src/flash/nor/at91sam7.c diff --git a/src/flash/at91sam7.h b/src/flash/nor/at91sam7.h index 4510686..4510686 100644 --- a/src/flash/at91sam7.h +++ b/src/flash/nor/at91sam7.h diff --git a/src/flash/avrf.c b/src/flash/nor/avrf.c index 687dd4b..687dd4b 100644 --- a/src/flash/avrf.c +++ b/src/flash/nor/avrf.c diff --git a/src/flash/avrf.h b/src/flash/nor/avrf.h index e75d9d7..e75d9d7 100644 --- a/src/flash/avrf.h +++ b/src/flash/nor/avrf.h diff --git a/src/flash/cfi.c b/src/flash/nor/cfi.c index 6dbffb9..6dbffb9 100644 --- a/src/flash/cfi.c +++ b/src/flash/nor/cfi.c diff --git a/src/flash/cfi.h b/src/flash/nor/cfi.h index d55fd34..d55fd34 100644 --- a/src/flash/cfi.h +++ b/src/flash/nor/cfi.h diff --git a/src/flash/ecos.c b/src/flash/nor/ecos.c index 7a0b26f..7a0b26f 100644 --- a/src/flash/ecos.c +++ b/src/flash/nor/ecos.c diff --git a/src/flash/faux.c b/src/flash/nor/faux.c index caec2c7..caec2c7 100644 --- a/src/flash/faux.c +++ b/src/flash/nor/faux.c diff --git a/src/flash/lpc2000.c b/src/flash/nor/lpc2000.c index 418b5b0..418b5b0 100644 --- a/src/flash/lpc2000.c +++ b/src/flash/nor/lpc2000.c diff --git a/src/flash/lpc2000.h b/src/flash/nor/lpc2000.h index 08e278a..08e278a 100644 --- a/src/flash/lpc2000.h +++ b/src/flash/nor/lpc2000.h diff --git a/src/flash/lpc288x.c b/src/flash/nor/lpc288x.c index 446fc9d..446fc9d 100644 --- a/src/flash/lpc288x.c +++ b/src/flash/nor/lpc288x.c diff --git a/src/flash/lpc288x.h b/src/flash/nor/lpc288x.h index 5a71ee0..5a71ee0 100644 --- a/src/flash/lpc288x.h +++ b/src/flash/nor/lpc288x.h diff --git a/src/flash/lpc2900.c b/src/flash/nor/lpc2900.c index 81e2def..81e2def 100644 --- a/src/flash/lpc2900.c +++ b/src/flash/nor/lpc2900.c diff --git a/src/flash/non_cfi.c b/src/flash/nor/non_cfi.c index f98b108..f98b108 100644 --- a/src/flash/non_cfi.c +++ b/src/flash/nor/non_cfi.c diff --git a/src/flash/non_cfi.h b/src/flash/nor/non_cfi.h index 44c92db..44c92db 100644 --- a/src/flash/non_cfi.h +++ b/src/flash/nor/non_cfi.h diff --git a/src/flash/ocl.c b/src/flash/nor/ocl.c index 388395f..388395f 100644 --- a/src/flash/ocl.c +++ b/src/flash/nor/ocl.c diff --git a/src/flash/ocl.h b/src/flash/nor/ocl.h index d5c430b..d5c430b 100644 --- a/src/flash/ocl.h +++ b/src/flash/nor/ocl.h diff --git a/src/flash/pic32mx.c b/src/flash/nor/pic32mx.c index 9bb6c97..9bb6c97 100644 --- a/src/flash/pic32mx.c +++ b/src/flash/nor/pic32mx.c diff --git a/src/flash/pic32mx.h b/src/flash/nor/pic32mx.h index 92f40c2..92f40c2 100644 --- a/src/flash/pic32mx.h +++ b/src/flash/nor/pic32mx.h diff --git a/src/flash/stellaris.c b/src/flash/nor/stellaris.c index 771f0a7..771f0a7 100644 --- a/src/flash/stellaris.c +++ b/src/flash/nor/stellaris.c diff --git a/src/flash/stellaris.h b/src/flash/nor/stellaris.h index 949a346..949a346 100644 --- a/src/flash/stellaris.h +++ b/src/flash/nor/stellaris.h diff --git a/src/flash/stm32x.c b/src/flash/nor/stm32x.c index 2f51aa5..2f51aa5 100644 --- a/src/flash/stm32x.c +++ b/src/flash/nor/stm32x.c diff --git a/src/flash/stm32x.h b/src/flash/nor/stm32x.h index 6cd047e..6cd047e 100644 --- a/src/flash/stm32x.h +++ b/src/flash/nor/stm32x.h diff --git a/src/flash/str7x.c b/src/flash/nor/str7x.c index 7edffac..7edffac 100644 --- a/src/flash/str7x.c +++ b/src/flash/nor/str7x.c diff --git a/src/flash/str7x.h b/src/flash/nor/str7x.h index 81af0f1..81af0f1 100644 --- a/src/flash/str7x.h +++ b/src/flash/nor/str7x.h diff --git a/src/flash/str9x.c b/src/flash/nor/str9x.c index 98f15e7..98f15e7 100644 --- a/src/flash/str9x.c +++ b/src/flash/nor/str9x.c diff --git a/src/flash/str9x.h b/src/flash/nor/str9x.h index c9d5152..c9d5152 100644 --- a/src/flash/str9x.h +++ b/src/flash/nor/str9x.h diff --git a/src/flash/str9xpec.c b/src/flash/nor/str9xpec.c index 96e1259..96e1259 100644 --- a/src/flash/str9xpec.c +++ b/src/flash/nor/str9xpec.c diff --git a/src/flash/str9xpec.h b/src/flash/nor/str9xpec.h index 1c8d41b..1c8d41b 100644 --- a/src/flash/str9xpec.h +++ b/src/flash/nor/str9xpec.h diff --git a/src/flash/tms470.c b/src/flash/nor/tms470.c index 5965934..5965934 100644 --- a/src/flash/tms470.c +++ b/src/flash/nor/tms470.c diff --git a/src/flash/tms470.h b/src/flash/nor/tms470.h index f275e51..f275e51 100644 --- a/src/flash/tms470.h +++ b/src/flash/nor/tms470.h |