]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: versal_net: Disable the lock option for mini ospi and qspi
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Tue, 3 Oct 2023 03:17:15 +0000 (08:47 +0530)
committerMichal Simek <michal.simek@amd.com>
Tue, 7 Nov 2023 12:47:08 +0000 (13:47 +0100)
As mini configs are required only for flashing the images, so
disabling the lock config which will save nearly 6KB of memory.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20231003031715.5343-4-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
configs/xilinx_versal_net_mini_ospi_defconfig
configs/xilinx_versal_net_mini_qspi_defconfig

index 0656b23ae17bd6abf621debf93a8db81d4d7d53a..db3e7c80b2e2baf2a75c964c3c6fc0ca5022cb5c 100644 (file)
@@ -56,6 +56,7 @@ CONFIG_SYS_PROMPT="Versal NET> "
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SOFT_RESET=y
 CONFIG_SPI_FLASH_SOFT_RESET_ON_BOOT=y
+# CONFIG_SPI_FLASH_LOCK is not set
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_SPI_FLASH_ISSI=y
 CONFIG_SPI_FLASH_MACRONIX=y
index c0e9ba9f76f9fd40ecb1bc21e68028574003b7d1..37b3e769836c828eaea1b20fb393e728a0944a33 100644 (file)
@@ -60,6 +60,7 @@ CONFIG_SYS_PROMPT="Versal NET> "
 # CONFIG_MMC is not set
 CONFIG_DM_SPI_FLASH=y
 # CONFIG_SPI_FLASH_SMART_HWCAPS is not set
+# CONFIG_SPI_FLASH_LOCK is not set
 # CONFIG_SPI_FLASH_UNLOCK_ALL is not set
 CONFIG_SPI_FLASH_ISSI=y
 CONFIG_SPI_FLASH_MACRONIX=y