diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-29 13:15:57 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-30 07:38:56 +0200 |
commit | 0d26ce1c11a14fb844f8ed0fb5069c903a0b2185 (patch) | |
tree | 55668724499662bc38759f3cb20809de50cb7825 /arch | |
parent | 15d46bac2280def447c7fd74686d44d938c24556 (diff) | |
download | barebox-0d26ce1c11a14fb844f8ed0fb5069c903a0b2185.tar.gz barebox-0d26ce1c11a14fb844f8ed0fb5069c903a0b2185.tar.xz |
ARM: Phytec phyFLEX i.MX6: delete wrong memory node
The phyFLEX i.MX6 has two memory nodes in the device tree. /memory comes
from the barebox dtsi file and contains dummy values. This is
unnecessary, barebox will create a memory node when booting the kernel.
The other one comes from the Kernel dtsi and causes more harm. The
memory in the node has a size of 2GiB. Not all boards have so much
memory, since 8226f7f909 ("of: base: parse all available memory nodes")
this node is no longer ignored and now all boards are assumed to have
2GiB of memory. Remove the node using /delete-node/
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Stefan Riedmüller <s.riedmueller@phytec.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi index 841ad653b2..3cb8b3782a 100644 --- a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi @@ -12,10 +12,7 @@ #include <arm/imx6qdl-phytec-pfla02.dtsi> / { - memory { - /* let barebox fill the memory node */ - reg = <0 0>; - }; + /delete-node/ memory@10000000; chosen { environment-nand { |