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 <maureen.helm@intel.com>
This commit is contained in:
Maureen Helm 2021-10-14 11:09:26 -05:00 committed by Anas Nashif
commit 8302e5e21c
3 changed files with 12 additions and 0 deletions

View file

@ -1,4 +1,8 @@
# Copyright (c) 2017, NXP # Copyright (c) 2017, NXP
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
config SERIAL_INIT_PRIORITY
default 55
depends on SERIAL
source "soc/arm/nxp_imx/*/Kconfig.defconfig.series" source "soc/arm/nxp_imx/*/Kconfig.defconfig.series"

View file

@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
config SERIAL_INIT_PRIORITY
default 55
depends on SERIAL
source "soc/arm/nxp_kinetis/*/Kconfig.defconfig.series" source "soc/arm/nxp_kinetis/*/Kconfig.defconfig.series"

View file

@ -14,3 +14,7 @@ config SPI_MCUX_FLEXCOMM
config CLOCK_CONTROL_MCUX_SYSCON config CLOCK_CONTROL_MCUX_SYSCON
default y if HAS_MCUX_SYSCON default y if HAS_MCUX_SYSCON
depends on CLOCK_CONTROL depends on CLOCK_CONTROL
config SERIAL_INIT_PRIORITY
default 55
depends on SERIAL