public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] arm: socfpga: Fix typos in DT files (environmnet -> environment)
@ 2016-04-18 12:22 Stefan Roese
  2016-04-18 12:22 ` [U-Boot] [PATCH 2/2] arm: socfpga: socrates: Add eth0 alias to enable ethernet Stefan Roese
  2016-04-18 13:27 ` [U-Boot] [PATCH 1/2] arm: socfpga: Fix typos in DT files (environmnet -> environment) Marek Vasut
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Roese @ 2016-04-18 12:22 UTC (permalink / raw)
  To: u-boot

Fix a small typo in some of the SoCFPGA dts files that has spread via
copy-and-paste.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Chin Liang See <clsee@altera.com>
---
 arch/arm/dts/socfpga_arria5_socdk.dts    | 2 +-
 arch/arm/dts/socfpga_cyclone5_socdk.dts  | 2 +-
 arch/arm/dts/socfpga_cyclone5_sr1500.dts | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/dts/socfpga_arria5_socdk.dts b/arch/arm/dts/socfpga_arria5_socdk.dts
index 9ac48a1..7265058 100644
--- a/arch/arm/dts/socfpga_arria5_socdk.dts
+++ b/arch/arm/dts/socfpga_arria5_socdk.dts
@@ -21,7 +21,7 @@
 	};
 
 	aliases {
-		/* this allow the ethaddr uboot environmnet variable contents
+		/* this allow the ethaddr uboot environment variable contents
 		 * to be added to the gmac1 device tree blob.
 		 */
 		ethernet0 = &gmac1;
diff --git a/arch/arm/dts/socfpga_cyclone5_socdk.dts b/arch/arm/dts/socfpga_cyclone5_socdk.dts
index da13435..d4df1a1 100644
--- a/arch/arm/dts/socfpga_cyclone5_socdk.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socdk.dts
@@ -21,7 +21,7 @@
 	};
 
 	aliases {
-		/* this allow the ethaddr uboot environmnet variable contents
+		/* this allow the ethaddr uboot environment variable contents
 		 * to be added to the gmac1 device tree blob.
 		 */
 		ethernet0 = &gmac1;
diff --git a/arch/arm/dts/socfpga_cyclone5_sr1500.dts b/arch/arm/dts/socfpga_cyclone5_sr1500.dts
index 32c6aad..739bbb7 100644
--- a/arch/arm/dts/socfpga_cyclone5_sr1500.dts
+++ b/arch/arm/dts/socfpga_cyclone5_sr1500.dts
@@ -16,7 +16,7 @@
 
 	aliases {
 		/*
-		 * This allows the ethaddr uboot environmnet variable
+		 * This allows the ethaddr uboot environment variable
 		 * contents to be added to the gmac1 device tree blob.
 		 */
 		ethernet0 = &gmac1;
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] arm: socfpga: socrates: Add eth0 alias to enable ethernet
  2016-04-18 12:22 [U-Boot] [PATCH 1/2] arm: socfpga: Fix typos in DT files (environmnet -> environment) Stefan Roese
@ 2016-04-18 12:22 ` Stefan Roese
  2016-04-18 13:27   ` Marek Vasut
  2016-04-18 13:27 ` [U-Boot] [PATCH 1/2] arm: socfpga: Fix typos in DT files (environmnet -> environment) Marek Vasut
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Roese @ 2016-04-18 12:22 UTC (permalink / raw)
  To: u-boot

This enables full ethernet usage, including U-Boot to write the board
specific MAC address (ethaddr) into the DT blob before passing it to
Linux.

Without this, the ethaddr is not detected in U-Boot at all, resulting
in this error upon bootup:

...
Model: EBV SOCrates
Net:
Error: ethernet at ff702000 address not set.
No ethernet found.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Chin Liang See <clsee@altera.com>
---
 arch/arm/dts/socfpga_cyclone5_socrates.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index 591d96c..d2ab3b3 100644
--- a/arch/arm/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts
@@ -15,6 +15,11 @@
 	};
 
 	aliases {
+		/*
+		 * This allows the ethaddr uboot environment variable
+		 * contents to be added to the gmac1 device tree blob.
+		 */
+		ethernet0 = &gmac1;
 		udc0 = &usb1;
 	};
 
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 1/2] arm: socfpga: Fix typos in DT files (environmnet -> environment)
  2016-04-18 12:22 [U-Boot] [PATCH 1/2] arm: socfpga: Fix typos in DT files (environmnet -> environment) Stefan Roese
  2016-04-18 12:22 ` [U-Boot] [PATCH 2/2] arm: socfpga: socrates: Add eth0 alias to enable ethernet Stefan Roese
@ 2016-04-18 13:27 ` Marek Vasut
  1 sibling, 0 replies; 4+ messages in thread
From: Marek Vasut @ 2016-04-18 13:27 UTC (permalink / raw)
  To: u-boot

On 04/18/2016 02:22 PM, Stefan Roese wrote:
> Fix a small typo in some of the SoCFPGA dts files that has spread via
> copy-and-paste.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Marek Vasut <marex@denx.de>
> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
> Cc: Chin Liang See <clsee@altera.com>

Acked-by: Marek Vasut <marex@denx.de>

> ---
>  arch/arm/dts/socfpga_arria5_socdk.dts    | 2 +-
>  arch/arm/dts/socfpga_cyclone5_socdk.dts  | 2 +-
>  arch/arm/dts/socfpga_cyclone5_sr1500.dts | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/dts/socfpga_arria5_socdk.dts b/arch/arm/dts/socfpga_arria5_socdk.dts
> index 9ac48a1..7265058 100644
> --- a/arch/arm/dts/socfpga_arria5_socdk.dts
> +++ b/arch/arm/dts/socfpga_arria5_socdk.dts
> @@ -21,7 +21,7 @@
>  	};
>  
>  	aliases {
> -		/* this allow the ethaddr uboot environmnet variable contents
> +		/* this allow the ethaddr uboot environment variable contents
>  		 * to be added to the gmac1 device tree blob.
>  		 */
>  		ethernet0 = &gmac1;
> diff --git a/arch/arm/dts/socfpga_cyclone5_socdk.dts b/arch/arm/dts/socfpga_cyclone5_socdk.dts
> index da13435..d4df1a1 100644
> --- a/arch/arm/dts/socfpga_cyclone5_socdk.dts
> +++ b/arch/arm/dts/socfpga_cyclone5_socdk.dts
> @@ -21,7 +21,7 @@
>  	};
>  
>  	aliases {
> -		/* this allow the ethaddr uboot environmnet variable contents
> +		/* this allow the ethaddr uboot environment variable contents
>  		 * to be added to the gmac1 device tree blob.
>  		 */
>  		ethernet0 = &gmac1;
> diff --git a/arch/arm/dts/socfpga_cyclone5_sr1500.dts b/arch/arm/dts/socfpga_cyclone5_sr1500.dts
> index 32c6aad..739bbb7 100644
> --- a/arch/arm/dts/socfpga_cyclone5_sr1500.dts
> +++ b/arch/arm/dts/socfpga_cyclone5_sr1500.dts
> @@ -16,7 +16,7 @@
>  
>  	aliases {
>  		/*
> -		 * This allows the ethaddr uboot environmnet variable
> +		 * This allows the ethaddr uboot environment variable
>  		 * contents to be added to the gmac1 device tree blob.
>  		 */
>  		ethernet0 = &gmac1;
> 


-- 
Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] arm: socfpga: socrates: Add eth0 alias to enable ethernet
  2016-04-18 12:22 ` [U-Boot] [PATCH 2/2] arm: socfpga: socrates: Add eth0 alias to enable ethernet Stefan Roese
@ 2016-04-18 13:27   ` Marek Vasut
  0 siblings, 0 replies; 4+ messages in thread
From: Marek Vasut @ 2016-04-18 13:27 UTC (permalink / raw)
  To: u-boot

On 04/18/2016 02:22 PM, Stefan Roese wrote:
> This enables full ethernet usage, including U-Boot to write the board
> specific MAC address (ethaddr) into the DT blob before passing it to
> Linux.
> 
> Without this, the ethaddr is not detected in U-Boot at all, resulting
> in this error upon bootup:
> 
> ...
> Model: EBV SOCrates
> Net:
> Error: ethernet at ff702000 address not set.
> No ethernet found.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Marek Vasut <marex@denx.de>
> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
> Cc: Chin Liang See <clsee@altera.com>
> ---
>  arch/arm/dts/socfpga_cyclone5_socrates.dts | 5 +++++
>  1 file changed, 5 insertions(+)

Thanks!

Acked-by: Marek Vasut <marex@denx.de>

> diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts
> index 591d96c..d2ab3b3 100644
> --- a/arch/arm/dts/socfpga_cyclone5_socrates.dts
> +++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts
> @@ -15,6 +15,11 @@
>  	};
>  
>  	aliases {
> +		/*
> +		 * This allows the ethaddr uboot environment variable
> +		 * contents to be added to the gmac1 device tree blob.
> +		 */
> +		ethernet0 = &gmac1;
>  		udc0 = &usb1;
>  	};
>  
> 


-- 
Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-18 13:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-18 12:22 [U-Boot] [PATCH 1/2] arm: socfpga: Fix typos in DT files (environmnet -> environment) Stefan Roese
2016-04-18 12:22 ` [U-Boot] [PATCH 2/2] arm: socfpga: socrates: Add eth0 alias to enable ethernet Stefan Roese
2016-04-18 13:27   ` Marek Vasut
2016-04-18 13:27 ` [U-Boot] [PATCH 1/2] arm: socfpga: Fix typos in DT files (environmnet -> environment) Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox