A number of SoCs have overlapping devices at the same unit address. Surpress the warning for those cases: * Atmel - pinmux@41004400 & gpio@41004400 * Atmel - pinmux@41004480 & gpio@41004480 * Atmel - pinmux@41008000 & gpio@41008000 * NXP - flash@0 & gpio@0 * NXP - syscon@0 & gpio@0 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
10 lines
374 B
CMake
10 lines
374 B
CMake
# Copyright (c) 2019, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Suppress DTC warnings due to all GPIO nodes sharing the same register address.
|
|
list(APPEND EXTRA_DTC_FLAGS "-Wno-simple_bus_reg")
|
|
|
|
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
|
|
# - /soc/flash@0 & /soc/gpio@0
|
|
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
|