aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnup Patel2019-02-25 08:15:33 +0000
committerAndes2019-02-27 09:12:34 +0800
commit98a66ffa3aafd20d38f357d624e470e20fbb1839 (patch)
tree31ca1a69df593a7b4ae14dad2def1a48fcc9d91b
parent8ad2104589f40ce351fffc5703e223964fb0fe25 (diff)
riscv: Enable CONFIG_SYS_BOOT_RAMDISK_HIGH for using initrd
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>
-rw-r--r--arch/riscv/include/asm/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/config.h b/arch/riscv/include/asm/config.h
index 81bc975d2e8..156cb94dc04 100644
--- a/arch/riscv/include/asm/config.h
+++ b/arch/riscv/include/asm/config.h
@@ -8,5 +8,6 @@
#define _ASM_CONFIG_H_
#define CONFIG_LMB
+#define CONFIG_SYS_BOOT_RAMDISK_HIGH
#endif