[RFC PATCH v2 39/56] serial: Support ns16550 driver in TPL
Simon Glass
sjg at chromium.org
Sat Feb 4 01:26:02 CET 2023
Add options for this since they are needed by P1020RDB-PC_NAND.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
drivers/serial/Kconfig | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index bb5083201b3..6f40c051604 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -731,6 +731,12 @@ config SPL_SYS_NS16550_SERIAL
default y if SYS_NS16550_SERIAL || ARCH_SUNXI || ARCH_OMAP2PLUS
select SYS_NS16550
+config TPL_SYS_NS16550_SERIAL
+ bool "NS16550 UART or compatible legacy driver in TPL"
+ depends on TPL && !TPL_DM_SERIAL
+ default y if SYS_NS16550_SERIAL || ARCH_SUNXI || ARCH_OMAP2PLUS
+ select SYS_NS16550
+
config SYS_NS16550
bool "NS16550 UART or compatible"
help
--
2.39.1.519.gcb327c4b5f-goog
More information about the U-Boot
mailing list