Setting initrd_high to all ones tells U-Boot not to copy the initrd at all, so it stays wherever it was loaded and the user has to make sure it does not overlap anything else. checkpatch rejects new settings like this, which the next patch would otherwise add when moving the environment into a .env file.
Nothing on the QEMU virt machine needs the initrd to stay in place, so drop the setting and let U-Boot copy the initrd as usual. Signed-off-by: Hung-Chun Tseng <[email protected]> --- include/configs/qemu-riscv.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h index dad59cc0d..63078ee41 100644 --- a/include/configs/qemu-riscv.h +++ b/include/configs/qemu-riscv.h @@ -32,7 +32,6 @@ #define CFG_EXTRA_ENV_SETTINGS \ CFG_STD_DEVICES_SETTINGS \ - "initrd_high=0xffffffffffffffff\0" \ "kernel_addr_r=0x84000000\0" \ "kernel_comp_addr_r=0x88000000\0" \ "kernel_comp_size=0x4000000\0" \ -- 2.43.0
