diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-16 15:35:02 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-31 08:49:43 +0200 |
commit | 459c7f3213ab0698cac25f591b7803cfb71d588e (patch) | |
tree | 5ad36291d9c6980cb42ebb0b5fd190e6a83cef04 /arch/arm/boards/cm-fx6 | |
parent | 44dfce99f5ba18f91ae5aad43b1d2a8223d1288a (diff) | |
download | barebox-459c7f3213ab0698cac25f591b7803cfb71d588e.tar.gz barebox-459c7f3213ab0698cac25f591b7803cfb71d588e.tar.xz |
ARM: i.MX6 cm-fx6: Fix area for get_ram_size
for bank2_size get_ram_size must be called with the CS1 area. With the
recent fix to calculate CS1 start this now starts at 0x90000000 and no
longer at 0x80000000.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/cm-fx6')
-rw-r--r-- | arch/arm/boards/cm-fx6/lowlevel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boards/cm-fx6/lowlevel.c b/arch/arm/boards/cm-fx6/lowlevel.c index 3e3e2b5182..fd86e159aa 100644 --- a/arch/arm/boards/cm-fx6/lowlevel.c +++ b/arch/arm/boards/cm-fx6/lowlevel.c @@ -258,8 +258,8 @@ static unsigned long cm_fx6_spl_dram_init(void) return SZ_2G; if (bank1_size == 0x40000000) { - bank2_size = get_ram_size((long int *)0x80000000, - 0x80000000); + bank2_size = get_ram_size((long int *)0x90000000, + 0x40000000); if (bank2_size == 0x40000000) { /* Don't do a full reset here */ spl_mx6q_dram_init(DDR_64BIT_2GB, false); |