]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of ARCH_ZYNQ
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:13 +0000 (15:36 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:25 +0000 (16:32 -0500)
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>
board/xilinx/common/board.c

index fbc76eef20d12cf825564f840cb28a7e67f2a756..e2c957fa1638f125fc06ebff2d984ac6861c4491 100644 (file)
@@ -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);