]> git.dujemihanovic.xyz Git - u-boot.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)
commitc544b281cd3e549a4fcbf4ba9a05a5d72c9557dd
tree3c29b7dd267d069dadbe02c1ef8699d80af38055
parentce78c4cd6e8f5cd5e2322a026cc2d333f500781b
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