]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: sifive: unleashed: Set kernel_comp_addr_r for compressed kernel
authorBin Meng <bmeng.cn@gmail.com>
Tue, 24 May 2022 04:31:13 +0000 (12:31 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 26 May 2022 10:42:34 +0000 (18:42 +0800)
commitce78c4cd6e8f5cd5e2322a026cc2d333f500781b
treef7a73f8952853fe2e76748c3fd550939a2430f7c
parentb84d24c3c5963a9fd130c073d504f8d80b5d1a9c
riscv: sifive: unleashed: 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.

Update unleashed.rst to remove the manual environment configuration
for compressed kernel boot.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
doc/board/sifive/unleashed.rst
include/configs/sifive-unleashed.h