diff mbox series

[U-Boot,2/4] arm64: a37xx: add distro compatible env vars

Message ID 20171202094637.17009-3-a.heider@gmail.com
State Accepted
Commit e1489ba89d4df187aed7e176227f47412c583002
Delegated to: Stefan Roese
Headers show
Series [U-Boot,1/4] arm64: a37xx: use disto defaults | expand

Commit Message

Andre Heider Dec. 2, 2017, 9:46 a.m. UTC
the values of dt_addr_r/kernel_addr_r/ramdisk_addr_r are taken from
the downstream 'u-boot-2017.03-armada-17.10' release.

the chosen values of scriptaddr and pxefile_addr_r are below fdt_addr_r,
in 1MB steps.

Signed-off-by: Andre Heider <a.heider@gmail.com>
---
 include/configs/mvebu_armada-37xx.h | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Kostya Porotchkin Dec. 14, 2017, 10:59 a.m. UTC | #1
> -----Original Message-----
> From: Andre Heider [mailto:a.heider@gmail.com]
> Sent: Saturday, December 02, 2017 11:47
> To: u-boot@lists.denx.de
> Cc: Stefan Roese; Kostya Porotchkin
> Subject: [EXT] [PATCH 2/4] arm64: a37xx: add distro compatible env vars
> 
> External Email
> 
> ----------------------------------------------------------------------
> the values of dt_addr_r/kernel_addr_r/ramdisk_addr_r are taken from the
> downstream 'u-boot-2017.03-armada-17.10' release.
> 
> the chosen values of scriptaddr and pxefile_addr_r are below fdt_addr_r,
> in 1MB steps.
> 
> Signed-off-by: Andre Heider <a.heider@gmail.com>
> ---
>  include/configs/mvebu_armada-37xx.h | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/include/configs/mvebu_armada-37xx.h
> b/include/configs/mvebu_armada-37xx.h
> index 3e1ff02ed7..383e6dfaf4 100644
> --- a/include/configs/mvebu_armada-37xx.h
> +++ b/include/configs/mvebu_armada-37xx.h
> @@ -108,4 +108,11 @@
> 
>  #include <config_distro_defaults.h>
> 
> +#define CONFIG_EXTRA_ENV_SETTINGS	\
> +	"scriptaddr=0x4d00000\0"	\
> +	"pxefile_addr_r=0x4e00000\0"	\
> +	"fdt_addr_r=0x4f00000\0"	\
> +	"kernel_addr_r=0x5000000\0"	\
> +	"ramdisk_addr_r=0x8000000"
> +
>  #endif /* _CONFIG_MVEBU_ARMADA_37XX_H */
> --
> 2.15.1
Reviewed-by: Konstantin Porotchkin <kostap@marvell.com>
Stefan Roese Jan. 10, 2018, 11:32 a.m. UTC | #2
On 02.12.2017 10:46, Andre Heider wrote:
> the values of dt_addr_r/kernel_addr_r/ramdisk_addr_r are taken from
> the downstream 'u-boot-2017.03-armada-17.10' release.
> 
> the chosen values of scriptaddr and pxefile_addr_r are below fdt_addr_r,
> in 1MB steps.
> 
> Signed-off-by: Andre Heider <a.heider@gmail.com>
> ---
>   include/configs/mvebu_armada-37xx.h | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h
> index 3e1ff02ed7..383e6dfaf4 100644
> --- a/include/configs/mvebu_armada-37xx.h
> +++ b/include/configs/mvebu_armada-37xx.h
> @@ -108,4 +108,11 @@
>   
>   #include <config_distro_defaults.h>
>   
> +#define CONFIG_EXTRA_ENV_SETTINGS	\
> +	"scriptaddr=0x4d00000\0"	\
> +	"pxefile_addr_r=0x4e00000\0"	\
> +	"fdt_addr_r=0x4f00000\0"	\
> +	"kernel_addr_r=0x5000000\0"	\
> +	"ramdisk_addr_r=0x8000000"
> +
>   #endif /* _CONFIG_MVEBU_ARMADA_37XX_H */
> 

Applied to u-boot-marvell/master

Thanks,
Stefan
diff mbox series

Patch

diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h
index 3e1ff02ed7..383e6dfaf4 100644
--- a/include/configs/mvebu_armada-37xx.h
+++ b/include/configs/mvebu_armada-37xx.h
@@ -108,4 +108,11 @@ 
 
 #include <config_distro_defaults.h>
 
+#define CONFIG_EXTRA_ENV_SETTINGS	\
+	"scriptaddr=0x4d00000\0"	\
+	"pxefile_addr_r=0x4e00000\0"	\
+	"fdt_addr_r=0x4f00000\0"	\
+	"kernel_addr_r=0x5000000\0"	\
+	"ramdisk_addr_r=0x8000000"
+
 #endif /* _CONFIG_MVEBU_ARMADA_37XX_H */