split flash.h into into flash/nor/*.h

Move the bulk of the flash.h file into flash/nor/core.h, leaving an
empty husk that will be removed in the next patch.

The NOR driver structure is an implementation detail, so move it into
its own private header file <flash/nor/driver.h> along with helper
declaration for finding them by name.
This commit is contained in:
Zachary T Welch
2009-12-04 16:07:47 -08:00
parent d9dc604a4d
commit ae6374e25d
6 changed files with 358 additions and 326 deletions

View File

@@ -34,6 +34,7 @@ noinst_HEADERS = \
avrf.h \
core.h \
cfi.h \
driver.h \
imp.h \
lpc2000.h \
lpc288x.h \