aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>2021-07-12 20:19:04 +0530
committerMichal Simek <michal.simek@xilinx.com>2021-07-26 09:18:45 +0200
commit3965d13f933d5aa670f833eb9584f119e4a11d62 (patch)
tree08cec63dc46089e4f18dd45472dd5768b0d457c3
parent9ca09621760453dc452244498fdbcd52e3e2f71d (diff)
downloadu-boot-3965d13f933d5aa670f833eb9584f119e4a11d62.zip
u-boot-3965d13f933d5aa670f833eb9584f119e4a11d62.tar.gz
u-boot-3965d13f933d5aa670f833eb9584f119e4a11d62.tar.bz2
xilinx: Define kernel_comp_addr_r,kernel_comp_size env variables
Add kernel_comp_addr_r, kernel_comp_size env variables for zynqmp and versal to be able to use the compressed kernel Image(.gz,.bz2,.lzma,.lzo) using booti command. Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--include/configs/xilinx_versal.h2
-rw-r--r--include/configs/xilinx_zynqmp.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/xilinx_versal.h b/include/configs/xilinx_versal.h
index 15a9db2..62680ad 100644
--- a/include/configs/xilinx_versal.h
+++ b/include/configs/xilinx_versal.h
@@ -65,6 +65,8 @@
"pxefile_addr_r=0x10000000\0" \
"kernel_addr_r=0x18000000\0" \
"kernel_size_r=0x10000000\0" \
+ "kernel_comp_addr_r=0x30000000\0" \
+ "kernel_comp_size=0x3C00000\0" \
"scriptaddr=0x20000000\0" \
"ramdisk_addr_r=0x02100000\0" \
"script_size_f=0x80000\0"
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index bfe8a20..262154c 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -89,6 +89,8 @@
"pxefile_addr_r=0x10000000\0" \
"kernel_addr_r=0x18000000\0" \
"kernel_size_r=0x10000000\0" \
+ "kernel_comp_addr_r=0x30000000\0" \
+ "kernel_comp_size=0x3C00000\0" \
"scriptaddr=0x20000000\0" \
"ramdisk_addr_r=0x02100000\0" \
"script_size_f=0x80000\0" \