Commit 98a66ffa3aafd20d38f357d624e470e20fbb1839

Authored by Anup Patel
Committed by Andes
1 parent 8ad2104589

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

arch/riscv/include/asm/config.h
... ... @@ -8,6 +8,7 @@
8 8 #define _ASM_CONFIG_H_
9 9  
10 10 #define CONFIG_LMB
  11 +#define CONFIG_SYS_BOOT_RAMDISK_HIGH
11 12  
12 13 #endif