summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 15:36:16 -0700
committerTom Rini <trini@konsulko.com>2023-02-09 16:32:25 -0500
commit611e9af07cc3505781f07c43c15f1346ceca22b8 (patch)
tree7ca45da7fa4628975c9e1a85db839cf3075aaeef
parentc1c5538e7ef05a1eafbaf3ce8c8dbaa4ae556374 (diff)
downloadu-boot-611e9af07cc3505781f07c43c15f1346ceca22b8.tar.gz
u-boot-611e9af07cc3505781f07c43c15f1346ceca22b8.tar.bz2
u-boot-611e9af07cc3505781f07c43c15f1346ceca22b8.zip
Correct SPL uses of ARMADA_8K
This converts 2 usages of this option to the non-SPL form, since there is no SPL_ARMADA_8K defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
-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 5ab6925480..d3a95730be 100644
--- a/arch/arm/mach-mvebu/arm64-common.c
+++ b/arch/arm/mach-mvebu/arm64-common.c
@@ -49,7 +49,7 @@ const struct mbus_dram_target_info *mvebu_mbus_dram_info(void)
__weak int dram_init_banksize(void)
{
- if (CONFIG_IS_ENABLED(ARMADA_8K))
+ if (IS_ENABLED(CONFIG_ARMADA_8K))
return a8k_dram_init_banksize();
else if (IS_ENABLED(CONFIG_ARMADA_3700))
return a3700_dram_init_banksize();
@@ -61,7 +61,7 @@ __weak int dram_init_banksize(void)
__weak int dram_init(void)
{
- if (CONFIG_IS_ENABLED(ARMADA_8K)) {
+ if (IS_ENABLED(CONFIG_ARMADA_8K)) {
gd->ram_size = a8k_dram_scan_ap_sz();
if (gd->ram_size != 0)
return 0;