imx: imx6ul: kontron-sl-mx6ul: Disable CONFIG_FSL_QSPI_AHB_FULL_MAP to fix SPI NAND read access
PATCH 1/1 imx: imx6ul: kontron-sl-mx6ul: Disable CONFIG_FSL_QSPI_AHB_FULL_MAP to fix SPI NAND read access
From: Frieder Schrempf <[email protected]>
The introduction of CONFIG_FSL_QSPI_AHB_FULL_MAP as default in:
def88bce094e ("spi: fsl_qspi: Support to use full AHB space on i.MX")
broke the SPI NAND read access on the Kontron SL i.MX6UL/ULL boards. Reading data from the flash returns garbage instead of the actual content. Fix this for now by disabling the introduced option.
In the long run this should be fixed globally.
--- configs/kontron-sl-mx6ul_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/kontron-sl-mx6ul_defconfig +1 -0
@@ -95,6 +95,7 @@ CONFIG_MXC_UART=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_FSL_QSPI=y +# CONFIG_FSL_QSPI_AHB_FULL_MAP is not set CONFIG_MXC_SPI=y CONFIG_IMX_THERMAL=y CONFIG_USB=y
Signature · 1 line
2.38.1
Hi Frieder,
Quoted 5 lines · Frieder Schrempf
From: Frieder Schrempf <[email protected]>
The introduction of
CONFIG_FSL_QSPI_AHB_FULL_MAPas default in:
Quoted 7 lines
def88bce094e("spi:fsl_qspi: Support to use full AHB space on i.MX")broke the SPI NAND read access on the Kontron SL i.MX6UL/ULL boards. Reading data from the flash returns garbage instead of the actual content. Fix this for now by disabling the introduced option.
In the long run this should be fixed globally.
Yes, most likely more boards have the same problem.
Hi Stefano,
Quoted 6 lines · Frieder Schrempf
From: Frieder Schrempf <[email protected]>
The introduction of
CONFIG_FSL_QSPI_AHB_FULL_MAPas default in:
def88bce094e("spi:fsl_qspi: Support to use full AHB space on i.MX")
Quoted 8 lines
broke the SPI NAND read access on the Kontron SL i.MX6UL/ULL boards. Reading data from the flash returns garbage instead of the actual content. Fix this for now by disabling the introduced option.
In the long run this should be fixed globally.
Fixes def88bce094e ("spi: fsl_qspi: Support to use full AHB space on i.MX")Signed-off-by Frieder Schrempf <[email protected]>
Can you pick up this patch, please?
Thanks
Frieder
Quoted 13 lines · Frieder Schrempf
Hi Stefano,
Quoted 10 lines · Frieder Schrempf
From: Frieder Schrempf <[email protected]>
The introduction of
CONFIG_FSL_QSPI_AHB_FULL_MAPas default in:
def88bce094e("spi:fsl_qspi: Support to use full AHB space on i.MX")broke the SPI NAND read access on the Kontron SL i.MX6UL/ULL boards. Reading data from the flash returns garbage instead of the actual content. Fix this for now by disabling the introduced option.
Quoted 6 lines
Quoted 4 lines
In the long run this should be fixed globally.
Fixes def88bce094e ("spi: fsl_qspi: Support to use full AHB space on i.MX")Signed-off-by Frieder Schrempf <[email protected]>Can you pick up this patch, please?
Yes, it is already marked for the next CI run.
Regards,
Stefano
Quoted 3 lines
Thanks
Frieder
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================
PATCH 1/1 imx: imx6ul: kontron-sl-mx6ul: Disable CONFIG_FSL_QSPI_AHB_FULL_MAP to fix SPI NAND read access
In reply to Frieder SchrempfQuoted 10 lines
From: Frieder Schrempf <[email protected]>
The introduction ofCONFIG_FSL_QSPI_AHB_FULL_MAPas default in:def88bce094e("spi:fsl_qspi: Support to use full AHB space on i.MX") broke the SPI NAND read access on the Kontron SL i.MX6UL/ULL boards. Reading data from the flash returns garbage instead of the actual content. Fix this for now by disabling the introduced option. In the long run this should be fixed globally.Fixes def88bce094e ("spi: fsl_qspi: Support to use full AHB space on i.MX")Signed-off-by Frieder Schrempf <[email protected]>Reviewed-by Fabio Estevam <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================