]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: uniphier: set DRAM_SPARSE flag for LD21 boards
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 6 Mar 2017 20:28:25 +0000 (05:28 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 13 Mar 2017 19:15:24 +0000 (04:15 +0900)
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

index db7d192d68ef141454513185a33d1cebc6d69590..e3b933502230489e374354b127eb0cc0355bee58 100644 (file)
@@ -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