[U-Boot] [PATCH 6/9] ARM: socfpga: Set default DTB address on A10

tien.fong.chee at intel.com
2018-11-21T10:41:45Z

From: Tien Fong Chee <tien.fong.chee@intel.com>

Set default DT blob address on A10 SoCDK, since this SoC uses OF
separate configuration. The 0xf0000 address is just below the text
base and still leaves enough room for the DT to grow.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
---
arch/arm/mach-socfpga/board.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach-socfpga/board.c
index 7c8c05c..436a8a8 100644
--- a/arch/arm/mach-socfpga/board.c
+++ b/arch/arm/mach-socfpga/board.c
@@ -86,3 +86,11 @@ int g_dnl_board_usb_cable_connected(void)
return 1;
}
#endif
+
+#if defined(CONFIG_TARGET_SOCFPGA_ARRIA10) && \
+!defined(CONFIG_SPL_BUILD) && defined(CONFIG_OF_SEPARATE)
+void *board_fdt_blob_setup(void)
+{
+ return (void *)0xf00000;
+}
+#endif
--
1.7.7.4