Skip to content
Snippets Groups Projects
Commit bc8be110 authored by Antonio Borneo's avatar Antonio Borneo Committed by Øyvind Harboe
Browse files

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: default avatarAntonio Borneo <borneo.antonio@gmail.com>
parent 24ebffff
No related branches found
No related tags found
No related merge requests found
Showing
with 69 additions and 0 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment