]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: zynqmp_kria: Deactivate CONFIG_SPI_FLASH_BAR
authorTejas Bhumkar <tejas.arvind.bhumkar@amd.com>
Tue, 9 Apr 2024 09:48:26 +0000 (15:18 +0530)
committerMichal Simek <michal.simek@amd.com>
Wed, 10 Apr 2024 07:06:22 +0000 (09:06 +0200)
The Kria board features a recovery application that activates
when the FW_EN button is pressed.
Upon power-up flash operates in 3B mode, However, the recovery
application changes it back to 4B mode.
Currently, after a reset, u-boot activates CONFIG_SPI_FLASH_BAR
and assumes the flash is in 3B mode. However, there's no code
or reset lines connected to the flash that could return it to
3B mode. To resolve this issue, changes were made to disable
CONFIG_SPI_FLASH_BAR, which activates 4-byte opcodes.

Signed-off-by: Tejas Bhumkar <tejas.arvind.bhumkar@amd.com>
Link: https://lore.kernel.org/r/20240409094826.4131643-1-tejas.arvind.bhumkar@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
configs/xilinx_zynqmp_kria_defconfig

index 28b28f68411f0f001d1304c5a16186e10bc7302a..7167dd4b71ba40f8dc002afecb44510b98ec6711 100644 (file)
@@ -156,7 +156,6 @@ CONFIG_MMC_HS200_SUPPORT=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ZYNQ=y
 CONFIG_DM_MTD=y
-CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_STMICRO=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_SPI_FLASH_MTD=y