Øyvind Harboe
72d227cd5e
tms470: -Wshadow warning fixes
...
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16 00:08:58 +02:00
Spencer Oliver
86e851e1e2
nor: fix memory leaks during probe
...
Fix similar memory leaks as per commit:
ef72484b78
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-29 15:43:42 +01:00
Antonio Borneo
bc8be110ff
NOR: add read() callback to struct flash_driver
...
Final target is to force bus_width size during CFI flash
read.
In this first step I need to replace default flash read
with flash specific implementation.
This patch introduces:
- flash_driver_read() layer;
- default_flash_read(), backward compatible;
- read() callback in struct flash_driver;
- proper initialization in every flash_driver instance.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-05-16 13:39:47 +02:00
Antonio Borneo
41cb911853
NOR/TMS470: review scope of symbols
...
Add "static" qualifier to private functions and data.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-04-11 01:19:41 +08:00
David Brownell
303b493c22
NOR: cleanup driver decls
...
Fix goofy struct indents. Function names *are* their addresses.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-29 13:52:08 -08:00
Zachary T Welch
d9dc604a4d
remove target.h from flash.h
...
The flash.h header does not require the target.h header file, but
its implementation source files do. Move it to flash/nor/imp.h.
2009-12-04 16:56:23 -08:00
Zachary T Welch
fe9228a32d
move nor drivers to src/flash/nor
...
Moves NOR flash drivers to 'src/flash/nor/'.
Adds 'src/flash/nor/Makefile.am'.
Builds 'libocdflashnor.la'.
2009-12-02 23:27:09 -08:00