[U-Boot] [PATCH 2/3] arm: exynos5: fix warning of dts

Minkyu Kang mk7.kang at samsung.com
Tue Jul 31 07:13:24 UTC 2018


remove this warning: avoid_unnecessary_addr_size

Signed-off-by: Minkyu Kang <mk7.kang at samsung.com>
---
 arch/arm/dts/exynos5.dtsi                  | 2 --
 arch/arm/dts/exynos5250-pinctrl-uboot.dtsi | 4 ----
 arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi | 8 --------
 3 files changed, 14 deletions(-)

diff --git a/arch/arm/dts/exynos5.dtsi b/arch/arm/dts/exynos5.dtsi
index 6102978..cdc965d 100644
--- a/arch/arm/dts/exynos5.dtsi
+++ b/arch/arm/dts/exynos5.dtsi
@@ -147,8 +147,6 @@
 	dp: dp at 145b0000 {
 		compatible = "samsung,exynos5-dp";
 		reg = <0x145b0000 0x1000>;
-		#address-cells = <1>;
-		#size-cells = <1>;
 	};
 
 	xhci0: xhci at 12000000 {
diff --git a/arch/arm/dts/exynos5250-pinctrl-uboot.dtsi b/arch/arm/dts/exynos5250-pinctrl-uboot.dtsi
index f19ce47..b414805 100644
--- a/arch/arm/dts/exynos5250-pinctrl-uboot.dtsi
+++ b/arch/arm/dts/exynos5250-pinctrl-uboot.dtsi
@@ -18,8 +18,6 @@
 	};
 
 	pinctrl_1: pinctrl at 13400000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
 	};
 
 	pinctrl_2: pinctrl at 10d10000 {
@@ -34,8 +32,6 @@
 	};
 
 	pinctrl_3: pinctrl at 03860000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
 	};
 
 };
diff --git a/arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi b/arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi
index 7265387..4fcbe71 100644
--- a/arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi
+++ b/arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi
@@ -12,8 +12,6 @@
 	 * numbers are not needed in U-Boot for exynos.
 	 */
 	pinctrl at 14010000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
 	};
 	pinctrl at 13400000 {
 		#address-cells = <1>;
@@ -26,16 +24,10 @@
 		};
 	};
 	pinctrl at 13410000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
 	};
 	pinctrl at 14000000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
 	};
 	pinctrl at 03860000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
 	};
 
 };
-- 
1.9.1

-- 
Thanks,
Minkyu Kang.


More information about the U-Boot mailing list