]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL uses of ALLEYCAT_5
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:10 +0000 (15:36 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:25 +0000 (16:32 -0500)
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_ALLEYCAT_5 defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-mvebu/arm64-common.c

index 2c94f899f3739790bdf5d22081a0a6a44c11691d..b9745c3c99fd7a5d72a67b6287dcecdf48934842 100644 (file)
@@ -53,7 +53,7 @@ __weak int dram_init_banksize(void)
                return a8k_dram_init_banksize();
        else if (CONFIG_IS_ENABLED(ARMADA_3700))
                return a3700_dram_init_banksize();
-       else if (CONFIG_IS_ENABLED(ALLEYCAT_5))
+       else if (IS_ENABLED(CONFIG_ALLEYCAT_5))
                return alleycat5_dram_init_banksize();
        else
                return fdtdec_setup_memory_banksize();
@@ -70,7 +70,7 @@ __weak int dram_init(void)
        if (CONFIG_IS_ENABLED(ARMADA_3700))
                return a3700_dram_init();
 
-       if (CONFIG_IS_ENABLED(ALLEYCAT_5))
+       if (IS_ENABLED(CONFIG_ALLEYCAT_5))
                return alleycat5_dram_init();
 
        if (fdtdec_setup_mem_size_base() != 0)