scripts/Makefile.lib: Restore PCI related warnings to DTC_FLAGS
[oweals/u-boot.git] / scripts / Makefile.lib
index bfb5851e9bfa24462a3e9759f4e7a863483c9e90..a8196678b2e9765fb6abb25d7d9dafa302ae6a9a 100644 (file)
@@ -281,6 +281,10 @@ DTC_FLAGS += -Wno-unit_address_vs_reg \
        -Wno-avoid_unnecessary_addr_size \
        -Wno-alias_paths \
        -Wno-pci_device_reg
+
+# U-Boot specific disables
+DTC_FLAGS += -Wno-pci_bridge \
+        -Wno-pci_device_bus_num
 endif
 
 ifneq ($(findstring 2,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),)