From 98a66ffa3aafd20d38f357d624e470e20fbb1839 Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Mon, 25 Feb 2019 08:15:33 +0000 Subject: [PATCH] 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 Signed-off-by: Anup Patel Reviewed-by: Lukas Auer --- 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 81bc975..156cb94 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.7.4