Patchwork [U-Boot,30/34] zynq-common: Define ethaddr in default env.

login
register
mail settings
Submitter Jagannadha Sutradharudu Teki
Date Nov. 5, 2013, 5:46 p.m.
Message ID <941fe0d7-829e-48a6-b743-6e6ebfbf13c9@CO1EHSMHS011.ehs.local>
Download mbox | patch
Permalink /patch/288617/
State Accepted
Delegated to: Michal Simek
Headers show

Comments

Jagannadha Sutradharudu Teki - Nov. 5, 2013, 5:46 p.m.
Defined default ethaddr for zynq GEM as 00:0a:35:00:01:22

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
---
 include/configs/zynq-common.h | 1 +
 1 file changed, 1 insertion(+)
Tom Rini - Nov. 5, 2013, 7:53 p.m.
On Tue, Nov 05, 2013 at 11:16:51PM +0530, Jagannadha Sutradharudu Teki wrote:

> Defined default ethaddr for zynq GEM as 00:0a:35:00:01:22
> 
> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
> ---
>  include/configs/zynq-common.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
> index 1a907a1..52c6f52 100644
> --- a/include/configs/zynq-common.h
> +++ b/include/configs/zynq-common.h
> @@ -175,6 +175,7 @@
>  
>  /* Default environment */
>  #define CONFIG_EXTRA_ENV_SETTINGS	\
> +	"ethaddr=00:0a:35:00:01:22\0"	\
>  	"fit_image=fit.itb\0"		\
>  	"load_addr=0x2000000\0"		\
>  	"fit_size=0x800000\0"		\

NAK, this simply isn't allowed.

Patch

diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 1a907a1..52c6f52 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -175,6 +175,7 @@ 
 
 /* Default environment */
 #define CONFIG_EXTRA_ENV_SETTINGS	\
+	"ethaddr=00:0a:35:00:01:22\0"	\
 	"fit_image=fit.itb\0"		\
 	"load_addr=0x2000000\0"		\
 	"fit_size=0x800000\0"		\