summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-06 01:36:13 +0300
committerTom Rini <trini@konsulko.com>2023-02-10 00:32:25 +0300
commitc0ef5a3ea72c1c4cf1ec77e318d7418681269471 (patch)
tree12f70a8d410c8d0fdb408f14c79609b88b2380d1 /board
parent51864cdcbcd8cfdbfc7d044eb61d90beb8cf7896 (diff)
downloadu-boot-c0ef5a3ea72c1c4cf1ec77e318d7418681269471.tar.xz
Correct SPL use of ARCH_ZYNQ
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@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/xilinx/common/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c
index fbc76eef20..e2c957fa16 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);