[U-Boot] [PATCH v3 08/11] ARM: uniphier: reserve the last 64 byte of SDRAM

Masahiro Yamada yamada.masahiro at socionext.com
Thu Apr 21 04:55:11 CEST 2016


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 at socionext.com>
---

Changes in v3: None
Changes in v2: None

 include/configs/uniphier.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index fb405a9..a25ac8d 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -259,6 +259,8 @@
 
 #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
-- 
1.9.1



More information about the U-Boot mailing list