linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: lkundrak@v3.sk (Lubomir Rintel)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: bcm2835: dt: add index to the ethernet alias
Date: Tue, 31 Jan 2017 11:07:23 +0100	[thread overview]
Message-ID: <1485857243.24331.0.camel@v3.sk> (raw)
In-Reply-To: <5942321c5d0bfea54eac64ace2b217e8e0b6220d.1485801879.git.baruch@tkos.co.il>

On Mon, 2017-01-30 at 20:44 +0200, Baruch Siach wrote:
> An alias name should have an index number even when it is the only of
> its type.
> This allows U-Boot to add the local-mac-address property. Otherwise
> U-Boot
> skips the alias.
> 
> Cc: Lubomir Rintel <lkundrak@v3.sk>
> Fixes: 6a93792774 ("ARM: bcm2835: dt: Add the ethernet to the device
> trees")
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Acked-by: Lubomir Rintel <lkundrak@v3.sk>

> ---
> ?arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi | 2 +-
> ?arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi | 2 +-
> ?2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
> b/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
> index 12c981e51134..9a0599f711ff 100644
> --- a/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
> +++ b/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
> @@ -1,6 +1,6 @@
> ?/ {
> ?	aliases {
> -		ethernet = &ethernet;
> +		ethernet0 = &ethernet;
> ?	};
> ?};
> ?
> diff --git a/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
> b/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
> index 3f0a56ebcf1f..dc7ae776db5f 100644
> --- a/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
> +++ b/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
> @@ -1,6 +1,6 @@
> ?/ {
> ?	aliases {
> -		ethernet = &ethernet;
> +		ethernet0 = &ethernet;
> ?	};
> ?};
> ?

  reply	other threads:[~2017-01-31 10:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-30 18:44 [PATCH] ARM: bcm2835: dt: add index to the ethernet alias Baruch Siach
2017-01-31 10:07 ` Lubomir Rintel [this message]
2017-01-31 18:43   ` Eric Anholt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1485857243.24331.0.camel@v3.sk \
    --to=lkundrak@v3.sk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).