add flash/nor/{tcl.c,imp.h} from flash/flash.c

Moves the top-level 'flash' command handlers into flash/nor/tcl.c,
with flash/nor/imp.h providing an internal implementation header
to share non-public API components.
This commit is contained in:
Zachary T Welch
2009-12-03 16:47:49 -08:00
parent 79a73a786e
commit 3cb0b56005
4 changed files with 235 additions and 175 deletions

View File

@@ -2,6 +2,10 @@ AM_CPPFLAGS = -I$(top_srcdir)/src
noinst_LTLIBRARIES = libocdflashnor.la
libocdflashnor_la_SOURCES = \
tcl.c \
$(NOR_DRIVERS)
NOR_DRIVERS = \
aduc702x.c \
at91sam3.c \
at91sam7.c \
@@ -27,6 +31,7 @@ noinst_HEADERS = \
at91sam3.h \
avrf.h \
cfi.h \
imp.h \
lpc2000.h \
lpc288x.h \
non_cfi.h \