scripts: Silence all dtc warnings seen with Samsung DTS
authorBruno Martins <bgcngm@gmail.com>
Mon, 30 Nov 2020 12:30:21 +0000 (12:30 +0000)
committerStricted <info@stricted.net>
Fri, 21 Jan 2022 17:25:00 +0000 (17:25 +0000)
It is insane to fix them all, so just ignore.

If needed, can be re-enabled by building with 'W=1'.

Change-Id: Ic56bc08b255342fc19f5872463552be13375cceb

scripts/Makefile.lib

index 630b6ecef46759e54bff7c30b64d2fbc66a16bb2..4661de07300eac9d6f85703142c92727671210ca 100644 (file)
@@ -275,7 +275,9 @@ DTC_FLAGS += -@
 
 # Disable noisy checks by default
 ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),)
-DTC_FLAGS += -Wno-unit_address_vs_reg
+DTC_FLAGS += -Wno-unit_address_vs_reg \
+       -Wno-avoid_default_addr_size \
+       -Wno-reg_format
 endif
 
 # Generate an assembly file to wrap the output of the device tree compiler