aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass2023-02-05 15:36:10 -0700
committerTom Rini2023-02-09 16:32:25 -0500
commit51864cdcbcd8cfdbfc7d044eb61d90beb8cf7896 (patch)
treeaab45baff5bed1bfd69ca2ced495e6a7a9e413a6 /arch
parent8c2be2086fae5149a8c1dcd6d91d378b068c1608 (diff)
Correct SPL uses of ALLEYCAT_5
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mvebu/arm64-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/arm64-common.c b/arch/arm/mach-mvebu/arm64-common.c
index 2c94f899f37..b9745c3c99f 100644
--- a/arch/arm/mach-mvebu/arm64-common.c
+++ b/arch/arm/mach-mvebu/arm64-common.c
@@ -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)