ARM: dts: imx31: Fix memory node duplication
authorFabio Estevam <festevam@gmail.com>
Tue, 6 Nov 2018 15:40:45 +0000 (13:40 -0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 10 Dec 2018 02:02:11 +0000 (10:02 +0800)
commit013d37e4707e24c7b9bc3fc55aeda55ce9c2b262
tree62d91d9c5f1e81f6167e5a69b3e44ef41ef9199b
parentd2cf9fd301538267015fdb6a5494da0cc8979868
ARM: dts: imx31: Fix memory node duplication

Boards based on imx31 have duplicate memory nodes:

- One coming from the board dts file: memory@

- One coming from the imx31.dtsi file.

Fix the duplication by removing the memory node from the dtsi file
and by adding 'device_type = "memory";' in the board dts.

Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
Tested-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx31-bug.dts
arch/arm/boot/dts/imx31-lite.dts
arch/arm/boot/dts/imx31.dtsi