aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Kbuild.include5
-rw-r--r--scripts/Makefile.extrawarn6
-rw-r--r--scripts/config_whitelist.txt85
3 files changed, 11 insertions, 85 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index 30e6e31..1b62aed 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -172,6 +172,11 @@ ld-version = $(shell $(LD) --version | $(srctree)/scripts/ld-version.sh)
# Usage: $(call ld-ifversion, -ge, 22252, y)
ld-ifversion = $(shell [ $(ld-version) $(1) $(2) ] && echo $(3) || echo $(4))
+# dtc-option
+# Usage: DTC_FLAGS += $(call dtc-option,-Wno-unit_address_vs_reg)
+dtc-option = $(call try-run,\
+ echo '/dts-v1/; / {};' | $(DTC) $(1),$(1),$(2))
+
######
###
diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn
index 6547e57..7b2cffc 100644
--- a/scripts/Makefile.extrawarn
+++ b/scripts/Makefile.extrawarn
@@ -57,4 +57,10 @@ ifeq ("$(strip $(warning))","")
endif
KBUILD_CFLAGS += $(warning)
+
+else
+
+# Disable noisy checks by default
+DTC_FLAGS += $(call dtc-option,-Wno-unit_address_vs_reg)
+
endif
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index eb0fc7c..a62a601 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -141,24 +141,6 @@ CONFIG_ARMV8_SWITCH_TO_EL1
CONFIG_ARM_ARCH_CP15_ERRATA
CONFIG_ARM_ASM_UNIFIED
CONFIG_ARM_DCC
-CONFIG_ARM_ERRATA_430973
-CONFIG_ARM_ERRATA_454179
-CONFIG_ARM_ERRATA_621766
-CONFIG_ARM_ERRATA_716044
-CONFIG_ARM_ERRATA_742230
-CONFIG_ARM_ERRATA_743622
-CONFIG_ARM_ERRATA_751472
-CONFIG_ARM_ERRATA_761320
-CONFIG_ARM_ERRATA_773022
-CONFIG_ARM_ERRATA_774769
-CONFIG_ARM_ERRATA_794072
-CONFIG_ARM_ERRATA_798870
-CONFIG_ARM_ERRATA_801819
-CONFIG_ARM_ERRATA_826974
-CONFIG_ARM_ERRATA_828024
-CONFIG_ARM_ERRATA_829520
-CONFIG_ARM_ERRATA_833069
-CONFIG_ARM_ERRATA_833471
CONFIG_ARM_FREQ
CONFIG_ARM_GIC_BASE_ADDRESS
CONFIG_ARM_PL180_MMCI
@@ -294,7 +276,6 @@ CONFIG_BFIN_SPI_IMG_SIZE
CONFIG_BFIN_TRUE_IDE
CONFIG_BFIN_WATCHDOG
CONFIG_BIOSEMU
-CONFIG_BITBANGMII
CONFIG_BITBANGMII_MULTI
CONFIG_BKUP_FLASH
CONFIG_BL1_OFFSET
@@ -312,7 +293,6 @@ CONFIG_BOARDNAME_LOCAL
CONFIG_BOARD_AXM
CONFIG_BOARD_BOOTCMD
CONFIG_BOARD_COMMON
-CONFIG_BOARD_EARLY_INIT_F
CONFIG_BOARD_EARLY_INIT_R
CONFIG_BOARD_ECC_SUPPORT
CONFIG_BOARD_EMAC_COUNT
@@ -320,7 +300,6 @@ CONFIG_BOARD_H2200
CONFIG_BOARD_IS_OPENRD_BASE
CONFIG_BOARD_IS_OPENRD_CLIENT
CONFIG_BOARD_IS_OPENRD_ULTIMATE
-CONFIG_BOARD_LATE_INIT
CONFIG_BOARD_MEM_LIMIT
CONFIG_BOARD_NAME
CONFIG_BOARD_POSTCLK_INIT
@@ -442,7 +421,6 @@ CONFIG_CF_V4E
CONFIG_CGU_CTL_VAL
CONFIG_CGU_DIV_VAL
CONFIG_CHAIN_BOOT_CMD
-CONFIG_CHAIN_OF_TRUST
CONFIG_CHARON
CONFIG_CHIP_SELECTS_PER_CTRL
CONFIG_CHIP_SELECT_QUAD_CAPABLE
@@ -512,7 +490,6 @@ CONFIG_CMD_FPGA_LOADMK
CONFIG_CMD_FPGA_LOADP
CONFIG_CMD_FUSE
CONFIG_CMD_GETTIME
-CONFIG_CMD_GPT
CONFIG_CMD_GSC
CONFIG_CMD_HASH
CONFIG_CMD_HD44760
@@ -543,7 +520,6 @@ CONFIG_CMD_NAND_TORTURE
CONFIG_CMD_NAND_TRIMFFS
CONFIG_CMD_ONENAND
CONFIG_CMD_OTP
-CONFIG_CMD_PART
CONFIG_CMD_PCA953X
CONFIG_CMD_PCA953X_INFO
CONFIG_CMD_PCI
@@ -575,7 +551,6 @@ CONFIG_CMD_TRACE
CONFIG_CMD_TSI148
CONFIG_CMD_UBIFS
CONFIG_CMD_UNIVERSE
-CONFIG_CMD_UNZIP
CONFIG_CMD_USB_STORAGE
CONFIG_CMD_UUID
CONFIG_CMD_ZBOOT
@@ -689,8 +664,6 @@ CONFIG_DA850_LOWLEVEL
CONFIG_DA8XX_GPIO
CONFIG_DASA_SIM
CONFIG_DATA
-CONFIG_DAVINCI_MMC
-CONFIG_DAVINCI_MMC_SD1
CONFIG_DAVINCI_SPI
CONFIG_DBAU1000
CONFIG_DBAU1X00
@@ -875,7 +848,6 @@ CONFIG_DWCDDR21MCTL_BASE
CONFIG_DWC_AHSATA
CONFIG_DWC_AHSATA_BASE_ADDR
CONFIG_DWC_AHSATA_PORT_ID
-CONFIG_DWMMC
CONFIG_DW_ALTDESCRIPTOR
CONFIG_DW_AXI_BURST_LEN
CONFIG_DW_GMAC_DEFAULT_DMA_PBL
@@ -951,7 +923,6 @@ CONFIG_EMU
CONFIG_ENABLE_36BIT_PHYS
CONFIG_ENABLE_MMU
CONFIG_ENABLE_MUST_CHECK
-CONFIG_ENABLE_VBOOT
CONFIG_ENABLE_WARN_DEPRECATED
CONFIG_ENC_SILENTLINK
CONFIG_ENV_ACCESS_IGNORE_FORCE
@@ -1085,7 +1056,6 @@ CONFIG_EXYNOS5_DT
CONFIG_EXYNOS7420
CONFIG_EXYNOS_ACE_SHA
CONFIG_EXYNOS_DP
-CONFIG_EXYNOS_DWMMC
CONFIG_EXYNOS_FB
CONFIG_EXYNOS_MIPI_DSIM
CONFIG_EXYNOS_RELOCATE_CODE_BASE
@@ -1179,7 +1149,6 @@ CONFIG_FSL_DIU_CH7301
CONFIG_FSL_DIU_FB
CONFIG_FSL_DMA
CONFIG_FSL_DSPI1
-CONFIG_FSL_ELBC
CONFIG_FSL_ESDHC
CONFIG_FSL_ESDHC_ADAPTER_IDENT
CONFIG_FSL_ESDHC_PIN_MUX
@@ -1188,14 +1157,12 @@ CONFIG_FSL_FIXED_MMC_LOCATION
CONFIG_FSL_FM_10GEC_REGULAR_NOTATION
CONFIG_FSL_I2C_CUSTOM_DFSR
CONFIG_FSL_I2C_CUSTOM_FDR
-CONFIG_FSL_IFC
CONFIG_FSL_IIM
CONFIG_FSL_ISBC_KEY_EXT
CONFIG_FSL_LAYERSCAPE
CONFIG_FSL_LBC
CONFIG_FSL_LINFLEXUART
CONFIG_FSL_MC9SDZ60
-CONFIG_FSL_MC_ENET
CONFIG_FSL_MEMAC
CONFIG_FSL_NFC_CHIPS
CONFIG_FSL_NFC_SPARE_SIZE
@@ -1273,7 +1240,6 @@ CONFIG_FTSDC010_BASE
CONFIG_FTSDC010_BASE_LIST
CONFIG_FTSDC010_NUMBER
CONFIG_FTSDC010_SDIO
-CONFIG_FTSDC021_CLOCK
CONFIG_FTSDMC021
CONFIG_FTSDMC021_BASE
CONFIG_FTSMC020
@@ -1352,7 +1318,6 @@ CONFIG_HDMI_ENCODER_I2C_ADDR
CONFIG_HETROGENOUS_CLUSTERS
CONFIG_HIDE_LOGO_VERSION
CONFIG_HIGH_BATS
-CONFIG_HIKEY_DWMMC
CONFIG_HIKEY_GPIO
CONFIG_HIS_DRIVER
CONFIG_HITACHI_SP19X001_Z1A
@@ -1565,7 +1530,6 @@ CONFIG_IFM_SENSOR_TYPE
CONFIG_IMA
CONFIG_IMAGE_FORMAT_LEGACY
CONFIG_IMX
-CONFIG_IMX31_PHYCORE_EET
CONFIG_IMX6_PWM_PER_CLK
CONFIG_IMX_HDMI
CONFIG_IMX_NAND
@@ -1869,7 +1833,6 @@ CONFIG_M88E1111_DISABLE_FIBER
CONFIG_M88E1111_PHY
CONFIG_M88E1112_PHY
CONFIG_M88E1141_PHY
-CONFIG_MACB
CONFIG_MACB0_PHY
CONFIG_MACB1_PHY
CONFIG_MACB2_PHY
@@ -1963,10 +1926,8 @@ CONFIG_MMC_SPI
CONFIG_MMC_SPI_BUS
CONFIG_MMC_SPI_CRC_ON
CONFIG_MMC_SPI_CS
-CONFIG_MMC_SPI_CS_EPGIO
CONFIG_MMC_SPI_MODE
CONFIG_MMC_SPI_SPEED
-CONFIG_MMC_SUNXI
CONFIG_MMC_SUNXI_SLOT
CONFIG_MMC_TRACE
CONFIG_MMU
@@ -2071,8 +2032,6 @@ CONFIG_MUNICES
CONFIG_MUSB_HOST
CONFIG_MV88E61XX_CPU_PORT
CONFIG_MV88E61XX_PHY_PORTS
-CONFIG_MV88E61XX_SWITCH
-CONFIG_MV88E6352_SWITCH
CONFIG_MVEBU_MMC
CONFIG_MVGBE
CONFIG_MVGBE_PORTS
@@ -2108,7 +2067,6 @@ CONFIG_MXC_EPDC
CONFIG_MXC_GPIO
CONFIG_MXC_GPT_HCLK
CONFIG_MXC_MCI_REGS_BASE
-CONFIG_MXC_MMC
CONFIG_MXC_NAND_HWECC
CONFIG_MXC_NAND_IP_REGS_BASE
CONFIG_MXC_NAND_REGS_BASE
@@ -2121,7 +2079,6 @@ CONFIG_MXS
CONFIG_MXS_AUART
CONFIG_MXS_AUART_BASE
CONFIG_MXS_GPIO
-CONFIG_MXS_MMC
CONFIG_MXS_OCOTP
CONFIG_MXS_SPI
CONFIG_MX_CYCLIC
@@ -2230,12 +2187,10 @@ CONFIG_OMAP3_RX51
CONFIG_OMAP3_SPI_D0_D1_SWAPPED
CONFIG_OMAP3_ZOOM1
CONFIG_OMAP4430
-CONFIG_OMAP54X
CONFIG_OMAP_EHCI_PHY1_RESET_GPIO
CONFIG_OMAP_EHCI_PHY2_RESET_GPIO
CONFIG_OMAP_EHCI_PHY3_RESET_GPIO
CONFIG_OMAP_GPIO
-CONFIG_OMAP_HSMMC
CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC
CONFIG_OMAP_USB2PHY2_HOST
CONFIG_OMAP_USB3PHY1_HOST
@@ -2278,7 +2233,6 @@ CONFIG_PCIE4
CONFIG_PCIE_IMX
CONFIG_PCIE_IMX_PERST_GPIO
CONFIG_PCIE_IMX_POWER_GPIO
-CONFIG_PCIE_LAYERSCAPE
CONFIG_PCISLAVE
CONFIG_PCIX_CHECK
CONFIG_PCI_33M
@@ -2337,45 +2291,28 @@ CONFIG_PHY1_ADDR
CONFIG_PHY2_ADDR
CONFIG_PHY3_ADDR
CONFIG_PHYCORE_MPC5200B_TINY
-CONFIG_PHYLIB_10G
CONFIG_PHYSMEM
CONFIG_PHY_ADDR
-CONFIG_PHY_AQUANTIA
-CONFIG_PHY_ATHEROS
CONFIG_PHY_BASE_ADR
CONFIG_PHY_BCM5421S
-CONFIG_PHY_BROADCOM
CONFIG_PHY_CLK_FREQ
CONFIG_PHY_CLOCK_FREQ
CONFIG_PHY_CMD_DELAY
-CONFIG_PHY_CORTINA
-CONFIG_PHY_DAVICOM
CONFIG_PHY_DYNAMIC_ANEG
-CONFIG_PHY_ET1011C
CONFIG_PHY_ET1011C_TX_CLK_FIX
CONFIG_PHY_GIGE
CONFIG_PHY_ID
CONFIG_PHY_INTERFACE_MODE
CONFIG_PHY_IRAM_BASE
CONFIG_PHY_KSZ9031
-CONFIG_PHY_LXT
CONFIG_PHY_M88E1111
-CONFIG_PHY_MARVELL
CONFIG_PHY_MAX_ADDR
-CONFIG_PHY_MICREL
CONFIG_PHY_MICREL_KSZ9021
CONFIG_PHY_MICREL_KSZ9031
CONFIG_PHY_MODE_NEED_CHANGE
-CONFIG_PHY_NATSEMI
-CONFIG_PHY_REALTEK
CONFIG_PHY_RESET
CONFIG_PHY_RESET_DELAY
-CONFIG_PHY_SMSC
-CONFIG_PHY_TERANETICS
-CONFIG_PHY_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