From: Masahiro Yamada Date: Tue, 6 Jan 2015 05:18:57 +0000 (+0900) Subject: ARM: UniPhier: fix SRAM size on support card X-Git-Tag: v2015.01~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5e165b258f4231d8f9d07e773f19aaa57587f45a;p=oweals%2Fu-boot.git ARM: UniPhier: fix SRAM size on support card 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 --- diff --git a/arch/arm/cpu/armv7/uniphier/support_card.c b/arch/arm/cpu/armv7/uniphier/support_card.c index 419012e1ab..443224c451 100644 --- a/arch/arm/cpu/armv7/uniphier/support_card.c +++ b/arch/arm/cpu/armv7/uniphier/support_card.c @@ -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