Skip to content
Snippets Groups Projects
Commit e3ff9d51 authored by Jagan Teki's avatar Jagan Teki
Browse files

sf: Update sf to support all sizes of flashes


Updated the spi_flash framework to handle all sizes of flashes
using bank/extd addr reg facility

The current implementation in spi_flash supports 3-byte address mode
due to this up to 16Mbytes amount of flash is able to access for those
flashes which has an actual size of > 16MB.

As most of the flashes introduces a bank/extd address registers
for accessing the flashes in 16Mbytes of banks if the flash size
is > 16Mbytes, this new scheme will add the bank selection feature
for performing write/erase operations on all flashes.

Signed-off-by: default avatarJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent e612ddf5
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment