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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user