[U-Boot] [PATCH v2 0/4] sf: Add nr_flash support
Jagannadha Sutradharudu Teki
jagannadha.sutradharudu-teki at xilinx.com
Sun Jan 5 19:49:17 CET 2014
This is next version patch series for -
http://u-boot.10912.n7.nabble.com/PATCH-0-5-sf-Add-support-to-access-dual-flash-memory-td160223.html
"nr_flash" support look likes how many no.of flashes can be connected
to a controller from a given chipselect. Usually from every controller
we can connect single flash with a single chipselect line and current
sf framework support too. but there are some hw logics(ex: xilinx zynq qspi)
describes two/dual memories are connected with a single chipselect line from
a controller.
This code nothing harm to existing sf with single flash as newly added
code is moved onto CONFIG_SF_NR_FLASH config option.
Changes for v2:
- rebase to current spi tree
- "option" variable on spi_slave so-that controller driver can specify which they use
- Unify common code
--
Thanks,
Jagan.
Jagannadha Sutradharudu Teki (4):
sf: ops: Unify read_ops bank configuration
sf: Add dual memories support - DUAL_STACKED
sf: Add dual memories support - DUAL_PARALLEL
sf: Add CONFIG_SF_NR_FLASH
README | 6 +++
doc/SPI/README.nr-flash | 92 ++++++++++++++++++++++++++++++++++++++++++++++
drivers/mtd/spi/sf.c | 4 ++
drivers/mtd/spi/sf_ops.c | 80 +++++++++++++++++++++++++++++++---------
drivers/mtd/spi/sf_probe.c | 21 ++++++++---
include/spi.h | 9 +++++
include/spi_flash.h | 11 ++++++
7 files changed, 199 insertions(+), 24 deletions(-)
create mode 100644 doc/SPI/README.nr-flash
--
1.8.3
More information about the U-Boot
mailing list