[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGb2v66LnQB1jqU5BWNEYjws3YLVBndLf8-ofLE+6JgZ1GtnXA@mail.gmail.com>
Date: Thu, 5 Oct 2017 23:43:53 +0800
From: Chen-Yu Tsai <wens@...e.org>
To: Maxime Ripard <maxime.ripard@...e-electrons.com>
Cc: Chen-Yu Tsai <wens@...e.org>, Mark Rutland <mark.rutland@....com>,
Rob Herring <robh+dt@...nel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 07/20] ARM: dts: sun4i: Remove skeleton and memory to
avoid warnings
On Thu, Oct 5, 2017 at 6:49 PM, Maxime Ripard
<maxime.ripard@...e-electrons.com> wrote:
> Using skeleton.dtsi will create a memory node that will generate a warning
> in DTC. However, that node will be created by the bootloader, so we can
> just remove it entirely in order to remove that warning.
>
> Signed-off-by: Maxime Ripard <maxime.ripard@...e-electrons.com>
> ---
> arch/arm/boot/dts/sun4i-a10.dtsi | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
> index 1876abb62ec7..f64544f615ea 100644
> --- a/arch/arm/boot/dts/sun4i-a10.dtsi
> +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
> @@ -41,14 +41,14 @@
> * OTHER DEALINGS IN THE SOFTWARE.
> */
>
> -#include "skeleton.dtsi"
> -
> #include <dt-bindings/thermal/thermal.h>
> #include <dt-bindings/dma/sun4i-a10.h>
> #include <dt-bindings/clock/sun4i-a10-ccu.h>
> #include <dt-bindings/reset/sun4i-a10-ccu.h>
>
> / {
> + #address-cells = <1>;
> + #size-cells = <1>;
> interrupt-parent = <&intc>;
>
> aliases {
> @@ -160,10 +160,6 @@
> };
> };
>
> - memory {
> - reg = <0x40000000 0x80000000>;
> - };
> -
My only concern (I'm not sure if it's valid or not) is U-boot not being
able to add nodes or properties due to lack of space within the DT
blob. It seemed like a possibility in older versions.
Otherwise,
Acked-by: Chen-Yu Tsai <wens@...e.org>
Powered by blists - more mailing lists