
16 Jul
2020
16 Jul
'20
7:48 p.m.
i.MX platforms provide large AHB mapped space for QSPI, each controller has 256MB. However, current driver only maps small size (AHB buffer size) of AHB space, this implementation causes i.MX failed to boot M4 with QSPI XIP image. Add config CONFIG_FSL_QSPI_AHB_FULL_MAP (default enabled for i.MX) to address above problem. When the config is set:
- Full AHB space is divided to each CS.
- A dedicated LUT entry is used for AHB read only.
- The MODE instruction in LUT is replaced to standard ADDR instruction
- The address in spi_mem_op is used to SFAR and AHB read
Signed-off-by: Ye Li ye.li@nxp.com Reviewed-by: Ashish Kumar Ashish.Kumar@nxp.com Reviewed-by: Kuldeep Singh kuldeep.singh@nxp.com
Applied to u-boot-imx, master, thanks !
Best regards, Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================