[PATCH v2 3/3] arm64: zynqmp: Disable LMB for mini configurations

Michal Simek michal.simek at xilinx.com
Mon Feb 7 13:30:37 CET 2022


There is no need to have LMB enabled that's why save some space by
disabling it.

   aarch64: (for 6/6 boards) all -1550.0 rodata -140.7 text -1409.3
            xilinx_zynqmp_mini: all -2001 rodata -185 text -1816
            xilinx_zynqmp_mini_qspi: all -2001 rodata -185 text -1816
            xilinx_zynqmp_mini_emmc0: all -2649 rodata -237 text -2412
            xilinx_zynqmp_mini_emmc1: all -2649 rodata -237 text -2412

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

Changes in v2:
- new patch in series

 configs/xilinx_zynqmp_mini_defconfig       | 1 +
 configs/xilinx_zynqmp_mini_emmc0_defconfig | 1 +
 configs/xilinx_zynqmp_mini_emmc1_defconfig | 1 +
 configs/xilinx_zynqmp_mini_qspi_defconfig  | 1 +
 4 files changed, 4 insertions(+)

diff --git a/configs/xilinx_zynqmp_mini_defconfig b/configs/xilinx_zynqmp_mini_defconfig
index 73f6eee039df..7c25a54046df 100644
--- a/configs/xilinx_zynqmp_mini_defconfig
+++ b/configs/xilinx_zynqmp_mini_defconfig
@@ -58,3 +58,4 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_ARM_DCC=y
 CONFIG_PANIC_HANG=y
 # CONFIG_GZIP is not set
+# CONFIG_LMB is not set
diff --git a/configs/xilinx_zynqmp_mini_emmc0_defconfig b/configs/xilinx_zynqmp_mini_emmc0_defconfig
index ac28eb1b8222..f18207a270ec 100644
--- a/configs/xilinx_zynqmp_mini_emmc0_defconfig
+++ b/configs/xilinx_zynqmp_mini_emmc0_defconfig
@@ -65,3 +65,4 @@ CONFIG_ARM_DCC=y
 CONFIG_PANIC_HANG=y
 # CONFIG_GZIP is not set
 # CONFIG_EFI_LOADER is not set
+# CONFIG_LMB is not set
diff --git a/configs/xilinx_zynqmp_mini_emmc1_defconfig b/configs/xilinx_zynqmp_mini_emmc1_defconfig
index e586790c6047..507717dabb2d 100644
--- a/configs/xilinx_zynqmp_mini_emmc1_defconfig
+++ b/configs/xilinx_zynqmp_mini_emmc1_defconfig
@@ -65,3 +65,4 @@ CONFIG_ARM_DCC=y
 CONFIG_PANIC_HANG=y
 # CONFIG_GZIP is not set
 # CONFIG_EFI_LOADER is not set
+# CONFIG_LMB is not set
diff --git a/configs/xilinx_zynqmp_mini_qspi_defconfig b/configs/xilinx_zynqmp_mini_qspi_defconfig
index 78c9d29af095..e45ccb9ff8ed 100644
--- a/configs/xilinx_zynqmp_mini_qspi_defconfig
+++ b/configs/xilinx_zynqmp_mini_qspi_defconfig
@@ -68,3 +68,4 @@ CONFIG_SPI=y
 CONFIG_ZYNQMP_GQSPI=y
 CONFIG_PANIC_HANG=y
 # CONFIG_GZIP is not set
+# CONFIG_LMB is not set
-- 
2.35.0



More information about the U-Boot mailing list