[U-Boot] [PATCH 1/3] arm: exynos4: fix warning of dts

Minkyu Kang mk7.kang at samsung.com
Tue Jul 31 07:12:42 UTC 2018


remove this warning: avoid_unnecessary_addr_size

Signed-off-by: Minkyu Kang <mk7.kang at samsung.com>
---
 arch/arm/dts/exynos4210-pinctrl-uboot.dtsi | 4 ----
 arch/arm/dts/exynos4210-universal_c210.dts | 2 --
 arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi | 4 ----
 3 files changed, 10 deletions(-)

diff --git a/arch/arm/dts/exynos4210-pinctrl-uboot.dtsi b/arch/arm/dts/exynos4210-pinctrl-uboot.dtsi
index ba0fd4d..aeeecd6 100644
--- a/arch/arm/dts/exynos4210-pinctrl-uboot.dtsi
+++ b/arch/arm/dts/exynos4210-pinctrl-uboot.dtsi
@@ -7,8 +7,6 @@
 
 /{
 	pinctrl_0: pinctrl at 11400000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
 		compatible = "samsung,exynos4210-pinctrl";
 	};
 
@@ -21,8 +19,6 @@
 	};
 
 	pinctrl_2: pinctrl at 03860000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
 	};
 
 };
diff --git a/arch/arm/dts/exynos4210-universal_c210.dts b/arch/arm/dts/exynos4210-universal_c210.dts
index 59ea5a6..610a8ad 100644
--- a/arch/arm/dts/exynos4210-universal_c210.dts
+++ b/arch/arm/dts/exynos4210-universal_c210.dts
@@ -25,8 +25,6 @@
 		gpio-mosi = <&gpy3 3 0>;
 		gpio-miso = <&gpy3 0 0>;
 		spi-delay-us = <1>;
-		#address-cells = <1>;
-		#size-cells = <0>;
 		cs at 0 {
 		};
 	};
diff --git a/arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi b/arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi
index 7409e76..955e14e 100644
--- a/arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi
+++ b/arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi
@@ -32,13 +32,9 @@
 	};
 
 	pinctrl_2: pinctrl at 03860000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
 	};
 
 	pinctrl_3: pinctrl at 106E0000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
 	};
 
 };
-- 
1.9.1
-- 
Thanks,
Minkyu Kang.


More information about the U-Boot mailing list