Skip to content

Commit

Permalink
soc: arm: Configure serial driver init priority for NXP SoCs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
MaureenHelm authored and cfriedt committed Oct 18, 2021
1 parent c65645c commit 5455bf4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions soc/arm/nxp_imx/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) 2017, NXP
# SPDX-License-Identifier: Apache-2.0

config SERIAL_INIT_PRIORITY
default 55
depends on SERIAL

source "soc/arm/nxp_imx/*/Kconfig.defconfig.series"
4 changes: 4 additions & 0 deletions soc/arm/nxp_kinetis/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

config SERIAL_INIT_PRIORITY
default 55
depends on SERIAL

source "soc/arm/nxp_kinetis/*/Kconfig.defconfig.series"
4 changes: 4 additions & 0 deletions soc/arm/nxp_lpc/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ config SPI_MCUX_FLEXCOMM
config CLOCK_CONTROL_MCUX_SYSCON
default y if HAS_MCUX_SYSCON
depends on CLOCK_CONTROL

config SERIAL_INIT_PRIORITY
default 55
depends on SERIAL

0 comments on commit 5455bf4

Please sign in to comment.