x86: baytrail: Introduce a Kconfig option for the internal UART
authorBin Meng <bmeng.cn@gmail.com>
Wed, 15 Jun 2016 04:33:23 +0000 (21:33 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 12 Jul 2016 05:46:01 +0000 (13:46 +0800)
There are quite a number of BayTrail boards that uses an external
SuperIO chipset to provide the legacy UART. For such cases, it's
better to have a Kconfig option to enable the internal UART.

So far BayleyBay and MinnowMax boards are using internal UART as
the U-Boot console, enable this on these two boards.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/baytrail/Kconfig
configs/bayleybay_defconfig
configs/minnowmax_defconfig

index 407feb214bf864dd3ed51e451e746ce90fdc0579..1c8ac370b30b7920ebb38bc13abd3f97411ca300 100644 (file)
@@ -7,3 +7,14 @@
 config INTEL_BAYTRAIL
        bool
        select HAVE_FSP if !EFI
+
+if INTEL_BAYTRAIL
+config INTERNAL_UART
+       bool "Enable the SoC integrated legacy UART"
+       help
+         There is a legacy UART integrated into the Bay Trail SoC.
+         A maximum baud rate of 115200 bps is supported. For this
+         reason, it is recommended that the UART port be used for
+         debug purposes only, eg: U-Boot console.
+
+endif
index 9f1d7fbca9f0553525fcc7b957efe6f615086e87..0a71bb8d08b32ddb3d53b0444ce09c268f276ee5 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_X86=y
 CONFIG_VENDOR_INTEL=y
 CONFIG_DEFAULT_DEVICE_TREE="bayleybay"
 CONFIG_TARGET_BAYLEYBAY=y
+CONFIG_INTERNAL_UART=y
 CONFIG_HAVE_INTEL_ME=y
 CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_SMP=y
index 28b837daabc2c81e7efdea1230ef227069e5674d..ba2b7dc43dbb03a122cb6827498100cee78e1894 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_X86=y
 CONFIG_VENDOR_INTEL=y
 CONFIG_DEFAULT_DEVICE_TREE="minnowmax"
 CONFIG_TARGET_MINNOWMAX=y
+CONFIG_INTERNAL_UART=y
 CONFIG_HAVE_INTEL_ME=y
 CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_SMP=y