aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristopher Obbard <chris.obbard@collabora.com>2023-01-27 17:03:56 +0000
committerKever Yang <kever.yang@rock-chips.com>2023-02-28 18:07:26 +0800
commit13d819c04a2d30d422867be352ae5c1a79b10f07 (patch)
treee5f1c09f9bd5f177b76aa5b29a22b5d010450616 /include
parent6cd6ed9da516ede3ef3015331e02c0278b68e8d4 (diff)
downloadu-boot-13d819c04a2d30d422867be352ae5c1a79b10f07.zip
u-boot-13d819c04a2d30d422867be352ae5c1a79b10f07.tar.gz
u-boot-13d819c04a2d30d422867be352ae5c1a79b10f07.tar.bz2
include: rk3328: Add default env for compressed kernel images
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/rk3328_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/rk3328_common.h b/include/configs/rk3328_common.h
index fadcb93..24b21c0 100644
--- a/include/configs/rk3328_common.h
+++ b/include/configs/rk3328_common.h
@@ -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 \