[U-Boot] [PATCH] x86: cherryhill: Fix DTC warning

Bin Meng bmeng.cn at gmail.com
Wed Jun 13 03:01:14 UTC 2018


Fix warning when compiling cherryhill.dts with latest DTC:

  "Warning (avoid_unnecessary_addr_size): /pci/pch at 1f,0: unnecessary
   #address-cells/#size-cells without "ranges" or child "reg" property"

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 arch/x86/dts/cherryhill.dts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/x86/dts/cherryhill.dts b/arch/x86/dts/cherryhill.dts
index c3a6aad..3e29683 100644
--- a/arch/x86/dts/cherryhill.dts
+++ b/arch/x86/dts/cherryhill.dts
@@ -75,8 +75,6 @@
 		pch at 1f,0 {
 			reg = <0x0000f800 0 0 0 0>;
 			compatible = "intel,pch9";
-			#address-cells = <1>;
-			#size-cells = <1>;
 
 			irq-router {
 				compatible = "intel,irq-router";
-- 
2.7.4



More information about the U-Boot mailing list