[PATCH v2 027/169] Correct SPL use of ARCH_ZYNQ

Simon Glass sjg at chromium.org
Sun Feb 5 23:36:13 CET 2023


This converts 1 usage of this option to the non-SPL form, since there is
no SPL_ARCH_ZYNQ defined in Kconfig

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 board/xilinx/common/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c
index fbc76eef20d..e2c957fa163 100644
--- a/board/xilinx/common/board.c
+++ b/board/xilinx/common/board.c
@@ -419,7 +419,7 @@ int board_late_init_xilinx(void)
 		ret |= env_set_hex("scriptaddr", gd->ram_base + scriptaddr);
 	}
 
-	if (CONFIG_IS_ENABLED(ARCH_ZYNQ) || CONFIG_IS_ENABLED(MICROBLAZE))
+	if (IS_ENABLED(CONFIG_ARCH_ZYNQ) || CONFIG_IS_ENABLED(MICROBLAZE))
 		bootm_size = min(bootm_size, (phys_size_t)(SZ_512M + SZ_256M));
 
 	ret |= env_set_hex("script_offset_f", CONFIG_BOOT_SCRIPT_OFFSET);
-- 
2.39.1.519.gcb327c4b5f-goog



More information about the U-Boot mailing list