]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Move CONFIG_X86_SERIAL to Kconfig
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jul 2015 21:47:23 +0000 (15:47 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:42:42 +0000 (08:42 -0600)
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>
drivers/serial/Kconfig
include/configs/bayleybay.h
include/configs/crownbay.h
include/configs/galileo.h
include/configs/minnowmax.h
include/configs/qemu-x86.h
include/configs/x86-chromebook.h

index 4829284216c2fcb6eb5b280ce62163b496008da4..078246d22fa42131b481e08f1e0940b74d9e15d7 100644 (file)
@@ -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.
index 740166afd3736b8b47d74a84f3fb1a5bddff976c..ecda4bae08d348d9fbd94b845b98089863530847 100644 (file)
@@ -16,8 +16,6 @@
 #define CONFIG_SYS_MONITOR_LEN         (1 << 20)
 #define CONFIG_ARCH_MISC_INIT
 
-#define CONFIG_X86_SERIAL
-
 #define CONFIG_PCI_CONFIG_HOST_BRIDGE
 #define CONFIG_SYS_EARLY_PCI_INIT
 #define CONFIG_PCI_PNP
index 6cf53a3e42a64d32d4c5b099220514df2e22a734..1ea320bcb575e89e8f89a542d24d6895b10b4f83 100644 (file)
@@ -17,7 +17,6 @@
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_ARCH_MISC_INIT
 
-#define CONFIG_X86_SERIAL
 #define CONFIG_SMSC_LPC47M
 
 #define CONFIG_PCI_MEM_BUS             0x40000000
index fd89bf30ef3a3d87547cf3437113e4618d89ab1f..3c3c6e9d543e11d1244bd72901d9de598bfe52a9 100644 (file)
@@ -17,8 +17,6 @@
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_ARCH_MISC_INIT
 
-#define CONFIG_X86_SERIAL
-
 /* ns16550 UART is memory-mapped in Quark SoC */
 #undef  CONFIG_SYS_NS16550_PORT_MAPPED
 
index 655ce3d422ef58aacf8eda708f40415bd3059bad..d0a8aa696a6df2d07bdfafba8864f5638e49e452 100644 (file)
@@ -16,7 +16,7 @@
 #define CONFIG_SYS_MONITOR_LEN         (1 << 20)
 #define CONFIG_ARCH_EARLY_INIT_R
 
-#define CONFIG_X86_SERIAL
+#define CONFIG_SMSC_LPC47M
 
 #define CONFIG_PCI_MEM_BUS             0xd0000000
 #define CONFIG_PCI_MEM_PHYS            CONFIG_PCI_MEM_BUS
index 78c296f5ad6ac3f16e41e54aafb1c7b29ec0bba7..c25e331579e65106b070c9ddc63c66969ecabd44 100644 (file)
@@ -16,8 +16,6 @@
 #define CONFIG_SYS_MONITOR_LEN         (1 << 20)
 #define CONFIG_ARCH_MISC_INIT
 
-#define CONFIG_X86_SERIAL
-
 #define CONFIG_PCI_MEM_BUS             0xc0000000
 #define CONFIG_PCI_MEM_PHYS            CONFIG_PCI_MEM_BUS
 #define CONFIG_PCI_MEM_SIZE            0x10000000
index e8f0bac01c4937ea08a9e38cd7c84a3e3b09b6ab..d5dd61913c4750d0265eb362a97f52137ddefdf3 100644 (file)
@@ -17,8 +17,6 @@
 #define CONFIG_X86_MRC_ADDR                    0xfffa0000
 #define CONFIG_CACHE_MRC_SIZE_KB               512
 
-#define CONFIG_X86_SERIAL
-
 #define CONFIG_SCSI_DEV_LIST   \
        {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_NM10_AHCI}, \
        {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_COUGARPOINT_AHCI_MOBILE}, \