Skip to contentSkip to conversation

configs: zynqmp_kria: Deactivate CONFIG_SPI_FLASH_BAR

PATCH Superseded Tejas Bhumkar 2 participants 2 messages Mar 21, 2024 Arm/Zynq architecture

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: zynqmp_kria: Deactivate CONFIG_SPI_FLASH_BAR

Disable CONFIG_SPI_FLASH_BAR, which activates 4-byte opcodes.

---
 configs/xilinx_zynqmp_kria_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/xilinx_zynqmp_kria_defconfig +0 -1
index 7cb8b62d32..7af8b27be9 100644
@@ -155,7 +155,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
Signature · 1 line
2.37.6
maintainer
#1 lore raw
Quoted 1 line · Tejas Bhumkar

Disable CONFIG_SPI_FLASH_BAR, which activates 4-byte opcodes.

Can you please be more specific?
There is a bigger story behind which should be also described.

The issue which this patch is addressing is that when image recovery application is running U-Boot SPL or FSBL with upstream u-boot is not able to work with the flash unless board is power off/on again. It suggest that baremetal application is using flash in certain mode and U-Boot is another. That's why I want to know that this change actually does.
If that means that it uses the same mode as baremetal application or so.

M