]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed-plametto: Add flash layout and fix memory node
authorJoel Stanley <joel@jms.id.au>
Mon, 11 Dec 2017 02:15:07 +0000 (12:45 +1030)
committerJoel Stanley <joel@jms.id.au>
Thu, 21 Dec 2017 03:33:21 +0000 (14:03 +1030)
The OpenBMC flash layout is used by Palmetto systems.

Add the unit name to the memory node to fix a warning with W=1.

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts

index a8f0c046e83e2717ce298c2f63c257c1b447bad6..4379d09a261f76a036cb77a672d12c2e18ee0cd6 100644 (file)
@@ -12,7 +12,7 @@ chosen {
                bootargs = "console=ttyS4,115200 earlyprintk";
        };
 
-       memory {
+       memory@40000000 {
                reg = <0x40000000 0x20000000>;
        };
 
@@ -34,6 +34,7 @@ flash@0 {
                status = "okay";
                m25p,fast-read;
                label = "bmc";
+#include "openbmc-flash-layout.dtsi"
        };
 };