summaryrefslogtreecommitdiff
path: root/drivers/serial/Makefile
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-12-04 09:39:03 -0500
committerTom Rini <[email protected]>2022-12-05 16:06:07 -0500
commit9591b63531fa5a34698ee7bb3800af6c4ea6ba2f (patch)
tree6f02552f5593d5042ffb0ef28604fad76c1d8149 /drivers/serial/Makefile
parent57c3afbc27bc48c3029108748fc2101b8d4758d8 (diff)
Convert CONFIG_SYS_NS16550_MEM32 et al to Kconfig
This converts the following to Kconfig: CONFIG_SPL_NS16550_MIN_FUNCTIONS CONFIG_SYS_NS16550_MEM32 CONFIG_SYS_NS16550_PORT_MAPPED CONFIG_SYS_NS16550_REG_SIZE CONFIG_SYS_NS16550_SERIAL To do this we also introduce CONFIG_SPL_SYS_NS16550_SERIAL so that platforms can enable the legacy driver here for SPL. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers/serial/Makefile')
-rw-r--r--drivers/serial/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index eb7b8f23ee9..45cf94c74c6 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -25,7 +25,7 @@ ifdef CONFIG_DM_SERIAL
obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o
else
obj-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
-obj-$(CONFIG_SYS_NS16550_SERIAL) += serial_ns16550.o
+obj-$(CONFIG_$(SPL_)SYS_NS16550_SERIAL) += serial_ns16550.o
endif
obj-$(CONFIG_ALTERA_UART) += altera_uart.o