diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-04 18:24:14 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-04 21:41:23 -0800 |
commit | a7fd30c07fb9c2b7662ffaa48287b1997dc60796 (patch) | |
tree | 8f937fdbec9fd1e55d864a435553b72e3ce1df15 /src/flash/nand/Makefile.am | |
parent | af1d7590edf04077aa8f22fba9097e0c68431f68 (diff) |
split NAND driver handling into nand/driver.[ch]
This work parallels the NOR directory, encapsulating the NAND drivers
into a separate file. This takes an extra step by encapsulating the
type of data structure used to manage the drivers, allowing it to be
changed from an array to a dynamic list in the future.
Diffstat (limited to 'src/flash/nand/Makefile.am')
-rw-r--r-- | src/flash/nand/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/flash/nand/Makefile.am b/src/flash/nand/Makefile.am index 34947b6e..7d250f6f 100644 --- a/src/flash/nand/Makefile.am +++ b/src/flash/nand/Makefile.am @@ -3,6 +3,10 @@ AM_CPPFLAGS = -I$(top_srcdir)/src noinst_LTLIBRARIES = libocdflashnand.la libocdflashnand_la_SOURCES = \ + $(NAND_DRIVERS) \ + driver.c + +NAND_DRIVERS = \ nonce.c \ davinci.c \ lpc3180.c \ @@ -16,6 +20,7 @@ libocdflashnand_la_SOURCES = \ noinst_HEADERS = \ lpc3180.h \ + driver.h \ mx3.h \ s3c24xx.h \ s3c24xx_regs.h |