linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/9] ARM: dts: imx1: Remove skeleton.dtsi
@ 2016-09-06 15:53 Fabio Estevam
  2016-09-06 15:53 ` [PATCH 2/9] ARM: dts: imx1: Fix memory node build warnings with W=1 Fabio Estevam
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Fabio Estevam @ 2016-09-06 15:53 UTC (permalink / raw)
  To: linux-arm-kernel

The inclusion of skeleton.dtsi causes the following build warning:

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

Instead of fixing skeleton.dtsi, just add the top level definitions
for address-cells and size-cell and remove its inclusion.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 arch/arm/boot/dts/imx1.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx1.dtsi b/arch/arm/boot/dts/imx1.dtsi
index 22f5d1d..b792eee 100644
--- a/arch/arm/boot/dts/imx1.dtsi
+++ b/arch/arm/boot/dts/imx1.dtsi
@@ -9,7 +9,6 @@
  * http://www.gnu.org/copyleft/gpl.html
  */
 
-#include "skeleton.dtsi"
 #include "imx1-pinfunc.h"
 
 #include <dt-bindings/clock/imx1-clock.h>
@@ -17,6 +16,9 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 
 / {
+	#address-cells = <1>;
+	#size-cells = <1>;
+
 	aliases {
 		gpio0 = &gpio1;
 		gpio1 = &gpio2;
-- 
1.9.

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-11-07  1:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-06 15:53 [PATCH 1/9] ARM: dts: imx1: Remove skeleton.dtsi Fabio Estevam
2016-09-06 15:53 ` [PATCH 2/9] ARM: dts: imx1: Fix memory node build warnings with W=1 Fabio Estevam
2016-09-06 15:53 ` [PATCH 3/9] ARM: dts: imx1: Fix cpu " Fabio Estevam
2016-09-06 15:53 ` [PATCH 4/9] ARM: dts: imx25: Remove skeleton.dtsi Fabio Estevam
2016-09-06 15:53 ` [PATCH 5/9] ARM: dts: imx25: Fix memory node build warnings with W=1 Fabio Estevam
2016-09-06 15:53 ` [PATCH 6/9] ARM: dts: imx27: Remove skeleton.dtsi Fabio Estevam
2016-09-06 15:53 ` [PATCH 7/9] ARM: dts: imx27: Fix cpu node build warnings with W=1 Fabio Estevam
2016-09-06 15:53 ` [PATCH 8/9] ARM: dts: imx27: Fix memory " Fabio Estevam
2016-09-06 15:53 ` Fabio Estevam
2016-09-06 15:53 ` [PATCH 9/9] ARM: dts: imx27-eukrea-mbimxsd27-baseboard: Fix ads7846 node build warning " Fabio Estevam
2016-11-05 19:35 ` [PATCH 1/9] ARM: dts: imx1: Remove skeleton.dtsi Fabio Estevam
2016-11-07  1:10   ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).