summaryrefslogtreecommitdiffstats
path: root/include/configs/db-88f6820-gp.h
diff options
context:
space:
mode:
authorKevin Smith <kevin.smith@elecsyscorp.com>2015-05-18 16:09:46 +0000
committerLuka Perkov <luka.perkov@sartura.hr>2015-06-28 17:52:41 +0200
commit3fd38af704f6d4da50fe7dbf9ff018e43b196fb4 (patch)
treedfba9160d7528db788d7c761c6e345cf7cc847d3 /include/configs/db-88f6820-gp.h
parentae68763b6d7193faa4f4007dba7efe983cec604d (diff)
downloadtalos-obmc-uboot-3fd38af704f6d4da50fe7dbf9ff018e43b196fb4.tar.gz
talos-obmc-uboot-3fd38af704f6d4da50fe7dbf9ff018e43b196fb4.zip
db-88f6820-gp.h: Load data blobs into lower memory
By default on this platform, u-boot loads data into high memory in the range of 0x7Fxxxxxx, which generates a data abort when the kernel tries to read it. Config the u-boot environment to load the device tree and initrd image into lower memory to make them accessible to the kernel. Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/db-88f6820-gp.h')
-rw-r--r--include/configs/db-88f6820-gp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h
index c32e07803c..24dbf6bf71 100644
--- a/include/configs/db-88f6820-gp.h
+++ b/include/configs/db-88f6820-gp.h
@@ -62,6 +62,11 @@
#define CONFIG_SYS_CONSOLE_INFO_QUIET /* don't print console @ startup */
#define CONFIG_SYS_ALT_MEMTEST
+/* Keep device tree and initrd in lower memory so the kernel can access them */
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ "fdt_high=0x10000000\0" \
+ "initrd_high=0x10000000\0"
+
/*
* mv-common.h should be defined after CMD configs since it used them
* to enable certain macros
OpenPOWER on IntegriCloud