From fc671ed4e3099e4a03043d7a65320f36127f594b Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Tue, 7 Mar 2017 05:28:25 +0900 Subject: [PATCH] ARM: uniphier: set DRAM_SPARSE flag for LD21 boards Commit 04cd4e7215d3 ("ARM: uniphier: remove DRAM base address from board parameters") accidentally unset the DRAM_SPARSE flag, and changed the physical map of the DRAM channels. Revive the original behavior. Fixes: 04cd4e7215d3 ("ARM: uniphier: remove DRAM base address from board parameters") Signed-off-by: Masahiro Yamada Reported-by: Shunji Sato --- arch/arm/mach-uniphier/boards.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-uniphier/boards.c b/arch/arm/mach-uniphier/boards.c index db7d192d68..e3b9335022 100644 --- a/arch/arm/mach-uniphier/boards.c +++ b/arch/arm/mach-uniphier/boards.c @@ -199,7 +199,7 @@ static const struct uniphier_board_data uniphier_ld21_data = { .size = 0x40000000, .width = 32, }, - .flags = UNIPHIER_BD_BOARD_LD21_GLOBAL, + .flags = UNIPHIER_BD_DRAM_SPARSE | UNIPHIER_BD_BOARD_LD21_GLOBAL, }; #endif -- 2.39.5