]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
db-88f6820-gp.h: Load data blobs into lower memory
authorKevin Smith <kevin.smith@elecsyscorp.com>
Mon, 18 May 2015 16:09:46 +0000 (16:09 +0000)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:47:14 +0000 (00:47 +0200)
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>
include/configs/db-88f6820-gp.h

index c32e07803c5f13afb2727467c14ecef58954492b..24dbf6bf713d7a72a941b30320f0e5b17af89345 100644 (file)
 #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