Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad00e080 authored by Marco Franchi's avatar Marco Franchi Committed by Shawn Guo
Browse files

ARM: dts: imx: Add memory node unit name



Fix the following warnings from dtc by adding the unit name to memory
nodes:

Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name

Converted using the following command:

perl -p0777i -e 's/memory \{\n\t\treg = \<0x+([0-9a-f])/memory\@$1$\0000000 \{\n\t\treg = <0x$1/m' `find ./arch/arm/boot/dts -name "imx*"`

The files below were manually fixed:
-imx1-ads.dts
-imx1-apf9328.dts
-imx6q-pistachio.dts

Signed-off-by: default avatarMarco Franchi <marco.franchi@nxp.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 7f08e6aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
		stdout-path = &uart1;
	};

	memory {
	memory@8000000 {
		reg = <0x08000000 0x04000000>;
	};

+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
		stdout-path = &uart1;
	};

	memory {
	memory@8000000 {
		reg = <0x08000000 0x00800000>;
	};
};
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
	model = "Freescale i.MX23 Evaluation Kit";
	compatible = "fsl,imx23-evk", "fsl,imx23";

	memory {
	memory@40000000 {
		reg = <0x40000000 0x08000000>;
	};

+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
	model = "i.MX23 Olinuxino Low Cost Board";
	compatible = "olimex,imx23-olinuxino", "fsl,imx23";

	memory {
	memory@40000000 {
		reg = <0x40000000 0x04000000>;
	};

+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@
	model = "SanDisk Sansa Fuze+";
	compatible = "sandisk,sansa_fuze_plus", "fsl,imx23";

	memory {
	memory@40000000 {
		reg = <0x40000000 0x04000000>;
	};

Loading