All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
To: Nicolas Ferre
	<nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>,
	plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Subject: Re: [PATCH v2 13/13] ARM: at91: dt: remove unit-address part for memory nodes
Date: Tue, 03 Apr 2012 09:39:52 -0600	[thread overview]
Message-ID: <20120403153952.10DB33E04A0@localhost> (raw)
In-Reply-To: <1db62b280314855c35cb7a3188fc9d9cb8501948.1333437885.git.nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>

On Tue,  3 Apr 2012 09:27:54 +0200, Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> wrote:
> From: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
> 
> Having a unit-address different from 0 causes bad memory node detection
> during early_init_dt_scan_memory.

Should be more detailed about the reason why.  The reason is that
these .dts files include skeleton.dtsi which names the memory node
"memory".  The code in this file creates a new memory node and doesn't
modify the old one.

Otherwise;

Acked-by: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>

> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
> Signed-off-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
> Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
> ---
>  arch/arm/boot/dts/at91sam9g20.dtsi     |    2 +-
>  arch/arm/boot/dts/at91sam9g45.dtsi     |    2 +-
>  arch/arm/boot/dts/at91sam9m10g45ek.dts |    2 +-
>  arch/arm/boot/dts/at91sam9x5.dtsi      |    2 +-
>  arch/arm/boot/dts/at91sam9x5cm.dtsi    |    2 +-
>  arch/arm/boot/dts/usb_a9g20.dts        |    2 +-
>  6 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/at91sam9g20.dtsi b/arch/arm/boot/dts/at91sam9g20.dtsi
> index 92f3662..799ad18 100644
> --- a/arch/arm/boot/dts/at91sam9g20.dtsi
> +++ b/arch/arm/boot/dts/at91sam9g20.dtsi
> @@ -35,7 +35,7 @@
>  		};
>  	};
>  
> -	memory@20000000 {
> +	memory {
>  		reg = <0x20000000 0x08000000>;
>  	};
>  
> diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
> index 3d0c32f..9e6eb6e 100644
> --- a/arch/arm/boot/dts/at91sam9g45.dtsi
> +++ b/arch/arm/boot/dts/at91sam9g45.dtsi
> @@ -36,7 +36,7 @@
>  		};
>  	};
>  
> -	memory@70000000 {
> +	memory {
>  		reg = <0x70000000 0x10000000>;
>  	};
>  
> diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts
> index 6abb571..a3633bd 100644
> --- a/arch/arm/boot/dts/at91sam9m10g45ek.dts
> +++ b/arch/arm/boot/dts/at91sam9m10g45ek.dts
> @@ -17,7 +17,7 @@
>  		bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2";
>  	};
>  
> -	memory@70000000 {
> +	memory {
>  		reg = <0x70000000 0x4000000>;
>  	};
>  
> diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
> index 6597177..70ab3a4 100644
> --- a/arch/arm/boot/dts/at91sam9x5.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5.dtsi
> @@ -34,7 +34,7 @@
>  		};
>  	};
>  
> -	memory@20000000 {
> +	memory {
>  		reg = <0x20000000 0x10000000>;
>  	};
>  
> diff --git a/arch/arm/boot/dts/at91sam9x5cm.dtsi b/arch/arm/boot/dts/at91sam9x5cm.dtsi
> index 67936f8..31e7be2 100644
> --- a/arch/arm/boot/dts/at91sam9x5cm.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5cm.dtsi
> @@ -8,7 +8,7 @@
>   */
>  
>  / {
> -	memory@20000000 {
> +	memory {
>  		reg = <0x20000000 0x8000000>;
>  	};
>  
> diff --git a/arch/arm/boot/dts/usb_a9g20.dts b/arch/arm/boot/dts/usb_a9g20.dts
> index 3b3c4e0..7c2399c 100644
> --- a/arch/arm/boot/dts/usb_a9g20.dts
> +++ b/arch/arm/boot/dts/usb_a9g20.dts
> @@ -16,7 +16,7 @@
>  		bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
>  	};
>  
> -	memory@20000000 {
> +	memory {
>  		reg = <0x20000000 0x4000000>;
>  	};
>  
> -- 
> 1.7.9.4
> 
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss

-- 
Grant Likely, B.Sc, P.Eng.
Secret Lab Technologies,Ltd.

  parent reply	other threads:[~2012-04-03 15:39 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03  7:32 [PATCH v2 00/13] at91: 3.4-rc1 fixes Nicolas Ferre
2012-04-03  7:32 ` Nicolas Ferre
     [not found] ` <cover.1333437885.git.nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2012-04-03  7:27   ` [PATCH v2 13/13] ARM: at91: dt: remove unit-address part for memory nodes Nicolas Ferre
2012-04-03  7:32     ` Nicolas Ferre
2012-04-03  7:32     ` Nicolas Ferre
     [not found]     ` <1db62b280314855c35cb7a3188fc9d9cb8501948.1333437885.git.nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2012-04-03 15:39       ` Grant Likely [this message]
2012-04-04 19:17     ` Olof Johansson
2012-04-04 19:17       ` Olof Johansson
2012-04-04 19:17       ` Olof Johansson
2012-04-07  1:43       ` Grant Likely
2012-04-07  1:43         ` Grant Likely
2012-04-03  7:32 ` [PATCH v2 01/13] ARM: at91/at91sam9x5: add clkdev entries for DMA controllers Nicolas Ferre
2012-04-03  7:32   ` Nicolas Ferre
2012-04-03  7:32 ` [PATCH v2 02/13] USB: ohci-at91: fix vbus_pin_active_low handling Nicolas Ferre
2012-04-03  7:32   ` Nicolas Ferre
2012-04-03  7:32 ` [PATCH v2 03/13] ARM: at91/USB host: specify and handle properly vbus_pin_active_low Nicolas Ferre
2012-04-03  7:32   ` Nicolas Ferre
2012-04-03  7:32 ` [PATCH v2 04/13] ARM: at91/dts: USB host vbus is active low Nicolas Ferre
2012-04-03  7:32   ` Nicolas Ferre
2012-04-03  7:32 ` [PATCH v2 05/13] USB: ohci-at91: rework and fix initialization Nicolas Ferre
2012-04-03  7:32   ` Nicolas Ferre
2012-04-03  7:32 ` [PATCH v2 06/13] USB: ohci-at91: change maximum number of ports Nicolas Ferre
2012-04-03  7:32   ` Nicolas Ferre
2012-04-03 14:11   ` Alan Stern
2012-04-03 14:11     ` Alan Stern
2012-04-03 15:04     ` Nicolas Ferre
2012-04-03 15:04       ` Nicolas Ferre
2012-04-03 15:25       ` Alan Stern
2012-04-03 15:25         ` Alan Stern
2012-04-03 15:30         ` [PATCH v3 06/12] " Nicolas Ferre
2012-04-03 15:30           ` Nicolas Ferre
2012-04-04 16:07           ` Alan Stern
2012-04-04 16:07             ` Alan Stern
2012-04-03  7:32 ` [PATCH v2 07/13] USB: ohci-at91: coding style modifications with one-line ifs Nicolas Ferre
2012-04-03  7:32   ` Nicolas Ferre
2012-04-03  7:32 ` [PATCH v2 08/13] USB: ohci-at91: trivial return code name change Nicolas Ferre
2012-04-03  7:32   ` Nicolas Ferre
2012-04-03  7:32 ` [PATCH v2 09/13] ARM: at91/at91sam9x5.dtsi: fix NAND ale/cle in DT file Nicolas Ferre
2012-04-03  7:32   ` Nicolas Ferre
2012-04-03  7:32 ` [PATCH v2 10/13] ARM: at91/NAND DT bindings: add comments Nicolas Ferre
2012-04-03  7:32   ` Nicolas Ferre
2012-04-03  7:32 ` [PATCH v2 11/13] USB: ehci-atmel: add needed of.h header file Nicolas Ferre
2012-04-03  7:32   ` Nicolas Ferre
2012-04-03  7:32 ` [PATCH v2 12/13] ARM: at91: fix check of valid GPIO for SPI and USB Nicolas Ferre
2012-04-03  7:32   ` Nicolas Ferre
2012-04-03 11:55 ` [PATCH v2 00/13] at91: 3.4-rc1 fixes Nicolas Ferre
2012-04-03 11:55   ` Nicolas Ferre

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=20120403153952.10DB33E04A0@localhost \
    --to=grant.likely-s3s/wqlpoipyb63q8fvjnq@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org \
    --cc=plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.