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>
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 4829284..078246d 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -102,3 +102,13 @@
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.