diff options
author | Tom Rini <trini@konsulko.com> | 2025-03-04 14:24:36 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-03-18 08:12:18 -0600 |
commit | 0d8b2970a47c914faf13dd1aa97ff7f2070ba8e1 (patch) | |
tree | 24ab6d5f823c8f19b0d9cb7e889b7b22470669ad | |
parent | b27c94958b976213e3f21e53943a699ffa53f16e (diff) |
serial: Add missing TPL_SYS_NS16550_SERIAL symbol
On PowerPC platforms with TPL enabled and SPL_SYS_NS16550_SERIAL
enabled, today this builds under TPL as well due to how $(XPL_) is
defined. Add the TPL_SYS_NS16550_SERIAL itself for consistency and
clarity.
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/serial/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index c4f4a8d78df..84130524c2d 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -789,6 +789,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 SPL_SYS_NS16550_SERIAL + select SYS_NS16550 + config SYS_NS16550 bool "NS16550 UART or compatible" help |