diff options
| author | Johan Jonker <[email protected]> | 2022-04-09 18:55:14 +0200 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2022-04-18 11:25:13 +0800 |
| commit | 9ee6c0766da8bb95c50a12bd774081bcdb0cdedb (patch) | |
| tree | 7acce3f18f5afcb496b97cff7eebbbd79ef375bc /drivers/serial/Makefile | |
| parent | 6dcaf2d22b1c3f88481431372f1e48d36aa2a23c (diff) | |
rockchip: serial: Kconfig: allow ROCKCHIP_SERIAL enabled in TPL
The serial_rockchip.c driver converts platdata to the data structure
used in the ns16550.c file and then calls the function
ns16550_serial_probe().
When compiled with OF_REAL the serial_rockchip.c driver returns
now -ENODEV when probed and does no harm.
The config ROCKCHIP_SERIAL is currently depends on SPL_OF_PLATDATA.
Allow serial port use for both SPL and TPL by removing this
dependency and SPL_BUILD restriction.
Signed-off-by: Johan Jonker <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'drivers/serial/Makefile')
| -rw-r--r-- | drivers/serial/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile index b68b5e7b2bf..d8e26d72ea2 100644 --- a/drivers/serial/Makefile +++ b/drivers/serial/Makefile @@ -46,9 +46,7 @@ obj-$(CONFIG_MXC_UART) += serial_mxc.o obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o obj-$(CONFIG_MESON_SERIAL) += serial_meson.o obj-$(CONFIG_INTEL_MID_SERIAL) += serial_intel_mid.o -ifdef CONFIG_SPL_BUILD obj-$(CONFIG_ROCKCHIP_SERIAL) += serial_rockchip.o -endif obj-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o obj-$(CONFIG_SANDBOX_SERIAL) += sandbox.o obj-$(CONFIG_SCIF_CONSOLE) += serial_sh.o |
