qspi: qspi support for mx6sxsabresd
Get series with b4
b4 am [email protected]Versions newest first
- v4 Latest0 of 5 patches 0 repliesNew
Patches in v4 No applies recorded yet
None of the 5 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [U-Boot] [PATCH v4 0/5] qspi: qspi support for mx6sxsabresd
Quoted 10 lines · Jagan Teki
Quoted 8 lines · Peng Fan
This patch set is to support qspi for mx6sxsabresd board.
To mx6sxsabresd Revb board, 32M flash is used, but in header file,
CONFIG_SPI_FLASH_BARis not defined, and we still useSZ_16M. The LUT initializationqspi_set_lutfunction uses 32BIT addr, howeverCONFIG_SPI_FLASH_BARand 24BIT addr should be used to access bigger than 16MB size flash, and BRRD/BRWR should also be supported. Future patches will fix this.
Quoted 3 lines
Please do remember your self, for next patches. of-course I have added this note on "[U-Boot,v4,5/5] imx:mx6sxsabresd add qspi support" commit body.
Thanks. Actually I am doing the work.
Quoted 22 lines
Quoted 22 lines
Since flash opcodes are not recommended to use in driver level, use
QSPI_CMD_xxto replaceOPCODE_xx. It is qspi controller's feature to program LUT withQSPI_CMD_xxwhich same value withOPCODE_xx.Since Revb board's qspi flash support 4K erase, 4K erase is added in driver.
Peng Fan (5):
QuadSPI: useQSPI_CMD_xxinstead of flash opcodes
QuadSPI: use correctamba_base
arm:mx6sx add QSPI support
imx:qspi add 4K erase support imx:mx6sxsabresd add qspi supportarch/arm/cpu/armv7/mx6/clock.c | 50 ++++++++++ arch/arm/include/asm/arch-mx6/clock.h | 1 + arch/arm/include/asm/arch-mx6/imx-regs.h | 12 +-- board/freescale/mx6sxsabresd/mx6sxsabresd.c | 40 ++++++++ drivers/spi/fsl_qspi.c | 137 +++++++++++++++++++--------- include/configs/mx6sxsabresd.h | 12 +++ 6 files changed, 205 insertions(+), 47 deletions(-)
Quoted 9 lines
Quoted 4 lines
--
1.8.4Applied to u-boot-spi/master
thanks!
Regards,
Peng.