]> git.sur5r.net Git - u-boot/commitdiff
ARM: uniphier: reserve the last 64 byte of SDRAM
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 21 Apr 2016 05:43:19 +0000 (14:43 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 24 Apr 2016 00:54:09 +0000 (09:54 +0900)
The last 64 byte of each DDR channel of PH1-LD20 is periodically
used as a scratch area for the DDR PHY training.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/configs/uniphier.h

index fb405a9fe4ae4c5d7c84dfc012c7794ae0ca5fc4..a25ac8d92417d1d911fd07512e6e908fa9e6f1d2 100644 (file)
 
 #define CONFIG_SYS_SDRAM_BASE          0x80000000
 #define CONFIG_NR_DRAM_BANKS           2
+/* for LD20; the last 64 byte is used for dynamic DDR PHY training */
+#define CONFIG_SYS_MEM_TOP_HIDE                64
 
 #if defined(CONFIG_ARM64)
 #define CONFIG_SPL_TEXT_BASE           0x30000000