-
- Downloads
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>
Showing
- src/flash/nor/aduc702x.c 1 addition, 0 deletionssrc/flash/nor/aduc702x.c
- src/flash/nor/at91sam3.c 1 addition, 0 deletionssrc/flash/nor/at91sam3.c
- src/flash/nor/at91sam7.c 1 addition, 0 deletionssrc/flash/nor/at91sam7.c
- src/flash/nor/avrf.c 1 addition, 0 deletionssrc/flash/nor/avrf.c
- src/flash/nor/cfi.c 2 additions, 0 deletionssrc/flash/nor/cfi.c
- src/flash/nor/core.c 24 additions, 0 deletionssrc/flash/nor/core.c
- src/flash/nor/core.h 11 additions, 0 deletionssrc/flash/nor/core.h
- src/flash/nor/driver.h 15 additions, 0 deletionssrc/flash/nor/driver.h
- src/flash/nor/ecos.c 1 addition, 0 deletionssrc/flash/nor/ecos.c
- src/flash/nor/faux.c 1 addition, 0 deletionssrc/flash/nor/faux.c
- src/flash/nor/imp.h 2 additions, 0 deletionssrc/flash/nor/imp.h
- src/flash/nor/lpc2000.c 1 addition, 0 deletionssrc/flash/nor/lpc2000.c
- src/flash/nor/lpc288x.c 1 addition, 0 deletionssrc/flash/nor/lpc288x.c
- src/flash/nor/lpc2900.c 1 addition, 0 deletionssrc/flash/nor/lpc2900.c
- src/flash/nor/ocl.c 1 addition, 0 deletionssrc/flash/nor/ocl.c
- src/flash/nor/pic32mx.c 1 addition, 0 deletionssrc/flash/nor/pic32mx.c
- src/flash/nor/stellaris.c 1 addition, 0 deletionssrc/flash/nor/stellaris.c
- src/flash/nor/stm32x.c 1 addition, 0 deletionssrc/flash/nor/stm32x.c
- src/flash/nor/str7x.c 1 addition, 0 deletionssrc/flash/nor/str7x.c
- src/flash/nor/str9x.c 1 addition, 0 deletionssrc/flash/nor/str9x.c
Loading
Please register or sign in to comment