]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun4i: Remove skeleton and memory to avoid warnings
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 5 Oct 2017 10:49:42 +0000 (12:49 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 9 Oct 2017 08:50:26 +0000 (10:50 +0200)
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.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10.dtsi

index afa2e924b646020e2bde89b67b053e5a527acb3d..54303dd3a3103c647e56ca06e6b529ba384d1adb 100644 (file)
  *     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 @@ cpu_crit: cpu-crit {
                };
        };
 
-       memory {
-               reg = <0x40000000 0x80000000>;
-       };
-
        clocks {
                #address-cells = <1>;
                #size-cells = <1>;