Commit 3fd38af704f6d4da50fe7dbf9ff018e43b196fb4
Committed by
Luka Perkov
1 parent
ae68763b6d
Exists in
v2017.01-smarct4x
and in
34 other branches
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>
Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff
include/configs/db-88f6820-gp.h
... | ... | @@ -62,6 +62,11 @@ |
62 | 62 | #define CONFIG_SYS_CONSOLE_INFO_QUIET /* don't print console @ startup */ |
63 | 63 | #define CONFIG_SYS_ALT_MEMTEST |
64 | 64 | |
65 | +/* Keep device tree and initrd in lower memory so the kernel can access them */ | |
66 | +#define CONFIG_EXTRA_ENV_SETTINGS \ | |
67 | + "fdt_high=0x10000000\0" \ | |
68 | + "initrd_high=0x10000000\0" | |
69 | + | |
65 | 70 | /* |
66 | 71 | * mv-common.h should be defined after CMD configs since it used them |
67 | 72 | * to enable certain macros |