add flash/nor/drivers.c

Encapsulates access to the flash_drivers array, providing a base
of operations for future dynamic driver module loading features.
This commit is contained in:
Zachary T Welch
2009-12-04 04:10:42 -08:00
parent 04ee41de52
commit c90702eaa7
4 changed files with 79 additions and 55 deletions

View File

@@ -4,7 +4,8 @@ noinst_LTLIBRARIES = libocdflashnor.la
libocdflashnor_la_SOURCES = \
core.c \
tcl.c \
$(NOR_DRIVERS)
$(NOR_DRIVERS) \
drivers.c
NOR_DRIVERS = \
aduc702x.c \