aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/mach-mtmips/cpu.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-07-14 07:18:33 -0400
committerTom Rini <trini@konsulko.com>2022-07-14 07:18:33 -0400
commit58f3dc5c4eac9c6050edda6af2e37d20a2f9586d (patch)
tree78f091f787b36104ea2e2e42fee9b335a7915daa /arch/mips/mach-mtmips/cpu.c
parent854d6de6107bca044db362612f39691f4f5395ca (diff)
parentdd6bf539e88aff1b8caeeccbe9af59b2191a178b (diff)
Merge tag 'mips-pull-2022-07-13' of https://source.denx.de/u-boot/custodians/u-boot-mips
- MIPS: add drivers and board support for Mediatek MT7621 SoC
Diffstat (limited to 'arch/mips/mach-mtmips/cpu.c')
-rw-r--r--arch/mips/mach-mtmips/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mach-mtmips/cpu.c b/arch/mips/mach-mtmips/cpu.c
index a4b5cff61d..f1e9022738 100644
--- a/arch/mips/mach-mtmips/cpu.c
+++ b/arch/mips/mach-mtmips/cpu.c
@@ -16,7 +16,7 @@ DECLARE_GLOBAL_DATA_PTR;
int dram_init(void)
{
- gd->ram_size = get_ram_size((void *)KSEG1, SZ_256M);
+ gd->ram_size = get_ram_size((void *)KSEG1, CONFIG_MAX_MEM_SIZE << 20);
return 0;
}