]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3399: Add default env to support compressed kernel Image
authorKever Yang <kever.yang@rock-chips.com>
Sat, 18 Jul 2020 14:45:19 +0000 (22:45 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 22 Jul 2020 12:22:56 +0000 (20:22 +0800)
Add default kernel_comp_addr_r and kernel_comp_size to support boot
from compressed kernel Image, this space is temporarily used during
decompress according to README.distro.

Reported-by: Tian Yuanhao <tianyuanhao@aliyun.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
include/configs/rk3399_common.h

index e63ebb14f72ef78259d9ed5d561c555edc2d3af0..4121d5edc46c61217ec5dce4ab6b7b431dec0af3 100644 (file)
@@ -53,7 +53,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"
 
 #ifndef ROCKCHIP_DEVICE_SETTINGS
 #define ROCKCHIP_DEVICE_SETTINGS