From 9e39003e7ffa327adaef468840196de2e8820d2f Mon Sep 17 00:00:00 2001 From: Thomas Chou Date: Thu, 19 Nov 2015 21:48:14 +0800 Subject: ns16550: move CONFIG_SYS_NS16550 to Kconfig Move CONFIG_SYS_NS16550 to Kconfig, and run moveconfig.py. Signed-off-by: Thomas Chou --- drivers/serial/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'drivers/serial') diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index fe407b7..82ad90d 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 -- cgit v1.1