summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-02-05 15:36:15 -0700
committerTom Rini <[email protected]>2023-02-09 16:32:25 -0500
commitc1c5538e7ef05a1eafbaf3ce8c8dbaa4ae556374 (patch)
treecfe52133e7d3b7dde0accdf4eb4eb241e9c7885c
parentc0ef5a3ea72c1c4cf1ec77e318d7418681269471 (diff)
Correct SPL uses of ARMADA_3700
This converts 2 usages of this option to the non-SPL form, since there is no SPL_ARMADA_3700 defined in Kconfig Signed-off-by: Simon Glass <[email protected]>
-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 b9745c3c99f..5ab6925480d 100644
--- a/arch/arm/mach-mvebu/arm64-common.c
+++ b/arch/arm/mach-mvebu/arm64-common.c
@@ -51,7 +51,7 @@ __weak int dram_init_banksize(void)
{
if (CONFIG_IS_ENABLED(ARMADA_8K))
return a8k_dram_init_banksize();
- else if (CONFIG_IS_ENABLED(ARMADA_3700))
+ else if (IS_ENABLED(CONFIG_ARMADA_3700))
return a3700_dram_init_banksize();
else if (IS_ENABLED(CONFIG_ALLEYCAT_5))
return alleycat5_dram_init_banksize();
@@ -67,7 +67,7 @@ __weak int dram_init(void)
return 0;
}
- if (CONFIG_IS_ENABLED(ARMADA_3700))
+ if (IS_ENABLED(CONFIG_ARMADA_3700))
return a3700_dram_init();
if (IS_ENABLED(CONFIG_ALLEYCAT_5))