Skip to contentSkip to conversation

configs: am62x_evm_a53_defconfig: Fix SF_DEFAULT_MODE

PATCH In review Nikhil M Jain 2 participants 2 messages Mar 11, 2023 – Mar 22, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: am62x_evm_a53_defconfig: Fix SF_DEFAULT_MODE

Setting sf default mode to 0x3 breaks sf update when we do SF read through u-boot console.

This issue arises when we do a splash image through OSPI flash media, to fix this set the default mode to 0x0.

Fixes 04150400c967 ("configs: enable OSPI related configs in AM62x")
---
 configs/am62x_evm_a53_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/am62x_evm_a53_defconfig +1 -1
index 1f490f08c9..0ad4fe9fec 100644
@@ -72,7 +72,7 @@ CONFIG_MMC_SDHCI_ADMA=y
 CONFIG_SPL_MMC_SDHCI_ADMA=y
 CONFIG_MMC_SDHCI_AM654=y
 CONFIG_DM_SPI_FLASH=y
-CONFIG_SF_DEFAULT_MODE=0x3
+CONFIG_SF_DEFAULT_MODE=0x0
 CONFIG_SF_DEFAULT_SPEED=25000000
 CONFIG_SPI_FLASH_SFDP_SUPPORT=y
 CONFIG_SPI_FLASH_SOFT_RESET=y
Signature · 1 line
2.34.1
#1 lore raw
Quoted 8 lines · Nikhil M Jain

Setting sf default mode to 0x3 breaks sf update when we do SF read through u-boot console.

This issue arises when we do a splash image through OSPI flash media, to fix this set the default mode to 0x0.

Fixes 04150400c967 ("configs: enable OSPI related configs in AM62x")

Applied to u-boot/master, thanks!

Signature · 1 line
Tom