summaryrefslogtreecommitdiff
path: root/src/flash/nand/driver.c
Commit message (Collapse)AuthorAgeFilesLines
* rename nand.h to flash//nand/core.hZachary T Welch2009-12-041-1/+1
| | | | | | | | | Rename nand.h as flash/nand/core.h, chase consumers. The public APIs need to be sorted out with imp.h, but this allows other changes to begin improving the separation between policy and mechanism. Moves #include <target/target.h> and #include "driver.h" into the internal headers or source files, removing it from <flash/nand/core.h>.
* split NAND driver handling into nand/driver.[ch]Zachary T Welch2009-12-041-0/+79
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.