[U-Boot] [PATCH v8 15/15] riscv: Enable CONFIG_SYS_BOOT_RAMDISK_HIGH for using initrd
Anup Patel
Anup.Patel at wdc.com
Wed Feb 20 05:48:07 UTC 2019
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 at wdc.com>
Signed-off-by: Anup Patel <anup.patel at wdc.com>
Reviewed-by: Lukas Auer <lukas.auer at aisec.fraunhofer.de>
---
arch/riscv/include/asm/config.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/include/asm/config.h b/arch/riscv/include/asm/config.h
index 81bc975d2e..156cb94dc0 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
--
2.17.1
More information about the U-Boot
mailing list