Skip to content

Commit 0a699f7

Browse files
agansarigalak
authored andcommitted
boards: suppress dtc simple_bus_reg warning on LPC
LPC SoCs share the same register for all GPIO poarts. This leads us to a device tree configuration that missmatches GPIO register address and GPIO port identifier. Signed-off-by: Andrei Gansari <[email protected]>
1 parent 37af9cb commit 0a699f7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright (c) 2019, NXP
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Suppress "simple_bus_reg" on LPC boards as all GPIO ports use the same register.
5+
list(APPEND EXTRA_DTC_FLAGS "-Wno-simple_bus_reg")
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright (c) 2019, NXP
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Suppress "simple_bus_reg" on LPC boards as all GPIO ports use the same register.
5+
list(APPEND EXTRA_DTC_FLAGS "-Wno-simple_bus_reg")

0 commit comments

Comments
 (0)