aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorThomas Chou2015-11-19 21:48:14 +0800
committerTom Rini2015-11-21 21:50:18 -0500
commit9e39003e7ffa327adaef468840196de2e8820d2f (patch)
tree88cce0112cdf6bc74a7c4b7e7098b64314a817bb /drivers
parent4fb6055211b28c525fb45463ebe5da2757d9abc7 (diff)
ns16550: move CONFIG_SYS_NS16550 to Kconfig
Move CONFIG_SYS_NS16550 to Kconfig, and run moveconfig.py. Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index fe407b775c7..82ad90d9e89 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -186,6 +186,16 @@ config ALTERA_UART
Select this to enable an UART for Altera devices. Please find
details on the "Embedded Peripherals IP User Guide" of Altera.
+config SYS_NS16550
+ bool "NS16550 UART or compatible"
+ help
+ Support NS16550 UART or compatible. This can be enabled in the
+ device tree with the correct input clock frequency. If the input
+ clock frequency is not defined in the device tree, the macro
+ CONFIG_SYS_NS16550_CLK defined in a legacy board header file will
+ be used. It can be a constant or a function to get clock, eg,
+ get_serial_clock().
+
config SANDBOX_SERIAL
bool "Sandbox UART support"
depends on SANDBOX