[U-Boot] [PATCH] ARM: uniphier: set DRAM_SPARSE flag for LD21 boards

Masahiro Yamada yamada.masahiro at socionext.com
Mon Mar 6 20:28:25 UTC 2017


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 at socionext.com>
Reported-by: Shunji Sato <sato.shunji at socionext.com>
---

 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 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
 
-- 
2.7.4



More information about the U-Boot mailing list