summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Amlie <kristian.amlie@northern.tech>2020-02-25 20:22:16 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-03-28 13:11:32 +0300
commitd4babee087f24a60d910659cb4367a077bad87a0 (patch)
tree40e9b76b79368d3052bee94cbeade6749c06318d
parent4ef2b0d5512857c1af1110a0b23744c00a585cb2 (diff)
downloadu-boot-d4babee087f24a60d910659cb4367a077bad87a0.tar.xz
vexpress_ca9x4: Enable use of correct DTB file and restore EFI loader.
EFI was disabled in f95b8a4b5f64f because of the missing DTB file, and indeed, the DTB file is required to load recent versions of GRUB (2.04) correctly. Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
-rw-r--r--configs/vexpress_ca9x4_defconfig2
-rw-r--r--include/configs/vexpress_common.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/configs/vexpress_ca9x4_defconfig b/configs/vexpress_ca9x4_defconfig
index 2119df6b10..6bd1f253b6 100644
--- a/configs/vexpress_ca9x4_defconfig
+++ b/configs/vexpress_ca9x4_defconfig
@@ -34,4 +34,4 @@ CONFIG_SMC911X_32_BIT=y
CONFIG_BAUDRATE=38400
CONFIG_CONS_INDEX=0
CONFIG_OF_LIBFDT=y
-# CONFIG_EFI_LOADER is not set
+CONFIG_DEFAULT_FDT_FILE="vexpress-v2p-ca9.dtb"
diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h
index 7f215a6707..e73658a9e6 100644
--- a/include/configs/vexpress_common.h
+++ b/include/configs/vexpress_common.h
@@ -207,7 +207,8 @@
"devtmpfs.mount=0 vmalloc=256M\0" \
"bootflash=run flashargs; " \
"cp ${ramdisk_addr} ${ramdisk_addr_r} ${maxramdisk}; " \
- "bootm ${kernel_addr} ${ramdisk_addr_r}\0"
+ "bootm ${kernel_addr} ${ramdisk_addr_r}\0" \
+ "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0"
/* FLASH and environment organization */
#define PHYS_FLASH_SIZE 0x04000000 /* 64MB */