aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/drivers.c
AgeCommit message (Collapse)Author
2010-05-26flash: add virtual flash bank driverSpencer Oliver
This adds a virtual flash bank driver that allows virtual banks to be defined that refer to an existing flash bank. For example the real address for bank0 on the pic32 is 0x1fc00000 but the user program will either be in kseg0 (0xbfc00000) or kseg1 (0x9fc00000). This also means that gdb will be aware of all the read only flash addresses. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-04-10NOR/DRIVERS: review scope of functionsAntonio Borneo
Add "static" qualifier to private functions. Remove unused "extern" in src/ecosboard.c Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2009-12-04split flash.h into into flash/nor/*.hZachary T Welch
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.
2009-12-04add flash/nor/drivers.cZachary T Welch
Encapsulates access to the flash_drivers array, providing a base of operations for future dynamic driver module loading features.