Skip to content

Commit 5455bf4

Browse files
MaureenHelmcfriedt
authored andcommitted
soc: arm: Configure serial driver init priority for NXP SoCs
Configures the default serial driver initialization priority for NXP SoCs to ensure that serial drivers initialize after clock control drivers. Signed-off-by: Maureen Helm <[email protected]>
1 parent c65645c commit 5455bf4

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

soc/arm/nxp_imx/Kconfig.defconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Copyright (c) 2017, NXP
22
# SPDX-License-Identifier: Apache-2.0
33

4+
config SERIAL_INIT_PRIORITY
5+
default 55
6+
depends on SERIAL
7+
48
source "soc/arm/nxp_imx/*/Kconfig.defconfig.series"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3+
config SERIAL_INIT_PRIORITY
4+
default 55
5+
depends on SERIAL
6+
37
source "soc/arm/nxp_kinetis/*/Kconfig.defconfig.series"

soc/arm/nxp_lpc/Kconfig.defconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ config SPI_MCUX_FLEXCOMM
1414
config CLOCK_CONTROL_MCUX_SYSCON
1515
default y if HAS_MCUX_SYSCON
1616
depends on CLOCK_CONTROL
17+
18+
config SERIAL_INIT_PRIORITY
19+
default 55
20+
depends on SERIAL

0 commit comments

Comments
 (0)