summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mediatek/mt7986/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mediatek/mt7986/init.c')
-rw-r--r--arch/arm/mach-mediatek/mt7986/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mediatek/mt7986/init.c b/arch/arm/mach-mediatek/mt7986/init.c
index cf89e63e80..fb74b2f34d 100644
--- a/arch/arm/mach-mediatek/mt7986/init.c
+++ b/arch/arm/mach-mediatek/mt7986/init.c
@@ -14,7 +14,7 @@ DECLARE_GLOBAL_DATA_PTR;
int dram_init(void)
{
- gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, SZ_2G);
+ gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE, SZ_2G);
return 0;
}