diff options
author | Anup Patel <Anup.Patel@wdc.com> | 2019-02-25 08:15:33 +0000 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2019-02-27 09:12:34 +0800 |
commit | 98a66ffa3aafd20d38f357d624e470e20fbb1839 (patch) | |
tree | 31ca1a69df593a7b4ae14dad2def1a48fcc9d91b /arch/riscv/include/asm | |
parent | 8ad2104589f40ce351fffc5703e223964fb0fe25 (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>
Diffstat (limited to 'arch/riscv/include/asm')
-rw-r--r-- | arch/riscv/include/asm/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |