]> git.sur5r.net Git - u-boot/commitdiff
ARM: UniPhier: fix SRAM size on support card
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 6 Jan 2015 05:18:57 +0000 (14:18 +0900)
committerMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 8 Jan 2015 14:01:21 +0000 (23:01 +0900)
The max size of available memories on slot0 and slot1 is 32MB because
 - EA[25] signal is not output on the save-pin mode which is
   used PH1-LD4 or later SoCs.
 - EA[25] signal is not connected by the limitation (or bug?) of
   the PLD logic of DCC support card.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/arm/cpu/armv7/uniphier/support_card.c

index 419012e1ab64367ae5dcbf8f24ef27124115a60b..443224c451b7a1b1603af43ed2cd8219e1bb7bf0 100644 (file)
@@ -160,12 +160,12 @@ static const struct memory_bank memory_banks_boot_swap_on[] = {
 
 #if defined(CONFIG_DCC_MICRO_SUPPORT_CARD)
 static const struct memory_bank memory_banks_boot_swap_off[] = {
-       {0x04000000, 0x04000000},
+       {0x04000000, 0x02000000},
 };
 
 static const struct memory_bank memory_banks_boot_swap_on[] = {
-       {0x00000000, 0x04000000},
-       {0x04000000, 0x04000000},
+       {0x00000000, 0x02000000},
+       {0x04000000, 0x02000000},
 };
 #endif