scripts/Makefile.lib: Restore PCI related warnings to DTC_FLAGS
authorTom Rini <trini@konsulko.com>
Mon, 24 Feb 2020 17:50:34 +0000 (12:50 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 16 Mar 2020 16:49:09 +0000 (12:49 -0400)
While we are working on correcting usage related to the pci_bridge and
pci_device_bus_num warnings, disable these flags for now.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
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)),)