]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: Enable CONFIG_SYS_BOOT_RAMDISK_HIGH for using initrd
authorAnup Patel <Anup.Patel@wdc.com>
Mon, 25 Feb 2019 08:15:33 +0000 (08:15 +0000)
committerAndes <uboot@andestech.com>
Wed, 27 Feb 2019 01:12:34 +0000 (09:12 +0800)
This patch enables CONFIG_SYS_BOOT_RAMDISK_HIGH for RISC-V
because bootm will update initrd location in DTB only if
CONFIG_SYS_BOOT_RAMDISK_HIGH is enabled. If we don't enable
this option then bootm assumes DTB already has initrd details
which is not the case most of the time.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
arch/riscv/include/asm/config.h

index 81bc975d2e848746823524fb8246e39858cc7b56..156cb94dc04664d816deba7b047857952dad840c 100644 (file)
@@ -8,5 +8,6 @@
 #define _ASM_CONFIG_H_
 
 #define CONFIG_LMB
+#define CONFIG_SYS_BOOT_RAMDISK_HIGH
 
 #endif