summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-27 15:47:23 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 08:42:42 -0600
commitdcfe4a54edb1af90e9aec866a43592efff1f1974 (patch)
treeb9664201bf32e2746ba88d91e6ff9997effee055 /drivers/serial
parentca4435ef28d13371c31b98cfd41fb8fa28aeabc9 (diff)
downloadtalos-obmc-uboot-dcfe4a54edb1af90e9aec866a43592efff1f1974.tar.gz
talos-obmc-uboot-dcfe4a54edb1af90e9aec866a43592efff1f1974.zip
x86: Move CONFIG_X86_SERIAL to Kconfig
Move this config option to Kconfig and tidy up. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 4829284216..078246d22f 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -102,3 +102,13 @@ config UNIPHIER_SERIAL
help
If you have a UniPhier based board and want to use the on-chip
serial ports, say Y to this option. If unsure, say N.
+
+config X86_SERIAL
+ bool "Support for 16550 serial port on x86 machines"
+ depends on X86
+ default y
+ help
+ Most x86 machines have a ns16550 UART or compatible. This can be
+ enabled in the device tree with the correct input clock frequency
+ provided (default 1843200). Enable this to obtain serial console
+ output.
OpenPOWER on IntegriCloud