]> git.baikalelectronics.ru Git - uboot.git/commit
riscv: qemu: Set kernel_comp_addr_r for compressed kernel
authorBin Meng <bmeng.cn@gmail.com>
Tue, 24 May 2022 04:31:14 +0000 (12:31 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 26 May 2022 10:42:34 +0000 (18:42 +0800)
commit3179fc0eb3a8f9f43f839362e0e483fa03f84215
tree3c29b7dd267d069dadbe02c1ef8699d80af38055
parentef99a4e4f2c1e48a3d4b8f38355c855d8d202679
riscv: qemu: Set kernel_comp_addr_r for compressed kernel

Set kernel_comp_addr_r and kernel_comp_size for compressed kernel.
Adjust existing addresses for ramdisk, so that kernel_comp_addr_r
comes before the ramdisk image, since the decompressed kernel size
is known to us. This way we can allow big ramdisk image to be loaded.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
include/configs/qemu-riscv.h