diff mbox

ARM: uniphier: set DRAM_SPARSE flag for LD21 boards

Message ID 1488832105-5459-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit fc671ed4e3099e4a03043d7a65320f36127f594b
Headers show

Commit Message

Masahiro Yamada March 6, 2017, 8:28 p.m. UTC
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 <yamada.masahiro@socionext.com>
Reported-by: Shunji Sato <sato.shunji@socionext.com>
---

 arch/arm/mach-uniphier/boards.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Masahiro Yamada March 13, 2017, 7:25 p.m. UTC | #1
2017-03-07 5:28 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> 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 <yamada.masahiro@socionext.com>
> Reported-by: Shunji Sato <sato.shunji@socionext.com>

Applied to u-boot-uniphier/master.
diff mbox

Patch

diff --git a/arch/arm/mach-uniphier/boards.c b/arch/arm/mach-uniphier/boards.c
index db7d192..e3b9335 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