]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
xilinx: zynqmp: disable CONFIG_SPI_FLASH_BAR
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Mon, 7 Jul 2025 04:37:38 +0000 (10:07 +0530)
committerMichal Simek <michal.simek@amd.com>
Tue, 8 Jul 2025 12:58:44 +0000 (14:58 +0200)
Legacy SPI flash devices used a 24-bit (3-byte) addressing scheme,
limiting the addressable memory to 16 MB. To support larger densities
(256 Mbit and higher), extended addressing schemes, such as 32-bit
(4-byte) addressing, were introduced. If the flash density exceeds
16 MB and CONFIG_SPI_FLASH_BAR is disabled, the device will use a
4-byte addressing mode.

Signed-off-by: Prasad Kummari <prasad.kummari@amd.com>
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20250707043738.795179-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
configs/xilinx_zynqmp_virt_defconfig

index c6eae387b921a0ead38306d5a33cdf2925189086..65c8a4bbaadbe0e0b81c51d42cc05fe7b2a7a3b9 100644 (file)
@@ -163,7 +163,6 @@ CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_ARASAN=y
 CONFIG_SYS_NAND_ONFI_DETECTION=y
 CONFIG_SYS_NAND_MAX_CHIPS=2
-CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_SPI_FLASH_ISSI=y
 CONFIG_SPI_FLASH_MACRONIX=y