]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
include: rk3328: Add default env for compressed kernel images
authorChristopher Obbard <chris.obbard@collabora.com>
Fri, 27 Jan 2023 17:03:56 +0000 (17:03 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 28 Feb 2023 10:07:26 +0000 (18:07 +0800)
Add default memory addresses for kernel_comp_addr_r and kernel_comp_size
to enable booting from a compressed kernel image. This area is temporarily
used to decompress the kernel image on-the-fly.

Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
include/configs/rk3328_common.h

index fadcb93a5f7e1d69bf07ffbd292adfcf05bb5925..24b21c024deee90879892ce366017a7aff6ada86 100644 (file)
@@ -19,7 +19,9 @@
        "pxefile_addr_r=0x00600000\0" \
        "fdt_addr_r=0x01f00000\0" \
        "kernel_addr_r=0x02080000\0" \
-       "ramdisk_addr_r=0x06000000\0"
+       "ramdisk_addr_r=0x06000000\0" \
+       "kernel_comp_addr_r=0x08000000\0" \
+       "kernel_comp_size=0x2000000\0"
 
 #include <config_distro_bootcmd.h>
 #define CFG_EXTRA_ENV_SETTINGS \