drivers: ns16550: remove parent init level dependency
remove parent init level dependency such as PRE_KERNEL or POST_KERNEL. Uart driver init level change always to PRE_KERNEL Signed-off-by: Najumon B.A <najumon.ba@intel.com>
This commit is contained in:
parent
589f3ad904
commit
608cc4d1f2
|
@ -60,16 +60,6 @@ config UART_NS16550_ACCESS_WORD_ONLY
|
|||
16550 (DesignWare UART) only allows word access, byte access will raise
|
||||
exception.
|
||||
|
||||
config UART_NS16550_PARENT_INIT_LEVEL
|
||||
bool "Boot level based on parent node"
|
||||
default y if ACPI
|
||||
help
|
||||
Boot level based on parent node (PCI or no PCI device). Some platforms the
|
||||
PCI bus driver depends on ACPI sub system to retrieve platform information
|
||||
such as interrupt routing information. But ACPI sub system currently support
|
||||
only post kernel and hence such platforms the UART driver instance init
|
||||
should be invoked only post kernel in case parent node is PCI.
|
||||
|
||||
config UART_NS16550_TI_K3
|
||||
bool "Add support for NS16550 variant specific to TI K3 SoCs"
|
||||
help
|
||||
|
|
|
@ -1423,8 +1423,7 @@ static const struct uart_driver_api uart_ns16550_driver_api = {
|
|||
}; \
|
||||
DEVICE_DT_INST_DEFINE(n, &uart_ns16550_init, NULL, \
|
||||
&uart_ns16550_dev_data_##n, &uart_ns16550_dev_cfg_##n, \
|
||||
COND_CODE_1(CONFIG_UART_NS16550_PARENT_INIT_LEVEL, \
|
||||
(POST_KERNEL), (PRE_KERNEL_1)), \
|
||||
PRE_KERNEL_1, \
|
||||
CONFIG_SERIAL_INIT_PRIORITY, \
|
||||
&uart_ns16550_driver_api); \
|
||||
UART_NS16550_PCIE_IRQ_FUNC_DEFINE(n)
|
||||
|
|
Loading…
Reference in a new issue