diff mbox series

meson64: add kernel compression vars

Message ID 20210527064351.3102968-1-art@khadas.com
State Accepted, archived
Headers show
Series meson64: add kernel compression vars | expand

Commit Message

Art Nikpal May 27, 2021, 6:43 a.m. UTC
make possible to load simple compressed linux kernel for meson64

Signed-off-by: Artem Lapkin <art@khadas.com>
---
 include/configs/meson64.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Neil Armstrong May 27, 2021, 7:46 a.m. UTC | #1
On 27/05/2021 08:43, Artem Lapkin wrote:
> make possible to load simple compressed linux kernel for meson64
> 
> Signed-off-by: Artem Lapkin <art@khadas.com>
> ---
>  include/configs/meson64.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/configs/meson64.h b/include/configs/meson64.h
> index e3d25493..552a08c2 100644
> --- a/include/configs/meson64.h
> +++ b/include/configs/meson64.h
> @@ -113,6 +113,8 @@
>  	"stdin=" STDIN_CFG "\0" \
>  	"stdout=" STDOUT_CFG "\0" \
>  	"stderr=" STDOUT_CFG "\0" \
> +	"kernel_comp_addr_r=0x0d080000\0" \
> +	"kernel_comp_size=0x2000000\0" \
>  	"fdt_addr_r=0x08008000\0" \
>  	"loadaddr=0x01000000\0" \
>  	"scriptaddr=0x08000000\0" \
> 

Looks fine, I'll let other comment on it and apply it if it's ok for everyone

Neil
Neil Armstrong July 27, 2021, 8:31 a.m. UTC | #2
On 27/05/2021 08:43, Artem Lapkin wrote:
> make possible to load simple compressed linux kernel for meson64
> 
> Signed-off-by: Artem Lapkin <art@khadas.com>
> ---
>  include/configs/meson64.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/configs/meson64.h b/include/configs/meson64.h
> index e3d25493..552a08c2 100644
> --- a/include/configs/meson64.h
> +++ b/include/configs/meson64.h
> @@ -113,6 +113,8 @@
>  	"stdin=" STDIN_CFG "\0" \
>  	"stdout=" STDOUT_CFG "\0" \
>  	"stderr=" STDOUT_CFG "\0" \
> +	"kernel_comp_addr_r=0x0d080000\0" \
> +	"kernel_comp_size=0x2000000\0" \
>  	"fdt_addr_r=0x08008000\0" \
>  	"loadaddr=0x01000000\0" \
>  	"scriptaddr=0x08000000\0" \
> 

Applied to u-boot-amlogic,

Thanks,
Neil
diff mbox series

Patch

diff --git a/include/configs/meson64.h b/include/configs/meson64.h
index e3d25493..552a08c2 100644
--- a/include/configs/meson64.h
+++ b/include/configs/meson64.h
@@ -113,6 +113,8 @@ 
 	"stdin=" STDIN_CFG "\0" \
 	"stdout=" STDOUT_CFG "\0" \
 	"stderr=" STDOUT_CFG "\0" \
+	"kernel_comp_addr_r=0x0d080000\0" \
+	"kernel_comp_size=0x2000000\0" \
 	"fdt_addr_r=0x08008000\0" \
 	"loadaddr=0x01000000\0" \
 	"scriptaddr=0x08000000\0" \