Skip to contentSkip to conversation

ns16550: add generic binding to unify the drivers

PATCH Superseded Thomas Chou 8 participants 112 messages Nov 16, 2015 – Dec 4, 2015 Page 1 of 2

Subsystems (16)
lore
Share & tools
lore
#0 lore raw

cover ns16550: add generic binding to unify the drivers

Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific.

The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock().

Thomas Chou (11):
debug_uart: restore ns16550 as default
arc: add mapping between physical and virtual address
ns16550: change map_sysmem to map_physmem
ns16550: add generic binding to unify the drivers
ns16550: unify serial_x86
ns16550: unify serial_ppc
ns16550: unify serial_rockchip
ns16550: unify serial_keystone
ns16550: unify serial_dw
ns16550: unify serial_tegra
ns16550: unify serial_omap

 arch/arc/include/asm/io.h            | 28 +++++++++++++++++
 arch/arm/mach-rockchip/Kconfig       |  8 ++++-
 arch/powerpc/Kconfig                 |  4 +++
 arch/powerpc/include/asm/config.h    |  4 +++
 arch/x86/Kconfig                     |  4 +++
 arch/x86/dts/serial.dtsi             |  2 +-
 board/isee/igep00x0/igep00x0.c       |  2 +-
 board/lge/sniper/sniper.c            |  2 +-
 board/logicpd/omap3som/omap3logic.c  |  2 +-
 board/logicpd/zoom1/zoom1.c          |  2 +-
 board/overo/overo.c                  |  2 +-
 board/quipos/cairo/cairo.c           |  2 +-
 board/ti/beagle/beagle.c             |  2 +-
 board/timll/devkit8000/devkit8000.c  |  2 +-
 configs/efi-x86_defconfig            |  2 +-
 configs/k2g_evm_defconfig            |  1 -
 drivers/serial/Kconfig               | 40 ++++++++++--------------
 drivers/serial/Makefile              |  7 -----
 drivers/serial/ns16550.c             | 59 ++++++++++++++++++++++++++++++++++--
 drivers/serial/serial_dw.c           | 39 ------------------------
 drivers/serial/serial_keystone.c     | 48 -----------------------------
 drivers/serial/serial_omap.c         | 54 ---------------------------------
 drivers/serial/serial_ppc.c          | 40 ------------------------
 drivers/serial/serial_rockchip.c     | 43 --------------------------
 drivers/serial/serial_tegra.c        | 54 ---------------------------------
 drivers/serial/serial_x86.c          | 44 ---------------------------
 include/configs/am43xx_evm.h         |  4 +--
 include/configs/cm_t43.h             |  2 +-
 include/configs/mv-common.h          |  2 +-
 include/configs/omap3_pandora.h      |  3 +-
 include/configs/sniper.h             |  4 +--
 include/configs/sunxi-common.h       |  2 +-
 include/configs/tb100.h              |  2 +-
 include/configs/tegra-common.h       |  3 +-
 include/configs/ti_am335x_common.h   |  2 +-
 include/configs/ti_armv7_keystone2.h |  2 +-
 include/configs/ti_omap3_common.h    |  4 +--
 include/configs/ti_omap4_common.h    |  4 +--
 include/configs/ti_omap5_common.h    |  4 +--
 39 files changed, 149 insertions(+), 386 deletions(-)
 delete mode 100644 drivers/serial/serial_dw.c
 delete mode 100644 drivers/serial/serial_keystone.c
 delete mode 100644 drivers/serial/serial_omap.c
 delete mode 100644 drivers/serial/serial_ppc.c
 delete mode 100644 drivers/serial/serial_rockchip.c
 delete mode 100644 drivers/serial/serial_tegra.c
 delete mode 100644 drivers/serial/serial_x86.c
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/12 debug_uart: restore ns16550 as default

Since commit 220e8021af96 ("nios2: convert altera_jtag_uart to driver model"), the default debug uart was changed. Most people use ns16550 UART, so restore it as default.

---
 drivers/serial/Kconfig | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
drivers/serial/Kconfig +7 -7
index d462244..9476a00 100644
@@ -54,6 +54,13 @@ choice
 	prompt "Select which UART will provide the debug UART"
 	depends on DEBUG_UART
 
+config DEBUG_UART_NS16550
+	bool "ns16550"
+	help
+	  Select this to enable a debug UART using the ns16550 driver. You
+	  will need to provide parameters to make this work. The driver will
+	  be available until the real driver model serial is running.
+
 config DEBUG_UART_ALTERA_JTAGUART
 	bool "Altera JTAG UART"
 	help
@@ -68,13 +75,6 @@ config DEBUG_UART_ALTERA_UART
 	  You will need to provide parameters to make this work. The driver will
 	  be available until the real driver model serial is running.
 
-config DEBUG_UART_NS16550
-	bool "ns16550"
-	help
-	  Select this to enable a debug UART using the ns16550 driver. You
-	  will need to provide parameters to make this work. The driver will
-	  be available until the real driver model serial is running.
-
 config DEBUG_EFI_CONSOLE
 	bool "EFI"
 	depends on EFI_APP
Signature · 1 line
2.5.0
#2 lore raw

PATCH 1/12 debug_uart: restore ns16550 as default

Quoted 7 lines · Thomas Chou

Since commit 220e8021af96 ("nios2: convert altera_jtag_uart to driver model"), the default debug uart was changed. Most people use ns16550 UART, so restore it as default.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151116/3b3371e9/attachment.sig>
#3 lore raw

PATCH 1/12 debug_uart: restore ns16550 as default

In reply to Thomas Chou

Hi Thomas,

Quoted 16 lines · Thomas Chou

Since commit 220e8021af96 ("nios2: convert altera_jtag_uart to driver model"), the default debug uart was changed. Most people use ns16550 UART, so restore it as default.

---
 drivers/serial/Kconfig | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
drivers/serial/Kconfig +0 -0
index d462244..9476a00 100644

drivers/serial/Kconfig choice · line 62

Quoted 9 lines
drivers/serial/Kconfig +6 -0
@@ -54,6 +54,13 @@ choice
        prompt "Select which UART will provide the debug UART"
        depends on DEBUG_UART
 
+config DEBUG_UART_NS16550
+       bool "ns16550"
+       help
+         Select this to enable a debug UART using the ns16550 driver. You
+         will need to provide parameters to make this work. The driver will
+         be available until the real driver model serial is running.

Can you please add a comment above this option saying that we should keep DEBUG_UART_NS16550 the first one so that it shows as the default in the kconfig? This is to give a hint to someone else in the future who touches this file and avoid any further unwanted changes.

Quoted 9 lines
drivers/serial/Kconfig +1 -1
+
 config DEBUG_UART_ALTERA_JTAGUART
        bool "Altera JTAG UART"
        help
@@ -68,13 +75,6 @@ config DEBUG_UART_ALTERA_UART
          You will need to provide parameters to make this work. The driver will
          be available until the real driver model serial is running.
 
-config DEBUG_UART_NS16550

drivers/serial/Kconfig config DEBUG_UART_ALTERA_UART

Quoted 10 lines
drivers/serial/Kconfig +0 -7
-       bool "ns16550"
-       help
-         Select this to enable a debug UART using the ns16550 driver. You
-         will need to provide parameters to make this work. The driver will
-         be available until the real driver model serial is running.
-
 config DEBUG_EFI_CONSOLE
        bool "EFI"
        depends on EFI_APP
--

Regards,
Bin

#4 lore raw

PATCH 1/12 debug_uart: restore ns16550 as default

Hi Bin,

Quoted 8 lines · Bin Meng
Quoted 8 lines
drivers/serial/Kconfig +0 -0
index d462244..9476a00 100644
@@ -54,6 +54,13 @@ choice
         prompt "Select which UART will provide the debug UART"
         depends on DEBUG_UART
 
Quoted 12 lines

drivers/serial/Kconfig choice · line 62

Quoted 6 lines
drivers/serial/Kconfig +6 -0
+config DEBUG_UART_NS16550
+       bool "ns16550"
+       help
+         Select this to enable a debug UART using the ns16550 driver. You
+         will need to provide parameters to make this work. The driver will
+         be available until the real driver model serial is running.

Can you please add a comment above this option saying that we should keep DEBUG_UART_NS16550 the first one so that it shows as the default in the kconfig? This is to give a hint to someone else in the future who touches this file and avoid any further unwanted changes.

OK. Thanks for the suggestion.

Best regards,
Thomas

#5 lore raw

PATCH 2/12 arc: add mapping between physical and virtual address

In reply to Thomas Chou

Add mapping between physical and virtual address.

---
 arch/arc/include/asm/io.h | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
arch/arc/include/asm/io.h +28 -0
index 24b7337..273e9f9 100644
@@ -15,6 +15,34 @@ static inline void sync(void)
 	/* Not yet implemented */
 }
 
+/*
+ * Given a physical address and a length, return a virtual address
+ * that can be used to access the memory range with the caching
+ * properties specified by "flags".
+ */
+#define MAP_NOCACHE	(0)
+#define MAP_WRCOMBINE	(0)
+#define MAP_WRBACK	(0)
+#define MAP_WRTHROUGH	(0)
+
+static inline void *map_physmem(phys_addr_t paddr, unsigned long len,
+				unsigned long flags)
+{
+	return (void *)(uintptr_t)paddr;
+}
+
+/*
+ * Take down a mapping set up by map_physmem().
+ */
+static inline void unmap_physmem(void *vaddr, unsigned long flags)
+{
+}
+
+static inline phys_addr_t virt_to_phys(void *vaddr)
+{
+	return (phys_addr_t)(uintptr_t)vaddr;
+}
+
 static inline u8 __raw_readb(const volatile void __iomem *addr)
 {
 	u8 b;
Signature · 1 line
2.5.0
#6 lore raw

PATCH 2/12 arc: add mapping between physical and virtual address

Quoted 7 lines · Thomas Chou

Add mapping between physical and virtual address.

---
  arch/arc/include/asm/io.h | 28 ++++++++++++++++++++++++++++
  1 file changed, 28 insertions(+)

Drop this patch as it is taken cared by Alexey Brodkin.

- Thomas

Quoted 40 lines
arch/arc/include/asm/io.h +28 -0
index 24b7337..273e9f9 100644
@@ -15,6 +15,34 @@ static inline void sync(void)
  	/* Not yet implemented */
  }
 
+/*
+ * Given a physical address and a length, return a virtual address
+ * that can be used to access the memory range with the caching
+ * properties specified by "flags".
+ */
+#define MAP_NOCACHE	(0)
+#define MAP_WRCOMBINE	(0)
+#define MAP_WRBACK	(0)
+#define MAP_WRTHROUGH	(0)
+
+static inline void *map_physmem(phys_addr_t paddr, unsigned long len,
+				unsigned long flags)
+{
+	return (void *)(uintptr_t)paddr;
+}
+
+/*
+ * Take down a mapping set up by map_physmem().
+ */
+static inline void unmap_physmem(void *vaddr, unsigned long flags)
+{
+}
+
+static inline phys_addr_t virt_to_phys(void *vaddr)
+{
+	return (phys_addr_t)(uintptr_t)vaddr;
+}
+
  static inline u8 __raw_readb(const volatile void __iomem *addr)
  {
  	u8 b;
#7 lore raw

PATCH 3/12 ns16550: change map_sysmem to map_physmem

In reply to Thomas Chou

Change map_sysmem() to map_physmem(), because sandbox is the only arch which define map_sysmem() and it actually only calls map_physmem(). For some arch like nios2, the flag should be MAP_NOCACHE for port access.

---
 drivers/serial/ns16550.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/serial/ns16550.c +2 -3
index 6433844..8d028de 100644
@@ -8,7 +8,6 @@
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
-#include <mapmem.h>
 #include <ns16550.h>
 #include <serial.h>
 #include <watchdog.h>
@@ -97,7 +96,7 @@ static void ns16550_writeb(NS16550_t port, int offset, int value)
 	unsigned char *addr;
 
 	offset *= 1 << plat->reg_shift;
-	addr = map_sysmem(plat->base, 0) + offset;
+	addr = map_physmem(plat->base, 0, MAP_NOCACHE) + offset;
 	/*
 	 * As far as we know it doesn't make sense to support selection of
 	 * these options at run-time, so use the existing CONFIG options.
@@ -111,7 +110,7 @@ static int ns16550_readb(NS16550_t port, int offset)
 	unsigned char *addr;
 
 	offset *= 1 << plat->reg_shift;
-	addr = map_sysmem(plat->base, 0) + offset;
+	addr = map_physmem(plat->base, 0, MAP_NOCACHE) + offset;
 
 	return serial_in_shift(addr, plat->reg_shift);
 }
Signature · 1 line
2.5.0
#8 lore raw

PATCH 3/12 ns16550: change map_sysmem to map_physmem

Hi Thomas,

Quoted 4 lines · Thomas Chou

Change map_sysmem() to map_physmem(), because sandbox is the only arch which define map_sysmem() and it actually only calls map_physmem(). For some arch like nios2, the flag should be MAP_NOCACHE for port access.

Why change it to map_physmem()? Doesn't that make assumptions about how sandbox is implemented?

Quoted 37 lines
---
 drivers/serial/ns16550.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/serial/ns16550.c +2 -4
index 6433844..8d028de 100644
@@ -8,7 +8,6 @@
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
-#include <mapmem.h>
 #include <ns16550.h>
 #include <serial.h>
 #include <watchdog.h>
@@ -97,7 +96,7 @@ static void ns16550_writeb(NS16550_t port, int offset, int value)
        unsigned char *addr;
 
        offset *= 1 << plat->reg_shift;
-       addr = map_sysmem(plat->base, 0) + offset;
+       addr = map_physmem(plat->base, 0, MAP_NOCACHE) + offset;
        /*
         * As far as we know it doesn't make sense to support selection of
         * these options at run-time, so use the existing CONFIG options.
@@ -111,7 +110,7 @@ static int ns16550_readb(NS16550_t port, int offset)
        unsigned char *addr;
 
        offset *= 1 << plat->reg_shift;
-       addr = map_sysmem(plat->base, 0) + offset;
+       addr = map_physmem(plat->base, 0, MAP_NOCACHE) + offset;
 
        return serial_in_shift(addr, plat->reg_shift);
 }
--
Quoted 2 lines

2.5.0

Regards,
Simon

#9 lore raw

PATCH 3/12 ns16550: change map_sysmem to map_physmem

Hi Simon,

Quoted 11 lines · Simon Glass

Hi Thomas,

Quoted 4 lines · Thomas Chou

Change map_sysmem() to map_physmem(), because sandbox is the only arch which define map_sysmem() and it actually only calls map_physmem(). For some arch like nios2, the flag should be MAP_NOCACHE for port access.

Why change it to map_physmem()? Doesn't that make assumptions about how sandbox is implemented?

The question might be asked from the other side, why does it use map_sysmem()?

In README,

- CONFIG_ARCH_MAP_SYSMEM
Generally U-Boot (and in particular the md command) uses effective address. It is therefore not necessary to regard U-Boot address as virtual addresses that need to be translated to physical addresses. However, sandbox requires this, since it maintains its own little RAM buffer which contains all addressable memory. This option causes some memory accesses to be mapped through map_sysmem() / unmap_sysmem().

The map_physmem() serves the same purpose to translate physical address to virtual address with the additional flag to take care of cache property. Many drivers use map_physmem() since ports access should be uncached. As ns16550 is a driver, it should use map_physmem() rather than map_sysmem().

Best regards,
Thomas

#10 lore raw

PATCH 4/12 ns16550: add generic binding to unify the drivers

In reply to Thomas Chou

Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific.

The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock().

---
 drivers/serial/Kconfig   | 11 +++++++++++
 drivers/serial/ns16550.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)
drivers/serial/Kconfig +11 -0
index 9476a00..1261356 100644
@@ -186,6 +186,17 @@ config ROCKCHIP_SERIAL
 	  your board config header. The clock input is automatically set to
 	  use the oscillator (24MHz).
 
+config NS16550_SERIAL
+	bool "NS16550 UART or compatible"
+	depends on DM_SERIAL
+	help
+	  Support NS16550 UART or compatible with driver model. 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
drivers/serial/ns16550.c +44 -0

60 lines not on this page · raw message

Signature · 1 line
2.5.0
#11 lore raw

PATCH 4/12 ns16550: add generic binding to unify the drivers

Quoted 5 lines · Thomas Chou

Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific.

Quoted 8 lines

The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock().

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151116/75abe361/attachment.sig>
#12 lore raw

PATCH 4/12 ns16550: add generic binding to unify the drivers

In reply to Thomas Chou

Hi Thomas,

Quoted 56 lines · Thomas Chou

Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific.

The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock().

---
 drivers/serial/Kconfig   | 11 +++++++++++
 drivers/serial/ns16550.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)
drivers/serial/Kconfig +11 -0
index 9476a00..1261356 100644
@@ -186,6 +186,17 @@ config ROCKCHIP_SERIAL
          your board config header. The clock input is automatically set to
          use the oscillator (24MHz).
 
+config NS16550_SERIAL
+       bool "NS16550 UART or compatible"
+       depends on DM_SERIAL
+       help
+         Support NS16550 UART or compatible with driver model. 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
drivers/serial/ns16550.c +4 -0
index 8d028de..f0a9aac 100644
@@ -56,6 +56,10 @@ DECLARE_GLOBAL_DATA_PTR;
 
 #ifdef CONFIG_DM_SERIAL
 
+#ifndef CONFIG_SYS_NS16550_CLK
+#define CONFIG_SYS_NS16550_CLK  0
+#endif
+
 static inline void serial_out_shift(void *addr, int shift, int value)
 {
 #ifdef CONFIG_SYS_NS16550_PORT_MAPPED

drivers/serial/ns16550.c int ns16550_serial_ofdata_to_platdata(struct udevice *dev) · line 407

Quoted 4 lines
drivers/serial/ns16550.c +1 -0
@@ -400,6 +404,15 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev)
        plat->base = addr;
        plat->reg_shift = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
                                         "reg-shift", 1);
+#ifdef CONFIG_NS16550_SERIAL

Is this #ifdef necessary?

Quoted 12 lines
drivers/serial/ns16550.c +8 -0
+       plat->clock = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
+                                    "clock-frequency",
+                                    CONFIG_SYS_NS16550_CLK);
+       if (!plat->clock) {
+               debug("ns16550 clock not defined\n");
+               return -EINVAL;
+       }
+#endif /* CONFIG_NS16550_SERIAL */
 
        return 0;
 }

drivers/serial/ns16550.c const struct dm_serial_ops ns16550_serial_ops = { · line 428

Quoted 5 lines
drivers/serial/ns16550.c +2 -0
@@ -411,4 +424,35 @@ const struct dm_serial_ops ns16550_serial_ops = {
        .getc = ns16550_serial_getc,
        .setbrg = ns16550_serial_setbrg,
 };
+
+#ifdef CONFIG_NS16550_SERIAL

Ditto.

drivers/serial/ns16550.c const struct dm_serial_ops ns16550_serial_ops = { · line 429

Quoted 1 line
drivers/serial/ns16550.c +1 -0
+#if CONFIG_IS_ENABLED(OF_CONTROL)

This line should be removed too?

Quoted 20 lines
drivers/serial/ns16550.c +20 -0
+static const struct udevice_id ns16550_serial_ids[] = {
+       { .compatible = "ns16550" },
+       { .compatible = "ns16550a" },
+       { .compatible = "nvidia,tegra20-uart" },
+       { .compatible = "snps,dw-apb-uart" },
+       { .compatible = "ti,omap2-uart" },
+       { .compatible = "ti,omap3-uart" },
+       { .compatible = "ti,omap4-uart" },
+       { .compatible = "ti,am3352-uart" },
+       { .compatible = "ti,am4372-uart" },
+       { .compatible = "ti,dra742-uart" },
+       {}
+};
+#endif
+
+U_BOOT_DRIVER(ns16550_serial) = {
+       .name   = "ns16550_serial",
+       .id     = UCLASS_SERIAL,
+#if CONFIG_IS_ENABLED(OF_CONTROL)
+       .of_match = ns16550_serial_ids,

drivers/serial/ns16550.c const struct dm_serial_ops ns16550_serial_ops = {

Quoted 10 lines
drivers/serial/ns16550.c +8 -1
+       .ofdata_to_platdata = ns16550_serial_ofdata_to_platdata,
+       .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
+#endif
+       .priv_auto_alloc_size = sizeof(struct NS16550),
+       .probe = ns16550_serial_probe,
+       .ops    = &ns16550_serial_ops,
+};
+#endif /* CONFIG_NS16550_SERIAL */
 #endif /* CONFIG_DM_SERIAL */
--

Regards,
Bin

#13 lore raw

PATCH 4/12 ns16550: add generic binding to unify the drivers

Hi Bin,

Quoted 32 lines · Bin Meng
Quoted 16 lines
drivers/serial/ns16550.c +4 -0
index 8d028de..f0a9aac 100644
@@ -56,6 +56,10 @@ DECLARE_GLOBAL_DATA_PTR;
 
  #ifdef CONFIG_DM_SERIAL
 
+#ifndef CONFIG_SYS_NS16550_CLK
+#define CONFIG_SYS_NS16550_CLK  0
+#endif
+
  static inline void serial_out_shift(void *addr, int shift, int value)
  {
  #ifdef CONFIG_SYS_NS16550_PORT_MAPPED

drivers/serial/ns16550.c int ns16550_serial_ofdata_to_platdata(struct udevice *dev) · line 407

Quoted 4 lines
drivers/serial/ns16550.c +1 -0
@@ -400,6 +404,15 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev)
         plat->base = addr;
         plat->reg_shift = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
                                          "reg-shift", 1);
+#ifdef CONFIG_NS16550_SERIAL

Is this #ifdef necessary?

Quoted 9 lines
drivers/serial/ns16550.c +8 -0
+       plat->clock = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
+                                    "clock-frequency",
+                                    CONFIG_SYS_NS16550_CLK);
+       if (!plat->clock) {
+               debug("ns16550 clock not defined\n");
+               return -EINVAL;
+       }
+#endif /* CONFIG_NS16550_SERIAL */
 
Quoted 10 lines

drivers/serial/ns16550.c const struct dm_serial_ops ns16550_serial_ops = { · line 428

Quoted 8 lines
drivers/serial/ns16550.c +2 -0
         return 0;
  }
@@ -411,4 +424,35 @@ const struct dm_serial_ops ns16550_serial_ops = {
         .getc = ns16550_serial_getc,
         .setbrg = ns16550_serial_setbrg,
  };
+
+#ifdef CONFIG_NS16550_SERIAL

Ditto.

These #ifdef is needed during the transition. They will be removed as a follow-up of this series.

Quoted 5 lines

drivers/serial/ns16550.c const struct dm_serial_ops ns16550_serial_ops = { · line 429

Quoted 2 lines
drivers/serial/ns16550.c +1 -0
+#if CONFIG_IS_ENABLED(OF_CONTROL)

This line should be removed too?

Some spl build with DM platdata but not of_control. So this is needed.

Best regards,
Thomas

#14 lore raw

PATCH 5/12 ns16550: unify serial_x86

In reply to Thomas Chou

Unify serial_x86, and use the generic binding.

---
 arch/x86/Kconfig            |  4 ++++
 arch/x86/dts/serial.dtsi    |  2 +-
 configs/efi-x86_defconfig   |  2 +-
 drivers/serial/Kconfig      | 10 ----------
 drivers/serial/Makefile     |  1 -
 drivers/serial/serial_x86.c | 44 --------------------------------------------
 6 files changed, 6 insertions(+), 57 deletions(-)
 delete mode 100644 drivers/serial/serial_x86.c
arch/x86/Kconfig +4 -0
index f92082d..61011c9 100644
@@ -422,4 +422,8 @@ config PCIE_ECAM_SIZE
 
 source "arch/x86/lib/efi/Kconfig"
 
+config NS16550_SERIAL
+	depends on DM_SERIAL
+	default y
+
 endmenu
arch/x86/dts/serial.dtsi +1 -1
index 6865eed..54c3faf 100644
@@ -1,6 +1,6 @@
 / {
 	serial: serial {
-		compatible = "x86-uart";
+		compatible = "ns16550";
 		reg = <0x3f8 8>;
 		reg-shift = <0>;
 		clock-frequency = <1843200>;
configs/efi-x86_defconfig +1 -1
index 43fb0c4..b1573df 100644
@@ -3,6 +3,7 @@ CONFIG_VENDOR_EFI=y
 CONFIG_DEFAULT_DEVICE_TREE="efi"
 CONFIG_TARGET_EFI=y
 CONFIG_TSC_CALIBRATION_BYPASS=y
+# CONFIG_NS16550_SERIAL is not set
 # CONFIG_CMD_BOOTM is not set
 # CONFIG_CMD_NET is not set
 CONFIG_OF_CONTROL=y
@@ -12,5 +13,4 @@ CONFIG_DEBUG_UART=y
 CONFIG_DEBUG_EFI_CONSOLE=y
 CONFIG_DEBUG_UART_BASE=0
 CONFIG_DEBUG_UART_CLOCK=0
-# CONFIG_X86_SERIAL is not set
 CONFIG_EFI=y
drivers/serial/Kconfig +0 -10
index 1261356..abcf2aa 100644
@@ -224,14 +224,4 @@ config UNIPHIER_SERIAL
 	  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.
-
 endmenu
drivers/serial/Makefile +0 -1
index 1818c7c..9036a8e 100644
@@ -46,7 +46,6 @@ obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
 obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
 obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
-obj-$(CONFIG_X86_SERIAL) += serial_x86.o
 obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
 
 ifndef CONFIG_SPL_BUILD
drivers/serial/serial_x86.c deleted +0 -44

44 lines not on this page · raw message

Signature · 1 line
2.5.0
#15 lore raw

PATCH 5/12 ns16550: unify serial_x86

Quoted 3 lines · Thomas Chou

Unify serial_x86, and use the generic binding.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151116/49db157b/attachment.sig>
#16 lore raw

PATCH 5/12 ns16550: unify serial_x86

In reply to Thomas Chou

Hi Thomas,

Quoted 18 lines · Thomas Chou

Unify serial_x86, and use the generic binding.

---
 arch/x86/Kconfig            |  4 ++++
 arch/x86/dts/serial.dtsi    |  2 +-
 configs/efi-x86_defconfig   |  2 +-
 drivers/serial/Kconfig      | 10 ----------
 drivers/serial/Makefile     |  1 -
 drivers/serial/serial_x86.c | 44 --------------------------------------------
 6 files changed, 6 insertions(+), 57 deletions(-)
 delete mode 100644 drivers/serial/serial_x86.c
arch/x86/Kconfig +0 -0
index f92082d..61011c9 100644

arch/x86/Kconfig config PCIE_ECAM_SIZE · line 427

Quoted 6 lines
arch/x86/Kconfig +3 -0
@@ -422,4 +422,8 @@ config PCIE_ECAM_SIZE
 
 source "arch/x86/lib/efi/Kconfig"
 
+config NS16550_SERIAL
+       depends on DM_SERIAL
+       default y

I am not in favor of adding driver options to arch Kconfig. I would suggest updating NS16550_SERIAL option in driver/serial/Kconfig, like what was done in X86_SERIAL before:

config NS16550_SERIAL
default y if X86

Quoted 104 lines
arch/x86/Kconfig +1 -0
+
 endmenu
arch/x86/dts/serial.dtsi +1 -1
index 6865eed..54c3faf 100644
@@ -1,6 +1,6 @@
 / {
        serial: serial {
-               compatible = "x86-uart";
+               compatible = "ns16550";
                reg = <0x3f8 8>;
                reg-shift = <0>;
                clock-frequency = <1843200>;
configs/efi-x86_defconfig +1 -1
index 43fb0c4..b1573df 100644
@@ -3,6 +3,7 @@ CONFIG_VENDOR_EFI=y
 CONFIG_DEFAULT_DEVICE_TREE="efi"
 CONFIG_TARGET_EFI=y
 CONFIG_TSC_CALIBRATION_BYPASS=y
+# CONFIG_NS16550_SERIAL is not set
 # CONFIG_CMD_BOOTM is not set
 # CONFIG_CMD_NET is not set
 CONFIG_OF_CONTROL=y
@@ -12,5 +13,4 @@ CONFIG_DEBUG_UART=y
 CONFIG_DEBUG_EFI_CONSOLE=y
 CONFIG_DEBUG_UART_BASE=0
 CONFIG_DEBUG_UART_CLOCK=0
-# CONFIG_X86_SERIAL is not set
 CONFIG_EFI=y
drivers/serial/Kconfig +0 -10
index 1261356..abcf2aa 100644
@@ -224,14 +224,4 @@ config UNIPHIER_SERIAL
          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.
-
 endmenu
drivers/serial/Makefile +0 -1
index 1818c7c..9036a8e 100644
@@ -46,7 +46,6 @@ obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
 obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
 obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
-obj-$(CONFIG_X86_SERIAL) += serial_x86.o
 obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
 
 ifndef CONFIG_SPL_BUILD
drivers/serial/serial_x86.c deleted +0 -35
deleted file mode 100644
index 4bf6062..0000000
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2014 Google, Inc
- *
- * SPDX-License-Identifier:    GPL-2.0+
- */
-
-#include <common.h>
-#include <dm.h>
-#include <fdtdec.h>
-#include <ns16550.h>
-#include <serial.h>
-
-DECLARE_GLOBAL_DATA_PTR;
-
-static const struct udevice_id x86_serial_ids[] = {
-       { .compatible = "x86-uart" },
-       { }
-};
-
-static int x86_serial_ofdata_to_platdata(struct udevice *dev)
-{
-       struct ns16550_platdata *plat = dev_get_platdata(dev);
-       int ret;
-
-       ret = ns16550_serial_ofdata_to_platdata(dev);
-       if (ret)
-               return ret;
-
-       plat->clock = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
-                                    "clock-frequency", 1843200);
-
-       return 0;
-}
-
-U_BOOT_DRIVER(serial_ns16550) = {

drivers/serial/serial_x86.c

Quoted 10 lines
drivers/serial/serial_x86.c deleted +0 -10
-       .name   = "serial_x86",
-       .id     = UCLASS_SERIAL,
-       .of_match = x86_serial_ids,
-       .ofdata_to_platdata = x86_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
-       .priv_auto_alloc_size = sizeof(struct NS16550),
-       .probe = ns16550_serial_probe,
-       .ops    = &ns16550_serial_ops,
-};
--

Regards,
Bin

#17 lore raw

PATCH 5/12 ns16550: unify serial_x86

Hi Bin,

Quoted 32 lines · Bin Meng

Hi Thomas,

Quoted 18 lines · Thomas Chou

Unify serial_x86, and use the generic binding.

---
  arch/x86/Kconfig            |  4 ++++
  arch/x86/dts/serial.dtsi    |  2 +-
  configs/efi-x86_defconfig   |  2 +-
  drivers/serial/Kconfig      | 10 ----------
  drivers/serial/Makefile     |  1 -
  drivers/serial/serial_x86.c | 44 --------------------------------------------
  6 files changed, 6 insertions(+), 57 deletions(-)

delete mode 100644 drivers/serial/serial_x86.c

arch/x86/Kconfig +0 -0
index f92082d..61011c9 100644

arch/x86/Kconfig config PCIE_ECAM_SIZE · line 427

Quoted 6 lines
arch/x86/Kconfig +3 -0
@@ -422,4 +422,8 @@ config PCIE_ECAM_SIZE
 
  source "arch/x86/lib/efi/Kconfig"
 
+config NS16550_SERIAL
+       depends on DM_SERIAL
+       default y

I am not in favor of adding driver options to arch Kconfig. I would suggest updating NS16550_SERIAL option in driver/serial/Kconfig, like what was done in X86_SERIAL before:

Quoted 3 lines

config NS16550_SERIAL
default y if X86

Thanks for reminding. I was trying to recall how to use this "if". :)

Best regards,
Thomas

#18 lore raw

PATCH 6/12 ns16550: unify serial_ppc

In reply to Thomas Chou

Unify serial_ppc, and use the generic binding.

---
 arch/powerpc/Kconfig              |  4 ++++
 arch/powerpc/include/asm/config.h |  4 ++++
 drivers/serial/Makefile           |  1 -
 drivers/serial/serial_ppc.c       | 40 ---------------------------------------
 4 files changed, 8 insertions(+), 41 deletions(-)
 delete mode 100644 drivers/serial/serial_ppc.c
arch/powerpc/Kconfig +4 -0
index 18451d3..0c63d1f 100644
@@ -50,4 +50,8 @@ source "arch/powerpc/cpu/mpc86xx/Kconfig"
 source "arch/powerpc/cpu/mpc8xx/Kconfig"
 source "arch/powerpc/cpu/ppc4xx/Kconfig"
 
+config NS16550_SERIAL
+	depends on DM_SERIAL
+	default y
+
 endmenu
arch/powerpc/include/asm/config.h +4 -0
index 65496d0..4d15bc1 100644
@@ -104,4 +104,8 @@
 /* All PPC boards must swap IDE bytes */
 #define CONFIG_IDE_SWAP_IO
 
+#if defined(CONFIG_NS16550_SERIAL)
+#define CONFIG_SYS_NS16550_CLK		get_serial_clock()
+#endif
+
 #endif /* _ASM_CONFIG_H_ */
drivers/serial/Makefile +0 -1
index 9036a8e..9f61113 100644
@@ -8,7 +8,6 @@
 ifdef CONFIG_DM_SERIAL
 obj-y += serial-uclass.o
 obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o
-obj-$(CONFIG_PPC) += serial_ppc.o
 else
 obj-y += serial.o
 obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
drivers/serial/serial_ppc.c deleted +0 -40
deleted file mode 100644
index 47141c6..0000000
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2014 Google, Inc
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <dm.h>
-#include <ns16550.h>
-#include <serial.h>
-
-static const struct udevice_id ppc_serial_ids[] = {
-	{ .compatible = "ns16550" },
-	{ }
-};
-
-static int ppc_serial_ofdata_to_platdata(struct udevice *dev)
-{
-	struct ns16550_platdata *plat = dev_get_platdata(dev);
-	int ret;
-
-	ret = ns16550_serial_ofdata_to_platdata(dev);
-	if (ret)
-		return ret;
-	plat->clock = get_serial_clock();
-
-	return 0;
-}
-
-U_BOOT_DRIVER(serial_ns16550) = {
-	.name	= "serial_ppc",
-	.id	= UCLASS_SERIAL,
-	.of_match = ppc_serial_ids,
-	.ofdata_to_platdata = ppc_serial_ofdata_to_platdata,
-	.platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
-	.priv_auto_alloc_size = sizeof(struct NS16550),
-	.probe = ns16550_serial_probe,
-	.ops	= &ns16550_serial_ops,
-	.flags	= DM_FLAG_PRE_RELOC,
-};
Signature · 1 line
2.5.0
#19 lore raw

PATCH 6/12 ns16550: unify serial_ppc

Quoted 3 lines · Thomas Chou

Unify serial_ppc, and use the generic binding.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151116/e93b773d/attachment.sig>
#20 lore raw

PATCH 7/12 ns16550: unify serial_rockchip

In reply to Thomas Chou

Unify serial_rockchip, and use the generic binding.

---
 arch/arm/mach-rockchip/Kconfig   |  8 +++++++-
 drivers/serial/Kconfig           |  9 ---------
 drivers/serial/Makefile          |  1 -
 drivers/serial/serial_rockchip.c | 43 ----------------------------------------
 4 files changed, 7 insertions(+), 54 deletions(-)
 delete mode 100644 drivers/serial/serial_rockchip.c
arch/arm/mach-rockchip/Kconfig +7 -1
index ab50f4e..2afdcc5 100644
@@ -33,9 +33,15 @@ config DM_I2C
 config DM_GPIO
 	default y
 
-config ROCKCHIP_SERIAL
+config NS16550_SERIAL
+	depends on DM_SERIAL
 	default y
 
+config SYS_NS16550_CLK
+	int
+	depends on NS16550_SERIAL
+	default 24000000
+
 source "arch/arm/mach-rockchip/rk3288/Kconfig"
 
 endif
drivers/serial/Kconfig +0 -9
index abcf2aa..353d26d 100644
@@ -177,15 +177,6 @@ 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 ROCKCHIP_SERIAL
-	bool "Rockchip on-chip UART support"
-	depends on ARCH_ROCKCHIP && DM_SERIAL
-	help
-	  Select this to enable a debug UART for Rockchip devices. This uses
-	  the ns16550 driver. You will need to #define CONFIG_SYS_NS16550 in
-	  your board config header. The clock input is automatically set to
-	  use the oscillator (24MHz).
-
 config NS16550_SERIAL
 	bool "NS16550 UART or compatible"
 	depends on DM_SERIAL
drivers/serial/Makefile +0 -1
index 9f61113..debc175 100644
@@ -40,7 +40,6 @@ obj-$(CONFIG_ZYNQ_SERIAL) += serial_zynq.o
 obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o
 obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
 obj-$(CONFIG_MXS_AUART) += mxs_auart.o
-obj-$(CONFIG_ROCKCHIP_SERIAL) += serial_rockchip.o
 obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
 obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
drivers/serial/serial_rockchip.c deleted +0 -43

43 lines not on this page · raw message

Signature · 1 line
2.5.0
#21 lore raw

PATCH 7/12 ns16550: unify serial_rockchip

Quoted 3 lines · Thomas Chou

Unify serial_rockchip, and use the generic binding.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151116/68268f63/attachment.sig>
#22 lore raw

PATCH 7/12 ns16550: unify serial_rockchip

In reply to Thomas Chou

Hi Ariel,

Quoted 11 lines · Thomas Chou

Unify serial_rockchip, and use the generic binding.

---
  arch/arm/mach-rockchip/Kconfig   |  8 +++++++-
  drivers/serial/Kconfig           |  9 ---------
  drivers/serial/Makefile          |  1 -
  drivers/serial/serial_rockchip.c | 43 ----------------------------------------
  4 files changed, 7 insertions(+), 54 deletions(-)

delete mode 100644 drivers/serial/serial_rockchip.c

Please check this series. Though I run buildman, I don't have a rockchip board to test. Thanks.

Best regards,
Thomas

Quoted 103 lines
arch/arm/mach-rockchip/Kconfig +7 -1
index ab50f4e..2afdcc5 100644
@@ -33,9 +33,15 @@ config DM_I2C
  config DM_GPIO
  	default y
 
-config ROCKCHIP_SERIAL
+config NS16550_SERIAL
+	depends on DM_SERIAL
  	default y
 
+config SYS_NS16550_CLK
+	int
+	depends on NS16550_SERIAL
+	default 24000000
+
  source "arch/arm/mach-rockchip/rk3288/Kconfig"
 
  endif
drivers/serial/Kconfig +0 -9
index abcf2aa..353d26d 100644
@@ -177,15 +177,6 @@ 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 ROCKCHIP_SERIAL
-	bool "Rockchip on-chip UART support"
-	depends on ARCH_ROCKCHIP && DM_SERIAL
-	help
-	  Select this to enable a debug UART for Rockchip devices. This uses
-	  the ns16550 driver. You will need to #define CONFIG_SYS_NS16550 in
-	  your board config header. The clock input is automatically set to
-	  use the oscillator (24MHz).
-
  config NS16550_SERIAL
  	bool "NS16550 UART or compatible"
  	depends on DM_SERIAL
drivers/serial/Makefile +0 -1
index 9f61113..debc175 100644
@@ -40,7 +40,6 @@ obj-$(CONFIG_ZYNQ_SERIAL) += serial_zynq.o
  obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o
  obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
  obj-$(CONFIG_MXS_AUART) += mxs_auart.o
-obj-$(CONFIG_ROCKCHIP_SERIAL) += serial_rockchip.o
  obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
  obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
  obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
drivers/serial/serial_rockchip.c deleted +0 -43
deleted file mode 100644
index 0e7bbfc..0000000
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2015 Google, Inc
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <dm.h>
-#include <ns16550.h>
-#include <serial.h>
-#include <asm/arch/clock.h>
-
-static const struct udevice_id rockchip_serial_ids[] = {
-	{ .compatible = "rockchip,rk3288-uart" },
-	{ }
-};
-
-static int rockchip_serial_ofdata_to_platdata(struct udevice *dev)
-{
-	struct ns16550_platdata *plat = dev_get_platdata(dev);
-	int ret;
-
-	ret = ns16550_serial_ofdata_to_platdata(dev);
-	if (ret)
-		return ret;
-
-	/* Do all Rockchip parts use 24MHz? */
-	plat->clock = 24 * 1000000;
-
-	return 0;
-}
-
-U_BOOT_DRIVER(serial_ns16550) = {
-	.name	= "serial_rockchip",
-	.id	= UCLASS_SERIAL,
-	.of_match = rockchip_serial_ids,
-	.ofdata_to_platdata = rockchip_serial_ofdata_to_platdata,
-	.platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
-	.priv_auto_alloc_size = sizeof(struct NS16550),
-	.probe = ns16550_serial_probe,
-	.ops	= &ns16550_serial_ops,
-	.flags	= DM_FLAG_PRE_RELOC,
-};
#23 lore raw

PATCH 7/12 ns16550: unify serial_rockchip

Hi Thomas,

El 16/11/15 a las 21:35, Thomas Chou escribi?:

Quoted 16 lines

Hi Ariel,

Quoted 12 lines · Thomas Chou

Unify serial_rockchip, and use the generic binding.

---
  arch/arm/mach-rockchip/Kconfig   |  8 +++++++-
  drivers/serial/Kconfig           |  9 ---------
  drivers/serial/Makefile          |  1 -
  drivers/serial/serial_rockchip.c | 43
----------------------------------------
  4 files changed, 7 insertions(+), 54 deletions(-)

delete mode 100644 drivers/serial/serial_rockchip.c

Quoted 2 lines

Please check this series. Though I run buildman, I don't have a rockchip board to test. Thanks.

Successfully tested on a Firefly RK3288 board.

Signature · 2 lines
Ariel D'Alessandro, VanguardiaSur
www.vanguardiasur.com.ar
#24 lore raw

PATCH 8/12 ns16550: unify serial_keystone

In reply to Thomas Chou

Unify serial_keystone, and use the generic binding.

---
 configs/k2g_evm_defconfig            |  1 -
 drivers/serial/Makefile              |  1 -
 drivers/serial/serial_keystone.c     | 48 ------------------------------------
 include/configs/ti_armv7_keystone2.h |  2 +-
 4 files changed, 1 insertion(+), 51 deletions(-)
 delete mode 100644 drivers/serial/serial_keystone.c
configs/k2g_evm_defconfig +0 -1
index 59020af..c6efe80 100644
@@ -11,4 +11,3 @@ CONFIG_SPL_DISABLE_OF_CONTROL=y
 CONFIG_SPI_FLASH=y
 CONFIG_DM=y
 CONFIG_DM_SERIAL=y
-CONFIG_KEYSTONE_SERIAL=y
drivers/serial/Makefile +0 -1
index debc175..1663ca2 100644
@@ -24,7 +24,6 @@ obj-$(CONFIG_EFI_APP) += serial_efi.o
 obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o
 obj-$(CONFIG_MCFUART) += mcfuart.o
 obj-$(CONFIG_OPENCORES_YANU) += opencores_yanu.o
-obj-$(CONFIG_KEYSTONE_SERIAL) += serial_keystone.o
 obj-$(CONFIG_SYS_NS16550) += ns16550.o
 obj-$(CONFIG_S5P) += serial_s5p.o
 obj-$(CONFIG_IMX_SERIAL) += serial_imx.o
drivers/serial/serial_keystone.c deleted +0 -48

48 lines not on this page · raw message

include/configs/ti_armv7_keystone2.h +1 -1
index ed86561..5ab9b6e 100644
@@ -64,7 +64,7 @@
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	-4
 #else
-#define CONFIG_KEYSTONE_SERIAL
+#define CONFIG_NS16550_SERIAL
 #endif
 #define CONFIG_SYS_NS16550_COM1		KS2_UART0_BASE
 #define CONFIG_SYS_NS16550_COM2		KS2_UART1_BASE
Signature · 1 line
2.5.0
#25 lore raw

PATCH 8/12 ns16550: unify serial_keystone

Quoted 3 lines · Thomas Chou

Unify serial_keystone, and use the generic binding.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151116/e2d92777/attachment.sig>
#26 lore raw

PATCH 9/12 ns16550: unify serial_dw

In reply to Thomas Chou

Unify serial_dw, and use the generic binding.

---
 drivers/serial/Makefile        |  1 -
 drivers/serial/serial_dw.c     | 39 ---------------------------------------
 include/configs/mv-common.h    |  2 +-
 include/configs/sunxi-common.h |  2 +-
 include/configs/tb100.h        |  2 +-
 5 files changed, 3 insertions(+), 43 deletions(-)
 delete mode 100644 drivers/serial/serial_dw.c
drivers/serial/Makefile +0 -1
index 1663ca2..2a83756 100644
@@ -19,7 +19,6 @@ obj-$(CONFIG_ALTERA_UART) += altera_uart.o
 obj-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o
 obj-$(CONFIG_ARM_DCC) += arm_dcc.o
 obj-$(CONFIG_ATMEL_USART) += atmel_usart.o
-obj-$(CONFIG_DW_SERIAL) += serial_dw.o
 obj-$(CONFIG_EFI_APP) += serial_efi.o
 obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o
 obj-$(CONFIG_MCFUART) += mcfuart.o
drivers/serial/serial_dw.c deleted +0 -39
deleted file mode 100644
index a348f29..0000000
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2014 Google, Inc
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <dm.h>
-#include <ns16550.h>
-#include <serial.h>
-
-static const struct udevice_id dw_serial_ids[] = {
-	{ .compatible = "snps,dw-apb-uart" },
-	{ }
-};
-
-static int dw_serial_ofdata_to_platdata(struct udevice *dev)
-{
-	struct ns16550_platdata *plat = dev_get_platdata(dev);
-	int ret;
-
-	ret = ns16550_serial_ofdata_to_platdata(dev);
-	if (ret)
-		return ret;
-	plat->clock = CONFIG_SYS_NS16550_CLK;
-
-	return 0;
-}
-
-U_BOOT_DRIVER(serial_ns16550) = {
-	.name	= "serial_dw",
-	.id	= UCLASS_SERIAL,
-	.of_match = dw_serial_ids,
-	.ofdata_to_platdata = dw_serial_ofdata_to_platdata,
-	.platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
-	.priv_auto_alloc_size = sizeof(struct NS16550),
-	.probe = ns16550_serial_probe,
-	.ops	= &ns16550_serial_ops,
-};
include/configs/mv-common.h +1 -1
index 1ecbd35..0e33a89 100644
@@ -40,7 +40,7 @@
  * NS16550 Configuration
  */
 #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM_SERIAL)
-#define CONFIG_DW_SERIAL
+#define CONFIG_NS16550_SERIAL
 #endif
 
 #define CONFIG_SYS_NS16550
include/configs/sunxi-common.h +1 -1
index f5db4d3..ab584ac 100644
@@ -46,7 +46,7 @@
 /* ns16550 reg in the low bits of cpu reg */
 #define CONFIG_SYS_NS16550_CLK		24000000
 #ifdef CONFIG_DM_SERIAL
-# define CONFIG_DW_SERIAL
+# define CONFIG_NS16550_SERIAL
 #else
 # define CONFIG_SYS_NS16550_REG_SIZE	-4
 # define CONFIG_SYS_NS16550_COM1		SUNXI_UART0_BASE
include/configs/tb100.h +1 -1
index e3c41ef..44287d8 100644
@@ -35,7 +35,7 @@
 /*
  * UART configuration
  */
-#define CONFIG_DW_SERIAL
+#define CONFIG_NS16550_SERIAL
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_CLK		166666666
Signature · 1 line
2.5.0
#27 lore raw

PATCH 9/12 ns16550: unify serial_dw

Quoted 3 lines · Thomas Chou

Unify serial_dw, and use the generic binding.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151116/5ebc7133/attachment.sig>
#28 lore raw

PATCH 10/12 ns16550: unify serial_tegra

In reply to Thomas Chou

Unify serial_tegra, and use the generic binding.

---
 drivers/serial/Makefile        |  1 -
 drivers/serial/ns16550.c       | 10 ++++++++
 drivers/serial/serial_tegra.c  | 54 ------------------------------------------
 include/configs/tegra-common.h |  3 ++-
 4 files changed, 12 insertions(+), 56 deletions(-)
 delete mode 100644 drivers/serial/serial_tegra.c
drivers/serial/Makefile +0 -1
index 2a83756..86ae50f 100644
@@ -39,7 +39,6 @@ obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o
 obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
 obj-$(CONFIG_MXS_AUART) += mxs_auart.o
 obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
-obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
 obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
 obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
drivers/serial/ns16550.c +10 -0
index f0a9aac..1ce110f 100644
@@ -440,6 +440,16 @@ static const struct udevice_id ns16550_serial_ids[] = {
 	{ .compatible = "ti,dra742-uart" },
 	{}
 };
+#elif CONFIG_IS_ENABLED(TEGRA)
+static struct ns16550_platdata ns16550_com1_pdata = {
+	.base = CONFIG_SYS_NS16550_COM1,
+	.reg_shift = 2,
+	.clock = CONFIG_SYS_NS16550_CLK,
+};
+
+U_BOOT_DEVICE(ns16550_com1) = {
+	"ns16550_serial", &ns16550_com1_pdata
+};
 #endif
 
 U_BOOT_DRIVER(ns16550_serial) = {
drivers/serial/serial_tegra.c deleted +0 -54

54 lines not on this page · raw message

include/configs/tegra-common.h +2 -1
index 32cc39b..ceda304 100644
@@ -39,8 +39,9 @@
 /*
  * NS16550 Configuration
  */
-#define CONFIG_TEGRA_SERIAL
+#define CONFIG_NS16550_SERIAL
 #define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
 
 /*
  * Common HW configuration.
Signature · 1 line
2.5.0
#29 lore raw

PATCH 10/12 ns16550: unify serial_tegra

Quoted 3 lines · Thomas Chou

Unify serial_tegra, and use the generic binding.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151116/520ff953/attachment.sig>
#30 lore raw

PATCH 11/12 ns16550: unify serial_omap

In reply to Thomas Chou

Unify serial_omap, and use the generic binding.

---
 board/isee/igep00x0/igep00x0.c      |  2 +-
 board/lge/sniper/sniper.c           |  2 +-
 board/logicpd/omap3som/omap3logic.c |  2 +-
 board/logicpd/zoom1/zoom1.c         |  2 +-
 board/overo/overo.c                 |  2 +-
 board/quipos/cairo/cairo.c          |  2 +-
 board/ti/beagle/beagle.c            |  2 +-
 board/timll/devkit8000/devkit8000.c |  2 +-
 drivers/serial/Makefile             |  1 -
 drivers/serial/serial_omap.c        | 54 -------------------------------------
 include/configs/am43xx_evm.h        |  4 +--
 include/configs/cm_t43.h            |  2 +-
 include/configs/omap3_pandora.h     |  3 ++-
 include/configs/sniper.h            |  4 +--
 include/configs/ti_am335x_common.h  |  2 +-
 include/configs/ti_omap3_common.h   |  4 +--
 include/configs/ti_omap4_common.h   |  4 +--
 include/configs/ti_omap5_common.h   |  4 +--
 18 files changed, 22 insertions(+), 76 deletions(-)
 delete mode 100644 drivers/serial/serial_omap.c
board/isee/igep00x0/igep00x0.c +1 -1
index 044c6d5..57b89e0 100644
@@ -40,7 +40,7 @@ static const struct ns16550_platdata igep_serial = {
 };
 
 U_BOOT_DEVICE(igep_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&igep_serial
 };
 
board/lge/sniper/sniper.c +1 -1
index 4eff01a..c818c9d 100644
@@ -35,7 +35,7 @@ static const struct ns16550_platdata serial_omap_platdata = {
 };
 
 U_BOOT_DEVICE(sniper_serial) = {
-	.name = "serial_omap",
+	.name = "ns16550_serial",
 	.platdata = &serial_omap_platdata
 };
 
board/logicpd/omap3som/omap3logic.c +1 -1
index babb0dc..fb89921 100644
@@ -43,7 +43,7 @@ static const struct ns16550_platdata omap3logic_serial = {
 };
 
 U_BOOT_DEVICE(omap3logic_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&omap3logic_serial
 };
 
board/logicpd/zoom1/zoom1.c +1 -1
index 0a3b55b..4040114 100644
@@ -50,7 +50,7 @@ static const struct ns16550_platdata zoom1_serial = {
 };
 
 U_BOOT_DEVICE(zoom1_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&zoom1_serial
 };
 
board/overo/overo.c +1 -1
index 20cbec2..a38b959 100644
@@ -74,7 +74,7 @@ static const struct ns16550_platdata overo_serial = {
 };
 
 U_BOOT_DEVICE(overo_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&overo_serial
 };
 
board/quipos/cairo/cairo.c +1 -1
index b97a09a..21793e8 100644
@@ -97,7 +97,7 @@ static const struct ns16550_platdata cairo_serial = {
 };
 
 U_BOOT_DEVICE(cairo_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&cairo_serial
 };
 
board/ti/beagle/beagle.c +1 -1
index 56e3cfe..ff317ef 100644
@@ -79,7 +79,7 @@ static const struct ns16550_platdata beagle_serial = {
 };
 
 U_BOOT_DEVICE(beagle_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&beagle_serial
 };
 
board/timll/devkit8000/devkit8000.c +1 -1
index a61cc14..1a447c7 100644
@@ -52,7 +52,7 @@ static const struct ns16550_platdata devkit8000_serial = {
 };
 
 U_BOOT_DEVICE(devkit8000_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&devkit8000_serial
 };
 
drivers/serial/Makefile +0 -1
index 86ae50f..dd87147 100644
@@ -40,7 +40,6 @@ obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
 obj-$(CONFIG_MXS_AUART) += mxs_auart.o
 obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
-obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
 obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
 
 ifndef CONFIG_SPL_BUILD
drivers/serial/serial_omap.c deleted +0 -54

54 lines not on this page · raw message

include/configs/am43xx_evm.h +2 -2
index b02abd3..a962bf5 100644
@@ -23,12 +23,12 @@
 
 /* NS16550 Configuration */
 #define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK		48000000
 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
-#define CONFIG_SYS_NS16550_CLK		48000000
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
 #else
-#define CONFIG_OMAP_SERIAL
+#define CONFIG_NS16550_SERIAL
 #endif
 
 /* I2C Configuration */
include/configs/cm_t43.h +1 -1
index c4d3b94..e1019ff 100644
@@ -18,7 +18,7 @@
 #include <asm/arch/omap.h>
 
 /* Serial support */
-#define CONFIG_OMAP_SERIAL
+#define CONFIG_NS16550_SERIAL
 #define CONFIG_DM_SERIAL
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_SERIAL
include/configs/omap3_pandora.h +2 -1
index 4e93705..c15c699 100644
@@ -49,7 +49,8 @@
 /*
  * NS16550 Configuration
  */
-#undef CONFIG_OMAP_SERIAL
+#undef CONFIG_NS16550_SERIAL
+#undef CONFIG_SYS_NS16550_CLK
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
 #define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
include/configs/sniper.h +2 -2
index f168e8f..34f7f6e 100644
@@ -197,14 +197,14 @@
 
 
 #ifndef CONFIG_SPL_BUILD
-#define CONFIG_OMAP_SERIAL
+#define CONFIG_NS16550_SERIAL
 #else
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-#define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
 #endif
 
 #define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
 #define CONFIG_SYS_NS16550_COM3		OMAP34XX_UART3
 #define CONFIG_CONS_INDEX		3
 #define CONFIG_SERIAL3			3
include/configs/ti_am335x_common.h +1 -1
index 9697431..32348ab 100644
@@ -20,7 +20,7 @@
 #define CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC
 
 #ifndef CONFIG_SPL_BUILD
-# define CONFIG_OMAP_SERIAL
+# define CONFIG_NS16550_SERIAL
 #endif
 
 #include <asm/arch/omap.h>
include/configs/ti_omap3_common.h +2 -2
index e399a87..e749d5d 100644
@@ -19,7 +19,7 @@
 #include <asm/arch/omap.h>
 
 #ifndef CONFIG_SPL_BUILD
-# define CONFIG_OMAP_SERIAL
+# define CONFIG_NS16550_SERIAL
 #endif
 
 /* Common ARM Erratas */
@@ -37,10 +37,10 @@
 /* NS16550 Configuration */
 #define V_NS16550_CLK			48000000	/* 48MHz (APLL96/2) */
 #define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
 #ifdef CONFIG_SPL_BUILD
 # define CONFIG_SYS_NS16550_SERIAL
 # define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-# define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
 #endif
 #define CONFIG_SYS_BAUDRATE_TABLE	{4800, 9600, 19200, 38400, 57600, \
 					115200}
include/configs/ti_omap4_common.h +2 -2
index 741f71f..0a03cd5 100644
@@ -58,13 +58,13 @@
  * Hardware drivers
  */
 #define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK		48000000
 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-#define CONFIG_SYS_NS16550_CLK		48000000
 #define CONFIG_SYS_NS16550_COM3		UART3_BASE
 #else
-#define CONFIG_OMAP_SERIAL
+#define CONFIG_NS16550_SERIAL
 #endif
 #define CONFIG_CONS_INDEX		3
 
include/configs/ti_omap5_common.h +2 -2
index 5acbc92..be1f4c1 100644
@@ -51,12 +51,12 @@
  * Hardware drivers
  */
 #define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK		48000000
 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-#define CONFIG_SYS_NS16550_CLK		48000000
 #else
-#define CONFIG_OMAP_SERIAL
+#define CONFIG_NS16550_SERIAL
 #endif
 
 /*
Signature · 1 line
2.5.0
#31 lore raw

PATCH 11/12 ns16550: unify serial_omap

Quoted 3 lines · Thomas Chou

Unify serial_omap, and use the generic binding.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151116/01341aab/attachment.sig>
#32 lore raw

PATCH 12/12 nios2: 10m50: change to ns16550 uart

In reply to Thomas Chou

Change to ns16550 uart for 10m50 devboard based on a new Altera release.

---
 arch/nios2/dts/10m50_devboard.dts | 2 +-
 configs/10m50_defconfig           | 2 +-
 include/configs/10m50_devboard.h  | 2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)
arch/nios2/dts/10m50_devboard.dts +1 -1
index e89dbb2..05eac30 100644
@@ -262,6 +262,6 @@
 
 	chosen {
 		bootargs = "debug console=ttyS0,115200";
-		stdout-path = &uart_0;
+		stdout-path = &a_16550_uart_0;
 	};
 };
configs/10m50_defconfig +1 -1
index af2cef7..28bb353 100644
@@ -21,6 +21,6 @@ CONFIG_MTD=y
 CONFIG_ALTERA_QSPI=y
 CONFIG_DM_ETH=y
 CONFIG_ALTERA_TSE=y
-CONFIG_ALTERA_UART=y
+CONFIG_NS16550_SERIAL=y
 CONFIG_TIMER=y
 CONFIG_ALTERA_TIMER=y
include/configs/10m50_devboard.h +2 -0
index ab7dd08..dd6dcb6 100644
@@ -20,6 +20,8 @@
  */
 #define CONFIG_BAUDRATE			115200
 #define CONFIG_SYS_CONSOLE_INFO_QUIET	/* Suppress console info */
+#define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_MEM32
 
 /*
  * Flash
Signature · 1 line
2.5.0
#33 lore raw

v2 cover ns16550: add generic binding to unify the drivers

In reply to Thomas Chou

Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific.

The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock().

v2
use default in driver Kconfig as suggested by Bin Meng. remove extra #ifdef CONFIG_NS16550_SERIAL.
zap CONFIG_NS16550_SERIAL.
move CONFIG_SYS_NS16550 to Kconfig.

Thomas Chou (13):
debug_uart: restore ns16550 as default
ns16550: change map_sysmem to map_physmem
ns16550: add generic binding to unify the drivers
ns16550: unify serial_x86
ns16550: unify serial_ppc
ns16550: unify serial_rockchip
ns16550: unify serial_keystone
ns16550: unify serial_dw
ns16550: unify serial_tegra
ns16550: unify serial_omap
ns16550: zap CONFIG_NS16550_SERIAL
ns16550: move CONFIG_SYS_NS16550 to Kconfig
nios2: 10m50: change to ns16550 uart

 arch/arm/dts/rk3288.dtsi                           |  5 ++
 arch/arm/include/asm/arch-lpc32xx/config.h         |  1 -
 arch/arm/mach-rockchip/Kconfig                     |  3 --
 arch/arm/mach-tegra/board.c                        | 14 ++++++
 arch/nios2/dts/10m50_devboard.dts                  |  2 +-
 arch/powerpc/include/asm/config.h                  |  4 ++
 arch/x86/dts/serial.dtsi                           |  2 +-
 board/isee/igep00x0/igep00x0.c                     |  2 +-
 board/lge/sniper/sniper.c                          |  2 +-
 board/logicpd/omap3som/omap3logic.c                |  2 +-
 board/logicpd/zoom1/zoom1.c                        |  2 +-
 board/overo/overo.c                                |  2 +-
 board/quipos/cairo/cairo.c                         |  2 +-
 board/ti/beagle/beagle.c                           |  2 +-
 board/timll/devkit8000/devkit8000.c                |  2 +-
 configs/10m50_defconfig                            |  2 +-
 configs/A10-OLinuXino-Lime_defconfig               |  1 +
 configs/A10s-OLinuXino-M_defconfig                 |  3 +-
 configs/A13-OLinuXinoM_defconfig                   |  3 +-
 configs/A13-OLinuXino_defconfig                    |  4 +-
 configs/A20-OLinuXino-Lime2_defconfig              |  1 +
 configs/A20-OLinuXino-Lime_defconfig               |  1 +
 configs/A20-OLinuXino_MICRO_defconfig              |  1 +
 configs/A20-Olimex-SOM-EVB_defconfig               |  1 +
 configs/Ainol_AW1_defconfig                        |  1 +
 configs/Ampe_A76_defconfig                         |  1 +
 configs/Auxtek-T003_defconfig                      |  3 +-
 configs/Auxtek-T004_defconfig                      |  3 +-
 configs/B4420QDS_NAND_defconfig                    |  1 +
 configs/B4420QDS_SPIFLASH_defconfig                |  1 +
 configs/B4420QDS_defconfig                         |  1 +
 configs/B4860QDS_NAND_defconfig                    |  1 +
 configs/B4860QDS_SECURE_BOOT_defconfig             |  1 +
 configs/B4860QDS_SPIFLASH_defconfig                |  1 +
 configs/B4860QDS_SRIO_PCIE_BOOT_defconfig          |  1 +
 configs/B4860QDS_defconfig                         |  1 +
 configs/BSC9131RDB_NAND_SYSCLK100_defconfig        |  1 +
 configs/BSC9131RDB_NAND_defconfig                  |  1 +
 configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig    |  1 +
 configs/BSC9131RDB_SPIFLASH_defconfig              |  1 +
 configs/BSC9132QDS_NAND_DDRCLK100_SECURE_defconfig |  1 +
 configs/BSC9132QDS_NAND_DDRCLK100_defconfig        |  1 +
 configs/BSC9132QDS_NAND_DDRCLK133_SECURE_defconfig |  1 +
 configs/BSC9132QDS_NAND_DDRCLK133_defconfig        |  1 +
 configs/BSC9132QDS_NOR_DDRCLK100_SECURE_defconfig  |  1 +
 configs/BSC9132QDS_NOR_DDRCLK100_defconfig         |  1 +
 configs/BSC9132QDS_NOR_DDRCLK133_SECURE_defconfig  |  1 +
 configs/BSC9132QDS_NOR_DDRCLK133_defconfig         |  1 +
 .../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig   |  1 +
 configs/BSC9132QDS_SDCARD_DDRCLK100_defconfig      |  1 +
 .../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig   |  1 +
 configs/BSC9132QDS_SDCARD_DDRCLK133_defconfig      |  1 +
 .../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig |  1 +
 configs/BSC9132QDS_SPIFLASH_DDRCLK100_defconfig    |  1 +
 .../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig |  1 +
 configs/BSC9132QDS_SPIFLASH_DDRCLK133_defconfig    |  1 +
 configs/Bananapi_defconfig                         |  1 +
 configs/Bananapro_defconfig                        |  1 +
 configs/C29XPCIE_NAND_defconfig                    |  1 +
 configs/C29XPCIE_NOR_SECBOOT_defconfig             |  1 +
 configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig        |  1 +
 configs/C29XPCIE_SPIFLASH_defconfig                |  1 +
 configs/C29XPCIE_defconfig                         |  1 +
 configs/CHIP_defconfig                             |  1 +
 configs/CPCI2DP_defconfig                          |  1 +
 configs/CPCI4052_defconfig                         |  1 +
 configs/CSQ_CS908_defconfig                        |  3 +-
 configs/Chuwi_V7_CW0825_defconfig                  |  1 +
 configs/Colombus_defconfig                         |  1 +
 configs/Cubieboard2_defconfig                      |  1 +
 configs/Cubieboard_defconfig                       |  1 +
 configs/Cubietruck_defconfig                       |  8 ++--
 configs/Cyrus_P5020_defconfig                      |  3 +-
 configs/Cyrus_P5040_defconfig                      |  3 +-
 configs/Hummingbird_A31_defconfig                  |  1 +
 configs/Hyundai_A7HD_defconfig                     |  1 +
 configs/Linksprite_pcDuino3_Nano_defconfig         |  1 +
 configs/Linksprite_pcDuino3_defconfig              |  1 +
 configs/Linksprite_pcDuino_defconfig               |  1 +
 configs/MIP405T_defconfig                          |  1 +
 configs/MIP405_defconfig                           |  1 +
 configs/MK808C_defconfig                           |  1 +
 configs/MPC8308RDB_defconfig                       |  1 +
 configs/MPC8313ERDB_33_defconfig                   |  1 +
 configs/MPC8313ERDB_66_defconfig                   |  1 +
 configs/MPC8313ERDB_NAND_33_defconfig              |  1 +
 configs/MPC8313ERDB_NAND_66_defconfig              |  1 +
 configs/MPC8315ERDB_defconfig                      |  1 +
 configs/MPC8323ERDB_defconfig                      |  1 +
 configs/MPC832XEMDS_ATM_defconfig                  |  1 +
 configs/MPC832XEMDS_HOST_33_defconfig              |  1 +
 configs/MPC832XEMDS_HOST_66_defconfig              |  1 +
 configs/MPC832XEMDS_SLAVE_defconfig                |  1 +
 configs/MPC832XEMDS_defconfig                      |  1 +
 configs/MPC8349EMDS_defconfig                      |  1 +
 configs/MPC8349ITXGP_defconfig                     |  1 +
 configs/MPC8349ITX_LOWBOOT_defconfig               |  1 +
 configs/MPC8349ITX_defconfig                       |  1 +
 configs/MPC837XEMDS_HOST_defconfig                 |  1 +
 configs/MPC837XEMDS_defconfig                      |  1 +
 configs/MPC837XERDB_defconfig                      |  1 +
 configs/MPC8536DS_36BIT_defconfig                  |  1 +
 configs/MPC8536DS_SDCARD_defconfig                 |  1 +
 configs/MPC8536DS_SPIFLASH_defconfig               |  1 +
 configs/MPC8536DS_defconfig                        |  1 +
 configs/MPC8540ADS_defconfig                       |  1 +
 configs/MPC8541CDS_defconfig                       |  1 +
 configs/MPC8541CDS_legacy_defconfig                |  1 +
 configs/MPC8544DS_defconfig                        |  1 +
 configs/MPC8548CDS_36BIT_defconfig                 |  1 +
 configs/MPC8548CDS_defconfig                       |  1 +
 configs/MPC8548CDS_legacy_defconfig                |  1 +
 configs/MPC8555CDS_defconfig                       |  1 +
 configs/MPC8555CDS_legacy_defconfig                |  1 +
 configs/MPC8568MDS_defconfig                       |  1 +
 configs/MPC8569MDS_ATM_defconfig                   |  1 +
 configs/MPC8569MDS_defconfig                       |  1 +
 configs/MPC8572DS_36BIT_defconfig                  |  1 +
 configs/MPC8572DS_defconfig                        |  1 +
 configs/MPC8610HPCD_defconfig                      |  1 +
 configs/MPC8641HPCN_36BIT_defconfig                |  1 +
 configs/MPC8641HPCN_defconfig                      |  1 +
 configs/MSI_Primo73_defconfig                      |  1 +
 configs/MSI_Primo81_defconfig                      |  1 +
 configs/Marsboard_A10_defconfig                    |  1 +
 configs/Mele_A1000G_quad_defconfig                 |  3 +-
 configs/Mele_A1000_defconfig                       |  1 +
 configs/Mele_I7_defconfig                          |  3 +-
 configs/Mele_M3_defconfig                          |  1 +
 configs/Mele_M5_defconfig                          |  1 +
 configs/Mele_M9_defconfig                          |  3 +-
 configs/Merrii_A80_Optimus_defconfig               |  1 +
 configs/Mini-X_defconfig                           |  1 +
 configs/Orangepi_defconfig                         |  1 +
 configs/Orangepi_mini_defconfig                    |  1 +
 configs/P1010RDB-PA_36BIT_NAND_SECBOOT_defconfig   |  1 +
 configs/P1010RDB-PA_36BIT_NAND_defconfig           |  1 +
 configs/P1010RDB-PA_36BIT_NOR_SECBOOT_defconfig    |  1 +
 configs/P1010RDB-PA_36BIT_NOR_defconfig            |  1 +
 configs/P1010RDB-PA_36BIT_SDCARD_defconfig         |  1 +
 .../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig   |  1 +
 configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig       |  1 +
 configs/P1010RDB-PA_NAND_SECBOOT_defconfig         |  1 +
 configs/P1010RDB-PA_NAND_defconfig                 |  1 +
 configs/P1010RDB-PA_NOR_SECBOOT_defconfig          |  1 +
 configs/P1010RDB-PA_NOR_defconfig                  |  1 +
 configs/P1010RDB-PA_SDCARD_defconfig               |  1 +
 configs/P1010RDB-PA_SPIFLASH_SECBOOT_defconfig     |  1 +
 configs/P1010RDB-PA_SPIFLASH_defconfig             |  1 +
 configs/P1010RDB-PB_36BIT_NAND_SECBOOT_defconfig   |  1 +
 configs/P1010RDB-PB_36BIT_NAND_defconfig           |  1 +
 configs/P1010RDB-PB_36BIT_NOR_SECBOOT_defconfig    |  1 +
 configs/P1010RDB-PB_36BIT_NOR_defconfig            |  1 +
 configs/P1010RDB-PB_36BIT_SDCARD_defconfig         |  1 +
 .../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig   |  1 +
 configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig       |  1 +
 configs/P1010RDB-PB_NAND_SECBOOT_defconfig         |  1 +
 configs/P1010RDB-PB_NAND_defconfig                 |  1 +
 configs/P1010RDB-PB_NOR_SECBOOT_defconfig          |  1 +
 configs/P1010RDB-PB_NOR_defconfig                  |  1 +
 configs/P1010RDB-PB_SDCARD_defconfig               |  1 +
 configs/P1010RDB-PB_SPIFLASH_SECBOOT_defconfig     |  1 +
 configs/P1010RDB-PB_SPIFLASH_defconfig             |  1 +
 configs/P1020MBG-PC_36BIT_SDCARD_defconfig         |  1 +
 configs/P1020MBG-PC_36BIT_defconfig                |  1 +
 configs/P1020MBG-PC_SDCARD_defconfig               |  1 +
 configs/P1020MBG-PC_defconfig                      |  1 +
 configs/P1020RDB-PC_36BIT_NAND_defconfig           |  1 +
 configs/P1020RDB-PC_36BIT_SDCARD_defconfig         |  1 +
 configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig       |  1 +
 configs/P1020RDB-PC_36BIT_defconfig                |  1 +
 configs/P1020RDB-PC_NAND_defconfig                 |  1 +
 configs/P1020RDB-PC_SDCARD_defconfig               |  1 +
 configs/P1020RDB-PC_SPIFLASH_defconfig             |  1 +
 configs/P1020RDB-PC_defconfig                      |  1 +
 configs/P1020RDB-PD_NAND_defconfig                 |  1 +
 configs/P1020RDB-PD_SDCARD_defconfig               |  1 +
 configs/P1020RDB-PD_SPIFLASH_defconfig             |  1 +
 configs/P1020RDB-PD_defconfig                      |  1 +
 configs/P1020UTM-PC_36BIT_SDCARD_defconfig         |  1 +
 configs/P1020UTM-PC_36BIT_defconfig                |  1 +
 configs/P1020UTM-PC_SDCARD_defconfig               |  1 +
 configs/P1020UTM-PC_defconfig                      |  1 +
 configs/P1021RDB-PC_36BIT_NAND_defconfig           |  1 +
 configs/P1021RDB-PC_36BIT_SDCARD_defconfig         |  1 +
 configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig       |  1 +
 configs/P1021RDB-PC_36BIT_defconfig                |  1 +
 configs/P1021RDB-PC_NAND_defconfig                 |  1 +
 configs/P1021RDB-PC_SDCARD_defconfig               |  1 +
 configs/P1021RDB-PC_SPIFLASH_defconfig             |  1 +
 configs/P1021RDB-PC_defconfig                      |  1 +
 configs/P1022DS_36BIT_NAND_defconfig               |  1 +
 configs/P1022DS_36BIT_SDCARD_defconfig             |  1 +
 configs/P1022DS_36BIT_SPIFLASH_defconfig           |  1 +
 configs/P1022DS_36BIT_defconfig                    |  1 +
 configs/P1022DS_NAND_defconfig                     |  1 +
 configs/P1022DS_SDCARD_defconfig                   |  1 +
 configs/P1022DS_SPIFLASH_defconfig                 |  1 +
 configs/P1022DS_defconfig                          |  1 +
 configs/P1023RDB_defconfig                         |  1 +
 configs/P1024RDB_36BIT_defconfig                   |  1 +
 configs/P1024RDB_NAND_defconfig                    |  1 +
 configs/P1024RDB_SDCARD_defconfig                  |  1 +
 configs/P1024RDB_SPIFLASH_defconfig                |  1 +
 configs/P1024RDB_defconfig                         |  1 +
 configs/P1025RDB_36BIT_defconfig                   |  1 +
 configs/P1025RDB_NAND_defconfig                    |  1 +
 configs/P1025RDB_SDCARD_defconfig                  |  1 +
 configs/P1025RDB_SPIFLASH_defconfig                |  1 +
 configs/P1025RDB_defconfig                         |  1 +
 configs/P2020RDB-PC_36BIT_NAND_defconfig           |  1 +
 configs/P2020RDB-PC_36BIT_SDCARD_defconfig         |  1 +
 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig       |  1 +
 configs/P2020RDB-PC_36BIT_defconfig                |  1 +
 configs/P2020RDB-PC_NAND_defconfig                 |  1 +
 configs/P2020RDB-PC_SDCARD_defconfig               |  1 +
 configs/P2020RDB-PC_SPIFLASH_defconfig             |  1 +
 configs/P2020RDB-PC_defconfig                      |  1 +
 configs/P2041RDB_NAND_defconfig                    |  1 +
 configs/P2041RDB_SDCARD_defconfig                  |  1 +
 configs/P2041RDB_SECURE_BOOT_defconfig             |  1 +
 configs/P2041RDB_SPIFLASH_defconfig                |  1 +
 configs/P2041RDB_SRIO_PCIE_BOOT_defconfig          |  1 +
 configs/P2041RDB_defconfig                         |  1 +
 configs/P3041DS_NAND_SECURE_BOOT_defconfig         |  1 +
 configs/P3041DS_NAND_defconfig                     |  1 +
 configs/P3041DS_SDCARD_defconfig                   |  1 +
 configs/P3041DS_SECURE_BOOT_defconfig              |  1 +
 configs/P3041DS_SPIFLASH_defconfig                 |  1 +
 configs/P3041DS_SRIO_PCIE_BOOT_defconfig           |  1 +
 configs/P3041DS_defconfig                          |  1 +
 configs/P4080DS_SDCARD_defconfig                   |  1 +
 configs/P4080DS_SECURE_BOOT_defconfig              |  1 +
 configs/P4080DS_SPIFLASH_defconfig                 |  1 +
 configs/P4080DS_SRIO_PCIE_BOOT_defconfig           |  1 +
 configs/P4080DS_defconfig                          |  1 +
 configs/P5020DS_NAND_SECURE_BOOT_defconfig         |  1 +
 configs/P5020DS_NAND_defconfig                     |  1 +
 configs/P5020DS_SDCARD_defconfig                   |  1 +
 configs/P5020DS_SECURE_BOOT_defconfig              |  1 +
 configs/P5020DS_SPIFLASH_defconfig                 |  1 +
 configs/P5020DS_SRIO_PCIE_BOOT_defconfig           |  1 +
 configs/P5020DS_defconfig                          |  1 +
 configs/P5040DS_NAND_SECURE_BOOT_defconfig         |  1 +
 configs/P5040DS_NAND_defconfig                     |  1 +
 configs/P5040DS_SDCARD_defconfig                   |  1 +
 configs/P5040DS_SECURE_BOOT_defconfig              |  1 +
 configs/P5040DS_SPIFLASH_defconfig                 |  1 +
 configs/P5040DS_defconfig                          |  1 +
 configs/PIP405_defconfig                           |  1 +
 configs/PLU405_defconfig                           |  1 +
 configs/PMC405DE_defconfig                         |  1 +
 configs/PMC440_defconfig                           |  1 +
 configs/Sinlinx_SinA33_defconfig                   |  1 +
 configs/Sinovoip_BPI_M2_defconfig                  |  3 +-
 configs/T1023RDB_NAND_defconfig                    |  1 +
 configs/T1023RDB_SDCARD_defconfig                  |  1 +
 configs/T1023RDB_SECURE_BOOT_defconfig             |  1 +
 configs/T1023RDB_SPIFLASH_defconfig                |  1 +
 configs/T1023RDB_defconfig                         |  1 +
 configs/T1024QDS_DDR4_SECURE_BOOT_defconfig        |  1 +
 configs/T1024QDS_DDR4_defconfig                    |  1 +
 configs/T1024QDS_NAND_defconfig                    |  1 +
 configs/T1024QDS_SDCARD_defconfig                  |  1 +
 configs/T1024QDS_SECURE_BOOT_defconfig             |  1 +
 configs/T1024QDS_SPIFLASH_defconfig                |  1 +
 configs/T1024QDS_defconfig                         |  1 +
 configs/T1024RDB_NAND_defconfig                    |  1 +
 configs/T1024RDB_SDCARD_defconfig                  |  1 +
 configs/T1024RDB_SECURE_BOOT_defconfig             |  1 +
 configs/T1024RDB_SPIFLASH_defconfig                |  1 +
 configs/T1024RDB_defconfig                         |  1 +
 configs/T1040D4RDB_NAND_defconfig                  |  1 +
 configs/T1040D4RDB_SDCARD_defconfig                |  1 +
 configs/T1040D4RDB_SECURE_BOOT_defconfig           |  1 +
 configs/T1040D4RDB_SPIFLASH_defconfig              |  1 +
 configs/T1040D4RDB_defconfig                       |  1 +
 configs/T1040QDS_DDR4_defconfig                    |  1 +
 configs/T1040QDS_SECURE_BOOT_defconfig             |  1 +
 configs/T1040QDS_defconfig                         |  1 +
 configs/T1040RDB_NAND_defconfig                    |  1 +
 configs/T1040RDB_SDCARD_defconfig                  |  1 +
 configs/T1040RDB_SECURE_BOOT_defconfig             |  1 +
 configs/T1040RDB_SPIFLASH_defconfig                |  1 +
 configs/T1040RDB_defconfig                         |  1 +
 configs/T1042D4RDB_NAND_defconfig                  |  1 +
 configs/T1042D4RDB_SDCARD_defconfig                |  1 +
 configs/T1042D4RDB_SECURE_BOOT_defconfig           |  1 +
 configs/T1042D4RDB_SPIFLASH_defconfig              |  1 +
 configs/T1042D4RDB_defconfig                       |  1 +
 configs/T1042RDB_PI_NAND_defconfig                 |  1 +
 configs/T1042RDB_PI_SDCARD_defconfig               |  1 +
 configs/T1042RDB_PI_SPIFLASH_defconfig             |  1 +
 configs/T1042RDB_PI_defconfig                      |  1 +
 configs/T1042RDB_SECURE_BOOT_defconfig             |  1 +
 configs/T1042RDB_defconfig                         |  1 +
 configs/T2080QDS_NAND_defconfig                    |  1 +
 configs/T2080QDS_SDCARD_defconfig                  |  1 +
 configs/T2080QDS_SECURE_BOOT_defconfig             |  1 +
 configs/T2080QDS_SPIFLASH_defconfig                |  1 +
 configs/T2080QDS_SRIO_PCIE_BOOT_defconfig          |  1 +
 configs/T2080QDS_defconfig                         |  1 +
 configs/T2080RDB_NAND_defconfig                    |  1 +
 configs/T2080RDB_SDCARD_defconfig                  |  1 +
 configs/T2080RDB_SECURE_BOOT_defconfig             |  1 +
 configs/T2080RDB_SPIFLASH_defconfig                |  1 +
 configs/T2080RDB_SRIO_PCIE_BOOT_defconfig          |  1 +
 configs/T2080RDB_defconfig                         |  1 +
 configs/T2081QDS_NAND_defconfig                    |  1 +
 configs/T2081QDS_SDCARD_defconfig                  |  1 +
 configs/T2081QDS_SPIFLASH_defconfig                |  1 +
 configs/T2081QDS_SRIO_PCIE_BOOT_defconfig          |  1 +
 configs/T2081QDS_defconfig                         |  1 +
 configs/T4160QDS_NAND_defconfig                    |  1 +
 configs/T4160QDS_SDCARD_defconfig                  |  1 +
 configs/T4160QDS_SECURE_BOOT_defconfig             |  1 +
 configs/T4160QDS_defconfig                         |  1 +
 configs/T4160RDB_defconfig                         |  1 +
 configs/T4240QDS_NAND_defconfig                    |  1 +
 configs/T4240QDS_SDCARD_defconfig                  |  1 +
 configs/T4240QDS_SECURE_BOOT_defconfig             |  1 +
 configs/T4240QDS_SRIO_PCIE_BOOT_defconfig          |  1 +
 configs/T4240QDS_defconfig                         |  1 +
 configs/T4240RDB_SDCARD_defconfig                  |  1 +
 configs/T4240RDB_defconfig                         |  1 +
 configs/TQM834x_defconfig                          |  1 +
 configs/TWR-P1025_defconfig                        |  1 +
 configs/UCP1020_SPIFLASH_defconfig                 |  1 +
 configs/UCP1020_defconfig                          |  1 +
 configs/UTOO_P66_defconfig                         |  1 +
 configs/VOM405_defconfig                           |  1 +
 configs/Wexler_TAB7200_defconfig                   |  1 +
 configs/Wits_Pro_A20_DKT_defconfig                 |  1 +
 configs/Wobo_i5_defconfig                          |  1 +
 configs/Yones_Toptech_BD1078_defconfig             |  1 +
 configs/acadia_defconfig                           |  1 +
 configs/adp-ag101p_defconfig                       |  1 +
 configs/am335x_baltos_defconfig                    |  3 +-
 configs/am335x_boneblack_defconfig                 |  3 +-
 configs/am335x_boneblack_vboot_defconfig           |  5 +-
 configs/am335x_evm_defconfig                       |  3 +-
 configs/am335x_evm_nor_defconfig                   |  3 +-
 configs/am335x_evm_norboot_defconfig               |  1 +
 configs/am335x_evm_spiboot_defconfig               |  3 +-
 configs/am335x_evm_usbspl_defconfig                |  3 +-
 configs/am335x_gp_evm_defconfig                    |  7 +--
 configs/am335x_igep0033_defconfig                  |  3 +-
 configs/am335x_sl50_defconfig                      |  3 +-
 configs/am3517_crane_defconfig                     |  1 +
 configs/am3517_evm_defconfig                       |  1 +
 configs/am437x_gp_evm_defconfig                    | 10 ++--
 configs/am437x_sk_evm_defconfig                    | 10 ++--
 configs/am43xx_evm_defconfig                       |  1 +
 configs/am43xx_evm_ethboot_defconfig               |  1 +
 configs/am43xx_evm_qspiboot_defconfig              |  1 +
 configs/am43xx_evm_usbhost_boot_defconfig          |  1 +
 configs/am57xx_evm_defconfig                       |  9 ++--
 configs/apalis_t30_defconfig                       |  1 +
 configs/arches_defconfig                           |  1 +
 configs/aspenite_defconfig                         |  1 +
 configs/axs101_defconfig                           |  1 +
 configs/axs103_defconfig                           |  1 +
 configs/ba10_tv_box_defconfig                      |  1 +
 configs/bamboo_defconfig                           |  1 +
 configs/bayleybay_defconfig                        |  1 +
 configs/bcm11130_defconfig                         |  1 +
 configs/bcm11130_nand_defconfig                    |  1 +
 configs/bcm28155_ap_defconfig                      |  1 +
 configs/bcm28155_w1d_defconfig                     |  1 +
 configs/bcm911360_entphn-ns_defconfig              |  1 +
 configs/bcm911360_entphn_defconfig                 |  1 +
 configs/bcm911360k_defconfig                       |  1 +
 configs/bcm958300k-ns_defconfig                    |  1 +
 configs/bcm958300k_defconfig                       |  1 +
 configs/bcm958305k_defconfig                       |  1 +
 configs/bcm958622hr_defconfig                      |  1 +
 configs/beagle_x15_defconfig                       |  1 +
 configs/beaver_defconfig                           |  1 +
 configs/bf527-ezkit_defconfig                      |  2 +-
 configs/birdland_bav335a_defconfig                 |  1 +
 configs/birdland_bav335b_defconfig                 |  1 +
 configs/bubinga_defconfig                          |  1 +
 configs/caddy2_defconfig                           |  1 +
 configs/cairo_defconfig                            |  1 +
 configs/calimain_defconfig                         |  1 +
 configs/canyonlands_defconfig                      |  1 +
 configs/cardhu_defconfig                           |  1 +
 configs/chromebook_jerry_defconfig                 |  3 +-
 configs/chromebook_link_defconfig                  |  3 +-
 configs/chromebox_panther_defconfig                |  2 +-
 configs/cm_t335_defconfig                          |  1 +
 configs/cm_t3517_defconfig                         |  1 +
 configs/cm_t35_defconfig                           |  1 +
 configs/cm_t43_defconfig                           |  1 +
 configs/cm_t54_defconfig                           |  1 +
 configs/colibri_t20_defconfig                      |  1 +
 configs/colibri_t30_defconfig                      |  1 +
 .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  |  5 +-
 configs/controlcenterd_36BIT_SDCARD_defconfig      |  5 +-
 .../controlcenterd_TRAILBLAZER_DEVELOP_defconfig   |  3 +-
 configs/controlcenterd_TRAILBLAZER_defconfig       |  3 +-
 configs/coreboot-x86_defconfig                     |  2 +-
 configs/crownbay_defconfig                         |  1 +
 configs/d2net_v2_defconfig                         |  1 +
 configs/da850_am18xxevm_defconfig                  |  1 +
 configs/da850evm_defconfig                         |  1 +
 configs/da850evm_direct_nor_defconfig              |  1 +
 configs/dalmore_defconfig                          |  1 +
 configs/db-88f6820-gp_defconfig                    |  1 +
 configs/db-mv784mp-gp_defconfig                    |  1 +
 configs/devconcenter_defconfig                     |  1 +
 configs/devkit3250_defconfig                       |  1 +
 configs/devkit8000_defconfig                       |  1 +
 configs/dlvision-10g_defconfig                     |  1 +
 configs/dlvision_defconfig                         |  1 +
 configs/dns325_defconfig                           |  1 +
 configs/dockstar_defconfig                         |  1 +
 configs/dra72_evm_defconfig                        |  1 +
 configs/dra74_evm_defconfig                        |  6 +--
 configs/dra7xx_evm_defconfig                       |  3 +-
 configs/dra7xx_evm_qspiboot_defconfig              |  3 +-
 configs/dra7xx_evm_uart3_defconfig                 |  3 +-
 configs/draco_defconfig                            |  1 +
 configs/dreamplug_defconfig                        |  9 ++--
 configs/duovero_defconfig                          |  1 +
 configs/e2220-1170_defconfig                       |  1 +
 configs/ea20_defconfig                             |  1 +
 configs/eco5pk_defconfig                           |  1 +
 configs/edminiv2_defconfig                         |  1 +
 configs/efi-x86_defconfig                          |  1 -
 configs/firefly-rk3288_defconfig                   |  3 +-
 configs/fx12mm_defconfig                           |  1 +
 configs/fx12mm_flash_defconfig                     |  1 +
 configs/ga10h_v1_1_defconfig                       |  1 +
 configs/galileo_defconfig                          |  1 +
 configs/gdppc440etx_defconfig                      |  1 +
 configs/glacier_defconfig                          |  1 +
 configs/glacier_ramboot_defconfig                  |  1 +
 configs/goflexhome_defconfig                       |  1 +
 configs/gplugd_defconfig                           |  1 +
 configs/gr_xc3s_1500_defconfig                     |  2 +-
 configs/gt90h_v4_defconfig                         |  1 +
 configs/guruplug_defconfig                         |  7 +--
 configs/gwventana_defconfig                        |  2 +-
 configs/haleakala_defconfig                        |  1 +
 configs/harmony_defconfig                          |  1 +
 configs/hrcon_defconfig                            |  1 +
 configs/hrcon_dh_defconfig                         |  4 +-
 configs/i12-tvbox_defconfig                        |  1 +
 configs/iNet_3F_defconfig                          |  1 +
 configs/iNet_3W_defconfig                          |  1 +
 configs/iNet_86VS_defconfig                        |  1 +
 configs/ib62x0_defconfig                           |  7 +--
 configs/icon_defconfig                             |  1 +
 configs/iconnect_defconfig                         |  1 +
 configs/ids8313_defconfig                          |  1 +
 configs/igep0020_defconfig                         |  1 +
 configs/igep0020_nand_defconfig                    |  1 +
 configs/igep0030_defconfig                         |  1 +
 configs/igep0030_nand_defconfig                    |  1 +
 configs/igep0032_defconfig                         |  1 +
 configs/inet1_defconfig                            |  1 +
 configs/inet97fv2_defconfig                        |  1 +
 configs/inet98v_rev2_defconfig                     |  1 +
 configs/inet9f_rev03_defconfig                     |  1 +
 configs/inetspace_v2_defconfig                     |  1 +
 configs/intip_defconfig                            |  1 +
 configs/io64_defconfig                             |  1 +
 configs/io_defconfig                               |  1 +
 configs/iocon_defconfig                            |  1 +
 configs/ipam390_defconfig                          |  1 +
 configs/jesurun_q5_defconfig                       |  1 +
 configs/jetson-tk1_defconfig                       |  1 +
 configs/k2e_evm_defconfig                          |  1 +
 configs/k2g_evm_defconfig                          |  7 ++-
 configs/k2hk_evm_defconfig                         |  1 +
 configs/k2l_evm_defconfig                          |  1 +
 configs/katmai_defconfig                           |  1 +
 configs/kilauea_defconfig                          |  1 +
 configs/km_kirkwood_128m16_defconfig               |  1 +
 configs/km_kirkwood_defconfig                      |  1 +
 configs/km_kirkwood_pci_defconfig                  |  1 +
 configs/kmcoge4_defconfig                          |  1 +
 configs/kmcoge5ne_defconfig                        |  1 +
 configs/kmcoge5un_defconfig                        |  1 +
 configs/kmeter1_defconfig                          |  1 +
 configs/kmlion1_defconfig                          |  1 +
 configs/kmnusa_defconfig                           |  1 +
 configs/kmopti2_defconfig                          |  1 +
 configs/kmsugp1_defconfig                          |  1 +
 configs/kmsupx5_defconfig                          |  1 +
 configs/kmsuv31_defconfig                          |  1 +
 configs/kmvect1_defconfig                          |  1 +
 configs/kwb_defconfig                              |  1 +
 configs/ls1021aqds_ddr4_nor_defconfig              |  1 +
 configs/ls1021aqds_nand_defconfig                  |  1 +
 configs/ls1021aqds_nor_SECURE_BOOT_defconfig       |  1 +
 configs/ls1021aqds_nor_defconfig                   |  1 +
 configs/ls1021aqds_qspi_defconfig                  |  1 +
 configs/ls1021aqds_sdcard_defconfig                |  1 +
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig       |  1 +
 configs/ls1021atwr_nor_defconfig                   |  1 +
 configs/ls1021atwr_qspi_defconfig                  |  1 +
 configs/ls1021atwr_sdcard_ifc_defconfig            |  1 +
 configs/ls1021atwr_sdcard_qspi_defconfig           |  5 +-
 configs/ls1043ardb_defconfig                       |  4 +-
 configs/ls1043ardb_nand_defconfig                  |  5 +-
 configs/ls1043ardb_sdcard_defconfig                |  5 +-
 configs/ls2085a_emu_defconfig                      |  1 +
 configs/ls2085a_simu_defconfig                     |  1 +
 configs/ls2085aqds_defconfig                       |  1 +
 configs/ls2085aqds_nand_defconfig                  |  1 +
 configs/ls2085ardb_defconfig                       |  1 +
 configs/ls2085ardb_nand_defconfig                  |  1 +
 configs/lschlv2_defconfig                          |  1 +
 configs/lsxhl_defconfig                            |  1 +
 configs/luan_defconfig                             |  1 +
 configs/lwmon5_defconfig                           |  1 +
 configs/makalu_defconfig                           |  1 +
 configs/malta_defconfig                            |  1 +
 configs/maltael_defconfig                          |  1 +
 configs/maxbcm_defconfig                           |  1 +
 configs/mcx_defconfig                              |  1 +
 configs/medcom-wide_defconfig                      |  1 +
 configs/mgcoge3un_defconfig                        |  1 +
 configs/minnowmax_defconfig                        |  2 +-
 configs/mixtile_loftq_defconfig                    |  1 +
 configs/mk802_a10s_defconfig                       |  3 +-
 configs/mk802_defconfig                            |  3 +-
 configs/mk802ii_defconfig                          |  1 +
 configs/mpc8308_p1m_defconfig                      |  1 +
 configs/mt_ventoux_defconfig                       |  1 +
 configs/nas220_defconfig                           |  1 +
 configs/neo_defconfig                              |  1 +
 configs/net2big_v2_defconfig                       |  1 +
 configs/netspace_lite_v2_defconfig                 |  1 +
 configs/netspace_max_v2_defconfig                  |  1 +
 configs/netspace_mini_v2_defconfig                 |  1 +
 configs/netspace_v2_defconfig                      |  1 +
 configs/nokia_rx51_defconfig                       |  1 +
 configs/nyan-big_defconfig                         |  2 +-
 configs/odroid-xu3_defconfig                       | 10 ++--
 configs/omap3_beagle_defconfig                     |  1 +
 configs/omap3_evm_defconfig                        |  1 +
 configs/omap3_evm_quick_mmc_defconfig              |  1 +
 configs/omap3_evm_quick_nand_defconfig             |  1 +
 configs/omap3_ha_defconfig                         |  1 +
 configs/omap3_logic_defconfig                      |  1 +
 configs/omap3_overo_defconfig                      |  1 +
 configs/omap3_pandora_defconfig                    |  1 +
 configs/omap3_zoom1_defconfig                      |  1 +
 configs/omap4_panda_defconfig                      |  1 +
 configs/omap4_sdp4430_defconfig                    |  1 +
 configs/omap5_uevm_defconfig                       |  1 +
 configs/omapl138_lcdk_defconfig                    |  1 +
 configs/openrd_base_defconfig                      |  1 +
 configs/openrd_client_defconfig                    |  1 +
 configs/openrd_ultimate_defconfig                  |  1 +
 configs/openrisc-generic_defconfig                 |  1 +
 configs/p2371-0000_defconfig                       |  1 +
 configs/p2371-2180_defconfig                       |  1 +
 configs/p2571_defconfig                            |  1 +
 configs/paz00_defconfig                            |  1 +
 configs/pcm051_rev1_defconfig                      |  1 +
 configs/pcm051_rev3_defconfig                      |  1 +
 configs/pcm052_defconfig                           |  1 -
 configs/peach-pi_defconfig                         |  1 -
 configs/peach-pit_defconfig                        |  1 -
 configs/pengwyn_defconfig                          |  1 +
 configs/pepper_defconfig                           |  1 +
 configs/plutux_defconfig                           |  1 +
 configs/pogo_e02_defconfig                         |  1 +
 configs/portl2_defconfig                           |  1 +
 configs/pov_protab2_ips9_defconfig                 |  1 +
 configs/pxm2_defconfig                             |  1 +
 configs/q8_a13_tablet_defconfig                    |  1 +
 configs/q8_a23_tablet_800x480_defconfig            |  1 +
 configs/q8_a33_tablet_1024x600_defconfig           |  1 +
 configs/q8_a33_tablet_800x480_defconfig            |  1 +
 configs/qemu-ppce500_defconfig                     |  1 +
 configs/qemu-x86_defconfig                         |  1 +
 configs/qemu_mips64_defconfig                      |  1 +
 configs/qemu_mips64el_defconfig                    |  1 +
 configs/qemu_mips_defconfig                        |  1 +
 configs/qemu_mipsel_defconfig                      |  1 +
 configs/r7-tv-dongle_defconfig                     |  3 +-
 configs/rainier_defconfig                          |  1 +
 configs/rainier_ramboot_defconfig                  |  1 +
 configs/rastaban_defconfig                         |  1 +
 configs/redwood_defconfig                          |  1 +
 configs/rut_defconfig                              |  1 +
 configs/sandbox_defconfig                          |  9 ++--
 configs/sbc8349_PCI_33_defconfig                   |  1 +
 configs/sbc8349_PCI_66_defconfig                   |  1 +
 configs/sbc8349_defconfig                          |  1 +
 configs/sbc8548_PCI_33_PCIE_defconfig              |  1 +
 configs/sbc8548_PCI_33_defconfig                   |  1 +
 configs/sbc8548_PCI_66_PCIE_defconfig              |  1 +
 configs/sbc8548_PCI_66_defconfig                   |  1 +
 configs/sbc8548_defconfig                          |  1 +
 configs/sbc8641d_defconfig                         |  1 +
 configs/seaboard_defconfig                         |  1 +
 configs/sequoia_defconfig                          |  1 +
 configs/sequoia_ramboot_defconfig                  |  1 +
 configs/sheevaplug_defconfig                       |  7 +--
 configs/sniper_defconfig                           |  1 +
 configs/snow_defconfig                             |  1 -
 configs/socfpga_arria5_defconfig                   |  3 +-
 configs/socfpga_cyclone5_defconfig                 |  3 +-
 configs/socfpga_de0_nano_soc_defconfig             |  3 +-
 configs/socfpga_mcvevk_defconfig                   |  3 +-
 configs/socfpga_sockit_defconfig                   |  3 +-
 configs/socfpga_socrates_defconfig                 |  3 +-
 configs/socrates_defconfig                         |  1 +
 configs/spring_defconfig                           |  1 -
 configs/strider_con_defconfig                      |  3 +-
 configs/strider_cpu_defconfig                      |  3 +-
 configs/sunxi_Gemei_G9_defconfig                   |  1 +
 configs/suvd3_defconfig                            |  1 +
 configs/sycamore_defconfig                         |  1 +
 configs/t3corp_defconfig                           |  1 +
 configs/tao3530_defconfig                          |  1 +
 configs/tb100_defconfig                            |  1 +
 configs/tec-ng_defconfig                           |  1 +
 configs/tec_defconfig                              |  1 +
 configs/thuban_defconfig                           |  1 +
 configs/ti814x_evm_defconfig                       |  1 +
 configs/ti816x_evm_defconfig                       |  1 +
 configs/tricorder_defconfig                        |  1 +
 configs/tricorder_flash_defconfig                  |  1 +
 configs/trimslice_defconfig                        |  1 +
 configs/tseries_mmc_defconfig                      |  1 +
 configs/tseries_nand_defconfig                     |  1 +
 configs/tseries_spi_defconfig                      |  1 +
 configs/tuge1_defconfig                            |  1 +
 configs/tuxx1_defconfig                            |  1 +
 configs/twister_defconfig                          |  1 +
 configs/vct_platinum_defconfig                     |  1 +
 configs/vct_platinum_onenand_defconfig             |  1 +
 configs/vct_platinum_onenand_small_defconfig       |  1 +
 configs/vct_platinum_small_defconfig               |  1 +
 configs/vct_platinumavc_defconfig                  |  1 +
 configs/vct_platinumavc_onenand_defconfig          |  1 +
 configs/vct_platinumavc_onenand_small_defconfig    |  1 +
 configs/vct_platinumavc_small_defconfig            |  1 +
 configs/vct_premium_defconfig                      |  1 +
 configs/vct_premium_onenand_defconfig              |  1 +
 configs/vct_premium_onenand_small_defconfig        |  1 +
 configs/vct_premium_small_defconfig                |  1 +
 configs/ve8313_defconfig                           |  1 +
 configs/venice2_defconfig                          |  1 +
 configs/ventana_defconfig                          |  1 +
 configs/vexpress_aemv8a_dram_defconfig             |  4 +-
 configs/vme8349_defconfig                          |  1 +
 configs/walnut_defconfig                           |  1 +
 configs/whistler_defconfig                         |  1 +
 configs/work_92105_defconfig                       |  1 +
 configs/xpedite1000_defconfig                      |  1 +
 configs/xpedite517x_defconfig                      |  1 +
 configs/xpedite520x_defconfig                      |  1 +
 configs/xpedite537x_defconfig                      |  1 +
 configs/xpedite550x_defconfig                      |  1 +
 configs/yellowstone_defconfig                      |  1 +
 configs/yosemite_defconfig                         |  1 +
 configs/yucca_defconfig                            |  1 +
 configs/zynq_microzed_defconfig                    |  1 -
 configs/zynq_picozed_defconfig                     |  1 -
 configs/zynq_zc702_defconfig                       |  1 -
 configs/zynq_zc706_defconfig                       |  1 -
 configs/zynq_zc770_xm010_defconfig                 |  1 -
 configs/zynq_zc770_xm011_defconfig                 |  1 -
 configs/zynq_zc770_xm012_defconfig                 |  1 -
 configs/zynq_zc770_xm013_defconfig                 |  1 -
 configs/zynq_zed_defconfig                         |  1 -
 configs/zynq_zybo_defconfig                        |  1 -
 drivers/serial/Kconfig                             | 26 ++++-------
 drivers/serial/Makefile                            |  7 ---
 drivers/serial/ns16550.c                           | 45 ++++++++++++++++--
 drivers/serial/serial_dw.c                         | 39 ----------------
 drivers/serial/serial_keystone.c                   | 48 -------------------
 drivers/serial/serial_omap.c                       | 54 ----------------------
 drivers/serial/serial_ppc.c                        | 40 ----------------
 drivers/serial/serial_rockchip.c                   | 43 -----------------
 drivers/serial/serial_tegra.c                      | 54 ----------------------
 drivers/serial/serial_x86.c                        | 44 ------------------
 include/configs/10m50_devboard.h                   |  1 +
 include/configs/B4860QDS.h                         |  1 -
 include/configs/BSC9131RDB.h                       |  1 -
 include/configs/BSC9132QDS.h                       |  1 -
 include/configs/C29XPCIE.h                         |  1 -
 include/configs/CPCI2DP.h                          |  1 -
 include/configs/CPCI4052.h                         |  1 -
 include/configs/MIP405.h                           |  1 -
 include/configs/MPC8308RDB.h                       |  1 -
 include/configs/MPC8313ERDB.h                      |  1 -
 include/configs/MPC8315ERDB.h                      |  1 -
 include/configs/MPC8323ERDB.h                      |  1 -
 include/configs/MPC832XEMDS.h                      |  1 -
 include/configs/MPC8349EMDS.h                      |  1 -
 include/configs/MPC8349ITX.h                       |  1 -
 include/configs/MPC837XEMDS.h                      |  1 -
 include/configs/MPC837XERDB.h                      |  1 -
 include/configs/MPC8536DS.h                        |  1 -
 include/configs/MPC8540ADS.h                       |  1 -
 include/configs/MPC8541CDS.h                       |  1 -
 include/configs/MPC8544DS.h                        |  1 -
 include/configs/MPC8548CDS.h                       |  1 -
 include/configs/MPC8555CDS.h                       |  1 -
 include/configs/MPC8568MDS.h                       |  1 -
 include/configs/MPC8569MDS.h                       |  1 -
 include/configs/MPC8572DS.h                        |  1 -
 include/configs/MPC8610HPCD.h                      |  1 -
 include/configs/MPC8641HPCN.h                      |  1 -
 include/configs/P1010RDB.h                         |  1 -
 include/configs/P1022DS.h                          |  1 -
 include/configs/P1023RDB.h                         |  1 -
 include/configs/P2041RDB.h                         |  1 -
 include/configs/PIP405.h                           |  1 -
 include/configs/PLU405.h                           |  1 -
 include/configs/PMC405DE.h                         |  1 -
 include/configs/PMC440.h                           |  1 -
 include/configs/T102xQDS.h                         |  1 -
 include/configs/T102xRDB.h                         |  1 -
 include/configs/T1040QDS.h                         |  1 -
 include/configs/T104xRDB.h                         |  1 -
 include/configs/T208xQDS.h                         |  1 -
 include/configs/T208xRDB.h                         |  1 -
 include/configs/T4240RDB.h                         |  1 -
 include/configs/TQM834x.h                          |  1 -
 include/configs/UCP1020.h                          |  1 -
 include/configs/VOM405.h                           |  1 -
 include/configs/adp-ag101p.h                       |  1 -
 include/configs/am3517_crane.h                     |  1 -
 include/configs/am3517_evm.h                       |  1 -
 include/configs/am43xx_evm.h                       |  5 +-
 include/configs/amcc-common.h                      |  1 -
 include/configs/axs101.h                           |  1 -
 include/configs/bcm28155_ap.h                      |  1 -
 include/configs/bcm_ep_board.h                     |  1 -
 include/configs/bur_am335x_common.h                |  1 -
 include/configs/calimain.h                         |  1 -
 include/configs/cm_t35.h                           |  1 -
 include/configs/cm_t3517.h                         |  1 -
 include/configs/cm_t43.h                           |  2 -
 include/configs/controlcenterd.h                   |  1 -
 include/configs/corenet_ds.h                       |  1 -
 include/configs/cyrus.h                            |  1 -
 include/configs/da850evm.h                         |  1 -
 include/configs/ea20.h                             |  1 -
 include/configs/edminiv2.h                         |  1 -
 include/configs/efi-x86.h                          |  1 -
 include/configs/gdppc440etx.h                      |  1 -
 include/configs/hrcon.h                            |  1 -
 include/configs/ids8313.h                          |  1 -
 include/configs/ipam390.h                          |  1 -
 include/configs/km/km83xx-common.h                 |  1 -
 include/configs/km/km_arm.h                        |  1 -
 include/configs/km/kmp204x-common.h                |  1 -
 include/configs/ls1021aqds.h                       |  1 -
 include/configs/ls1021atwr.h                       |  1 -
 include/configs/ls1043a_common.h                   |  1 -
 include/configs/ls2085a_common.h                   |  1 -
 include/configs/lwmon5.h                           |  1 -
 include/configs/malta.h                            |  1 -
 include/configs/mcx.h                              |  1 -
 include/configs/microblaze-generic.h               |  1 -
 include/configs/mpc8308_p1m.h                      |  1 -
 include/configs/mv-common.h                        |  5 --
 include/configs/neo.h                              |  1 -
 include/configs/nokia_rx51.h                       |  1 -
 include/configs/omap3_evm_common.h                 |  1 -
 include/configs/omap3_pandora.h                    |  2 +-
 include/configs/omapl138_lcdk.h                    |  1 -
 include/configs/openrisc-generic.h                 |  1 -
 include/configs/p1_p2_rdb_pc.h                     |  1 -
 include/configs/p1_twr.h                           |  1 -
 include/configs/qemu-mips.h                        |  1 -
 include/configs/qemu-mips64.h                      |  1 -
 include/configs/qemu-ppce500.h                     |  1 -
 include/configs/rk3288_common.h                    |  1 -
 include/configs/sbc8349.h                          |  1 -
 include/configs/sbc8548.h                          |  1 -
 include/configs/sbc8641d.h                         |  1 -
 include/configs/siemens-am33x-common.h             |  1 -
 include/configs/sniper.h                           |  7 +--
 include/configs/socfpga_common.h                   |  1 -
 include/configs/socrates.h                         |  1 -
 include/configs/strider.h                          |  1 -
 include/configs/sunxi-common.h                     |  5 +-
 include/configs/t4qds.h                            |  1 -
 include/configs/tam3517-common.h                   |  1 -
 include/configs/tao3530.h                          |  1 -
 include/configs/tb100.h                            |  2 -
 include/configs/tegra-common.h                     |  3 +-
 include/configs/ti814x_evm.h                       |  1 -
 include/configs/ti816x_evm.h                       |  1 -
 include/configs/ti_am335x_common.h                 |  5 --
 include/configs/ti_armv7_keystone2.h               |  3 --
 include/configs/ti_omap3_common.h                  |  7 +--
 include/configs/ti_omap4_common.h                  |  5 +-
 include/configs/ti_omap5_common.h                  |  5 +-
 include/configs/tricorder.h                        |  1 -
 include/configs/uniphier.h                         |  1 -
 include/configs/vct.h                              |  1 -
 include/configs/ve8313.h                           |  1 -
 include/configs/vme8349.h                          |  1 -
 include/configs/x86-common.h                       |  1 -
 include/configs/xilinx-ppc.h                       |  1 -
 include/configs/xpedite1000.h                      |  1 -
 include/configs/xpedite517x.h                      |  1 -
 include/configs/xpedite520x.h                      |  1 -
 include/configs/xpedite537x.h                      |  1 -
 include/configs/xpedite550x.h                      |  1 -
 813 files changed, 829 insertions(+), 662 deletions(-)
 delete mode 100644 drivers/serial/serial_dw.c
 delete mode 100644 drivers/serial/serial_keystone.c
 delete mode 100644 drivers/serial/serial_omap.c
 delete mode 100644 drivers/serial/serial_ppc.c
 delete mode 100644 drivers/serial/serial_rockchip.c
 delete mode 100644 drivers/serial/serial_tegra.c
 delete mode 100644 drivers/serial/serial_x86.c
Signature · 1 line
2.5.0
#34 lore raw

PATCH v2 1/13 debug_uart: restore ns16550 as default

Since commit 220e8021af96 ("nios2: convert altera_jtag_uart to driver model"), the default debug uart was changed. Most people use ns16550 UART, so restore it as default.

---
 drivers/serial/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/serial/Kconfig +1 -0
index eba96f4..2a50771 100644
@@ -53,6 +53,7 @@ config DEBUG_UART
 choice
 	prompt "Select which UART will provide the debug UART"
 	depends on DEBUG_UART
+	default DEBUG_UART_NS16550
 
 config DEBUG_UART_ALTERA_JTAGUART
 	bool "Altera JTAG UART"
Signature · 1 line
2.5.0
#35 lore raw

PATCH v2 1/13 debug_uart: restore ns16550 as default

Quoted 17 lines · Thomas Chou

Since commit 220e8021af96 ("nios2: convert altera_jtag_uart to driver model"), the default debug uart was changed. Most people use ns16550 UART, so restore it as default.

---
 drivers/serial/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/serial/Kconfig +0 -0
index eba96f4..2a50771 100644

drivers/serial/Kconfig config DEBUG_UART

Quoted 8 lines
drivers/serial/Kconfig +1 -1
@@ -53,6 +53,7 @@ config DEBUG_UART
 choice
        prompt "Select which UART will provide the debug UART"
        depends on DEBUG_UART
+       default DEBUG_UART_NS16550
 
 config DEBUG_UART_ALTERA_JTAGUART
        bool "Altera JTAG UART"
--
#36 lore raw

PATCH v2 1/13 debug_uart: restore ns16550 as default

In reply to Thomas Chou

Hello Thomas,

Am 18.11.2015 um 14:44 schrieb Thomas Chou:

Quoted 11 lines

Since commit 220e8021af96 ("nios2: convert altera_jtag_uart to driver model"), the default debug uart was changed. Most people use ns16550 UART, so restore it as default.

---
  drivers/serial/Kconfig | 1 +
  1 file changed, 1 insertion(+)

bye,
Heiko

Quoted 14 lines
drivers/serial/Kconfig +1 -0
index eba96f4..2a50771 100644
@@ -53,6 +53,7 @@ config DEBUG_UART
  choice
  	prompt "Select which UART will provide the debug UART"
  	depends on DEBUG_UART
+	default DEBUG_UART_NS16550
 
  config DEBUG_UART_ALTERA_JTAGUART
  	bool "Altera JTAG UART"
Signature · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#37 lore raw

PATCH v2 2/13 ns16550: change map_sysmem to map_physmem

In reply to Thomas Chou

Change map_sysmem() to map_physmem(), because sandbox is the only arch which define map_sysmem() and it actually only calls map_physmem(). For some arch like nios2, the flag should be MAP_NOCACHE for port access.

---
 drivers/serial/ns16550.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/serial/ns16550.c +2 -3
index 6433844..8d028de 100644
@@ -8,7 +8,6 @@
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
-#include <mapmem.h>
 #include <ns16550.h>
 #include <serial.h>
 #include <watchdog.h>
@@ -97,7 +96,7 @@ static void ns16550_writeb(NS16550_t port, int offset, int value)
 	unsigned char *addr;
 
 	offset *= 1 << plat->reg_shift;
-	addr = map_sysmem(plat->base, 0) + offset;
+	addr = map_physmem(plat->base, 0, MAP_NOCACHE) + offset;
 	/*
 	 * As far as we know it doesn't make sense to support selection of
 	 * these options at run-time, so use the existing CONFIG options.
@@ -111,7 +110,7 @@ static int ns16550_readb(NS16550_t port, int offset)
 	unsigned char *addr;
 
 	offset *= 1 << plat->reg_shift;
-	addr = map_sysmem(plat->base, 0) + offset;
+	addr = map_physmem(plat->base, 0, MAP_NOCACHE) + offset;
 
 	return serial_in_shift(addr, plat->reg_shift);
 }
Signature · 1 line
2.5.0
#38 lore raw

PATCH v2 3/13 ns16550: add generic binding to unify the drivers

In reply to Thomas Chou

Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific.

The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock().

---
 drivers/serial/Kconfig   | 11 +++++++++++
 drivers/serial/ns16550.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)
drivers/serial/Kconfig +11 -0
index 2a50771..0f0e92d 100644
@@ -195,6 +195,17 @@ config ROCKCHIP_SERIAL
 	  your board config header. The clock input is automatically set to
 	  use the oscillator (24MHz).
 
+config NS16550_SERIAL
+	bool "NS16550 UART or compatible"
+	depends on DM_SERIAL
+	help
+	  Support NS16550 UART or compatible with driver model. 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
drivers/serial/ns16550.c +44 -0

60 lines not on this page · raw message

Signature · 1 line
2.5.0
#39 lore raw

PATCH v2 3/13 ns16550: add generic binding to unify the drivers

Quoted 99 lines · Thomas Chou

Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific.

The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock().

---
 drivers/serial/Kconfig   | 11 +++++++++++
 drivers/serial/ns16550.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)
drivers/serial/Kconfig +11 -0
index 2a50771..0f0e92d 100644
@@ -195,6 +195,17 @@ config ROCKCHIP_SERIAL
          your board config header. The clock input is automatically set to
          use the oscillator (24MHz).
 
+config NS16550_SERIAL
+       bool "NS16550 UART or compatible"
+       depends on DM_SERIAL
+       help
+         Support NS16550 UART or compatible with driver model. 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
drivers/serial/ns16550.c +36 -0
index 8d028de..f0a9aac 100644
@@ -56,6 +56,10 @@ DECLARE_GLOBAL_DATA_PTR;
 
 #ifdef CONFIG_DM_SERIAL
 
+#ifndef CONFIG_SYS_NS16550_CLK
+#define CONFIG_SYS_NS16550_CLK  0
+#endif
+
 static inline void serial_out_shift(void *addr, int shift, int value)
 {
 #ifdef CONFIG_SYS_NS16550_PORT_MAPPED
@@ -400,6 +404,15 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev)
        plat->base = addr;
        plat->reg_shift = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
                                         "reg-shift", 1);
+#ifdef CONFIG_NS16550_SERIAL
+       plat->clock = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
+                                    "clock-frequency",
+                                    CONFIG_SYS_NS16550_CLK);
+       if (!plat->clock) {
+               debug("ns16550 clock not defined\n");
+               return -EINVAL;
+       }
+#endif /* CONFIG_NS16550_SERIAL */
 
        return 0;
 }
@@ -411,4 +424,35 @@ const struct dm_serial_ops ns16550_serial_ops = {
        .getc = ns16550_serial_getc,
        .setbrg = ns16550_serial_setbrg,
 };
+
+#ifdef CONFIG_NS16550_SERIAL
+#if CONFIG_IS_ENABLED(OF_CONTROL)
+static const struct udevice_id ns16550_serial_ids[] = {
+       { .compatible = "ns16550" },
+       { .compatible = "ns16550a" },
+       { .compatible = "nvidia,tegra20-uart" },
+       { .compatible = "snps,dw-apb-uart" },
+       { .compatible = "ti,omap2-uart" },
+       { .compatible = "ti,omap3-uart" },
+       { .compatible = "ti,omap4-uart" },
+       { .compatible = "ti,am3352-uart" },
+       { .compatible = "ti,am4372-uart" },
+       { .compatible = "ti,dra742-uart" },
+       {}
+};
+#endif
+
+U_BOOT_DRIVER(ns16550_serial) = {
+       .name   = "ns16550_serial",
+       .id     = UCLASS_SERIAL,
+#if CONFIG_IS_ENABLED(OF_CONTROL)
+       .of_match = ns16550_serial_ids,

drivers/serial/ns16550.c const struct dm_serial_ops ns16550_serial_ops = {

Quoted 10 lines
drivers/serial/ns16550.c +8 -1
+       .ofdata_to_platdata = ns16550_serial_ofdata_to_platdata,
+       .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
+#endif
+       .priv_auto_alloc_size = sizeof(struct NS16550),
+       .probe = ns16550_serial_probe,
+       .ops    = &ns16550_serial_ops,
+};
+#endif /* CONFIG_NS16550_SERIAL */
 #endif /* CONFIG_DM_SERIAL */
--
#40 lore raw

PATCH v2 3/13 ns16550: add generic binding to unify the drivers

In reply to Thomas Chou

Hello Thomas,

Am 18.11.2015 um 14:44 schrieb Thomas Chou:

Quoted 12 lines

Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific.

The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock().

Quoted 6 lines
---
  drivers/serial/Kconfig   | 11 +++++++++++
  drivers/serial/ns16550.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
  2 files changed, 55 insertions(+)

bye,
Heiko

Quoted 91 lines
drivers/serial/Kconfig +11 -0
index 2a50771..0f0e92d 100644
@@ -195,6 +195,17 @@ config ROCKCHIP_SERIAL
  	  your board config header. The clock input is automatically set to
  	  use the oscillator (24MHz).
 
+config NS16550_SERIAL
+	bool "NS16550 UART or compatible"
+	depends on DM_SERIAL
+	help
+	  Support NS16550 UART or compatible with driver model. 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
drivers/serial/ns16550.c +44 -0
index 8d028de..f0a9aac 100644
@@ -56,6 +56,10 @@ DECLARE_GLOBAL_DATA_PTR;
 
  #ifdef CONFIG_DM_SERIAL
 
+#ifndef CONFIG_SYS_NS16550_CLK
+#define CONFIG_SYS_NS16550_CLK  0
+#endif
+
  static inline void serial_out_shift(void *addr, int shift, int value)
  {
  #ifdef CONFIG_SYS_NS16550_PORT_MAPPED
@@ -400,6 +404,15 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev)
  	plat->base = addr;
  	plat->reg_shift = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
  					 "reg-shift", 1);
+#ifdef CONFIG_NS16550_SERIAL
+	plat->clock = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
+				     "clock-frequency",
+				     CONFIG_SYS_NS16550_CLK);
+	if (!plat->clock) {
+		debug("ns16550 clock not defined\n");
+		return -EINVAL;
+	}
+#endif /* CONFIG_NS16550_SERIAL */
 
  	return 0;
  }
@@ -411,4 +424,35 @@ const struct dm_serial_ops ns16550_serial_ops = {
  	.getc = ns16550_serial_getc,
  	.setbrg = ns16550_serial_setbrg,
  };
+
+#ifdef CONFIG_NS16550_SERIAL
+#if CONFIG_IS_ENABLED(OF_CONTROL)
+static const struct udevice_id ns16550_serial_ids[] = {
+	{ .compatible = "ns16550" },
+	{ .compatible = "ns16550a" },
+	{ .compatible = "nvidia,tegra20-uart" },
+	{ .compatible = "snps,dw-apb-uart" },
+	{ .compatible = "ti,omap2-uart" },
+	{ .compatible = "ti,omap3-uart" },
+	{ .compatible = "ti,omap4-uart" },
+	{ .compatible = "ti,am3352-uart" },
+	{ .compatible = "ti,am4372-uart" },
+	{ .compatible = "ti,dra742-uart" },
+	{}
+};
+#endif
+
+U_BOOT_DRIVER(ns16550_serial) = {
+	.name	= "ns16550_serial",
+	.id	= UCLASS_SERIAL,
+#if CONFIG_IS_ENABLED(OF_CONTROL)
+	.of_match = ns16550_serial_ids,
+	.ofdata_to_platdata = ns16550_serial_ofdata_to_platdata,
+	.platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
+#endif
+	.priv_auto_alloc_size = sizeof(struct NS16550),
+	.probe = ns16550_serial_probe,
+	.ops	= &ns16550_serial_ops,
+};
+#endif /* CONFIG_NS16550_SERIAL */
  #endif /* CONFIG_DM_SERIAL */
Signature · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#41 lore raw

PATCH v2 4/13 ns16550: unify serial_x86

In reply to Thomas Chou

Unify serial_x86, and use the generic binding.

---
 arch/x86/dts/serial.dtsi    |  2 +-
 configs/efi-x86_defconfig   |  2 +-
 drivers/serial/Kconfig      | 11 +----------
 drivers/serial/Makefile     |  1 -
 drivers/serial/serial_x86.c | 44 --------------------------------------------
 5 files changed, 3 insertions(+), 57 deletions(-)
 delete mode 100644 drivers/serial/serial_x86.c
arch/x86/dts/serial.dtsi +1 -1
index 6865eed..54c3faf 100644
@@ -1,6 +1,6 @@
 / {
 	serial: serial {
-		compatible = "x86-uart";
+		compatible = "ns16550";
 		reg = <0x3f8 8>;
 		reg-shift = <0>;
 		clock-frequency = <1843200>;
configs/efi-x86_defconfig +1 -1
index 43fb0c4..b1573df 100644
@@ -3,6 +3,7 @@ CONFIG_VENDOR_EFI=y
 CONFIG_DEFAULT_DEVICE_TREE="efi"
 CONFIG_TARGET_EFI=y
 CONFIG_TSC_CALIBRATION_BYPASS=y
+# CONFIG_NS16550_SERIAL is not set
 # CONFIG_CMD_BOOTM is not set
 # CONFIG_CMD_NET is not set
 CONFIG_OF_CONTROL=y
@@ -12,5 +13,4 @@ CONFIG_DEBUG_UART=y
 CONFIG_DEBUG_EFI_CONSOLE=y
 CONFIG_DEBUG_UART_BASE=0
 CONFIG_DEBUG_UART_CLOCK=0
-# CONFIG_X86_SERIAL is not set
 CONFIG_EFI=y
drivers/serial/Kconfig +1 -10
index 0f0e92d..93faa4c 100644
@@ -198,6 +198,7 @@ config ROCKCHIP_SERIAL
 config NS16550_SERIAL
 	bool "NS16550 UART or compatible"
 	depends on DM_SERIAL
+	default y if X86
 	help
 	  Support NS16550 UART or compatible with driver model. This can be
 	  enabled in the device tree with the correct input clock frequency.
@@ -233,14 +234,4 @@ config UNIPHIER_SERIAL
 	  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.
-
 endmenu
drivers/serial/Makefile +0 -1
index 1818c7c..9036a8e 100644
@@ -46,7 +46,6 @@ obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
 obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
 obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
-obj-$(CONFIG_X86_SERIAL) += serial_x86.o
 obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
 
 ifndef CONFIG_SPL_BUILD
drivers/serial/serial_x86.c deleted +0 -44

44 lines not on this page · raw message

Signature · 1 line
2.5.0
#42 lore raw

PATCH v2 4/13 ns16550: unify serial_x86

Quoted 123 lines · Thomas Chou

Unify serial_x86, and use the generic binding.

---
 arch/x86/dts/serial.dtsi    |  2 +-
 configs/efi-x86_defconfig   |  2 +-
 drivers/serial/Kconfig      | 11 +----------
 drivers/serial/Makefile     |  1 -
 drivers/serial/serial_x86.c | 44 --------------------------------------------
 5 files changed, 3 insertions(+), 57 deletions(-)
 delete mode 100644 drivers/serial/serial_x86.c
arch/x86/dts/serial.dtsi +1 -1
index 6865eed..54c3faf 100644
@@ -1,6 +1,6 @@
 / {
        serial: serial {
-               compatible = "x86-uart";
+               compatible = "ns16550";
                reg = <0x3f8 8>;
                reg-shift = <0>;
                clock-frequency = <1843200>;
configs/efi-x86_defconfig +1 -1
index 43fb0c4..b1573df 100644
@@ -3,6 +3,7 @@ CONFIG_VENDOR_EFI=y
 CONFIG_DEFAULT_DEVICE_TREE="efi"
 CONFIG_TARGET_EFI=y
 CONFIG_TSC_CALIBRATION_BYPASS=y
+# CONFIG_NS16550_SERIAL is not set
 # CONFIG_CMD_BOOTM is not set
 # CONFIG_CMD_NET is not set
 CONFIG_OF_CONTROL=y
@@ -12,5 +13,4 @@ CONFIG_DEBUG_UART=y
 CONFIG_DEBUG_EFI_CONSOLE=y
 CONFIG_DEBUG_UART_BASE=0
 CONFIG_DEBUG_UART_CLOCK=0
-# CONFIG_X86_SERIAL is not set
 CONFIG_EFI=y
drivers/serial/Kconfig +1 -10
index 0f0e92d..93faa4c 100644
@@ -198,6 +198,7 @@ config ROCKCHIP_SERIAL
 config NS16550_SERIAL
        bool "NS16550 UART or compatible"
        depends on DM_SERIAL
+       default y if X86
        help
          Support NS16550 UART or compatible with driver model. This can be
          enabled in the device tree with the correct input clock frequency.
@@ -233,14 +234,4 @@ config UNIPHIER_SERIAL
          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.
-
 endmenu
drivers/serial/Makefile +0 -1
index 1818c7c..9036a8e 100644
@@ -46,7 +46,6 @@ obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
 obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
 obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
-obj-$(CONFIG_X86_SERIAL) += serial_x86.o
 obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
 
 ifndef CONFIG_SPL_BUILD
drivers/serial/serial_x86.c deleted +0 -35
deleted file mode 100644
index 4bf6062..0000000
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2014 Google, Inc
- *
- * SPDX-License-Identifier:    GPL-2.0+
- */
-
-#include <common.h>
-#include <dm.h>
-#include <fdtdec.h>
-#include <ns16550.h>
-#include <serial.h>
-
-DECLARE_GLOBAL_DATA_PTR;
-
-static const struct udevice_id x86_serial_ids[] = {
-       { .compatible = "x86-uart" },
-       { }
-};
-
-static int x86_serial_ofdata_to_platdata(struct udevice *dev)
-{
-       struct ns16550_platdata *plat = dev_get_platdata(dev);
-       int ret;
-
-       ret = ns16550_serial_ofdata_to_platdata(dev);
-       if (ret)
-               return ret;
-
-       plat->clock = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
-                                    "clock-frequency", 1843200);
-
-       return 0;
-}
-
-U_BOOT_DRIVER(serial_ns16550) = {

drivers/serial/serial_x86.c

Quoted 10 lines
drivers/serial/serial_x86.c deleted +0 -10
-       .name   = "serial_x86",
-       .id     = UCLASS_SERIAL,
-       .of_match = x86_serial_ids,
-       .ofdata_to_platdata = x86_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
-       .priv_auto_alloc_size = sizeof(struct NS16550),
-       .probe = ns16550_serial_probe,
-       .ops    = &ns16550_serial_ops,
-};
--
#43 lore raw

PATCH v2 5/13 ns16550: unify serial_ppc

In reply to Thomas Chou

Unify serial_ppc, and use the generic binding.

---
 arch/powerpc/include/asm/config.h |  4 ++++
 drivers/serial/Kconfig            |  2 +-
 drivers/serial/Makefile           |  1 -
 drivers/serial/serial_ppc.c       | 40 ---------------------------------------
 4 files changed, 5 insertions(+), 42 deletions(-)
 delete mode 100644 drivers/serial/serial_ppc.c
arch/powerpc/include/asm/config.h +4 -0
index 65496d0..7391066 100644
@@ -104,4 +104,8 @@
 /* All PPC boards must swap IDE bytes */
 #define CONFIG_IDE_SWAP_IO
 
+#if defined(CONFIG_DM_SERIAL)
+#define CONFIG_SYS_NS16550_CLK		get_serial_clock()
+#endif
+
 #endif /* _ASM_CONFIG_H_ */
drivers/serial/Kconfig +1 -1
index 93faa4c..b41f508 100644
@@ -198,7 +198,7 @@ config ROCKCHIP_SERIAL
 config NS16550_SERIAL
 	bool "NS16550 UART or compatible"
 	depends on DM_SERIAL
-	default y if X86
+	default y if X86 || PPC
 	help
 	  Support NS16550 UART or compatible with driver model. This can be
 	  enabled in the device tree with the correct input clock frequency.
drivers/serial/Makefile +0 -1
index 9036a8e..9f61113 100644
@@ -8,7 +8,6 @@
 ifdef CONFIG_DM_SERIAL
 obj-y += serial-uclass.o
 obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o
-obj-$(CONFIG_PPC) += serial_ppc.o
 else
 obj-y += serial.o
 obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
drivers/serial/serial_ppc.c deleted +0 -40
deleted file mode 100644
index 47141c6..0000000
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2014 Google, Inc
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <dm.h>
-#include <ns16550.h>
-#include <serial.h>
-
-static const struct udevice_id ppc_serial_ids[] = {
-	{ .compatible = "ns16550" },
-	{ }
-};
-
-static int ppc_serial_ofdata_to_platdata(struct udevice *dev)
-{
-	struct ns16550_platdata *plat = dev_get_platdata(dev);
-	int ret;
-
-	ret = ns16550_serial_ofdata_to_platdata(dev);
-	if (ret)
-		return ret;
-	plat->clock = get_serial_clock();
-
-	return 0;
-}
-
-U_BOOT_DRIVER(serial_ns16550) = {
-	.name	= "serial_ppc",
-	.id	= UCLASS_SERIAL,
-	.of_match = ppc_serial_ids,
-	.ofdata_to_platdata = ppc_serial_ofdata_to_platdata,
-	.platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
-	.priv_auto_alloc_size = sizeof(struct NS16550),
-	.probe = ns16550_serial_probe,
-	.ops	= &ns16550_serial_ops,
-	.flags	= DM_FLAG_PRE_RELOC,
-};
Signature · 1 line
2.5.0
#44 lore raw

PATCH v2 6/13 ns16550: unify serial_rockchip

In reply to Thomas Chou

Unify serial_rockchip, and use the generic binding.

---
 arch/arm/dts/rk3288.dtsi         |  5 +++++
 arch/arm/mach-rockchip/Kconfig   |  3 ---
 drivers/serial/Kconfig           | 11 +---------
 drivers/serial/Makefile          |  1 -
 drivers/serial/serial_rockchip.c | 43 ----------------------------------------
 5 files changed, 6 insertions(+), 57 deletions(-)
 delete mode 100644 drivers/serial/serial_rockchip.c
arch/arm/dts/rk3288.dtsi +5 -0
index 0f49709..ac367f8 100644
@@ -324,6 +324,7 @@
 		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
 		reg-shift = <2>;
 		reg-io-width = <4>;
+		clock-frequency = <24000000>;
 		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
 		clock-names = "baudclk", "apb_pclk";
 		pinctrl-names = "default";
@@ -337,6 +338,7 @@
 		interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
 		reg-shift = <2>;
 		reg-io-width = <4>;
+		clock-frequency = <24000000>;
 		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
 		clock-names = "baudclk", "apb_pclk";
 		pinctrl-names = "default";
@@ -350,6 +352,7 @@
 		interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
 		reg-shift = <2>;
 		reg-io-width = <4>;
+		clock-frequency = <24000000>;
 		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
 		clock-names = "baudclk", "apb_pclk";
 		pinctrl-names = "default";
@@ -362,6 +365,7 @@
 		interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
 		reg-shift = <2>;
 		reg-io-width = <4>;
+		clock-frequency = <24000000>;
 		clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
 		clock-names = "baudclk", "apb_pclk";
 		pinctrl-names = "default";
@@ -375,6 +379,7 @@
 		interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
 		reg-shift = <2>;
 		reg-io-width = <4>;
+		clock-frequency = <24000000>;
 		clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
 		clock-names = "baudclk", "apb_pclk";
 		pinctrl-names = "default";
arch/arm/mach-rockchip/Kconfig +0 -3
index ab50f4e..3f7dc8e 100644
@@ -33,9 +33,6 @@ config DM_I2C
 config DM_GPIO
 	default y
 
-config ROCKCHIP_SERIAL
-	default y
-
 source "arch/arm/mach-rockchip/rk3288/Kconfig"
 
 endif
drivers/serial/Kconfig +1 -10
index b41f508..1239416 100644
@@ -186,19 +186,10 @@ 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 ROCKCHIP_SERIAL
-	bool "Rockchip on-chip UART support"
-	depends on ARCH_ROCKCHIP && DM_SERIAL
-	help
-	  Select this to enable a debug UART for Rockchip devices. This uses
-	  the ns16550 driver. You will need to #define CONFIG_SYS_NS16550 in
-	  your board config header. The clock input is automatically set to
-	  use the oscillator (24MHz).
-
 config NS16550_SERIAL
 	bool "NS16550 UART or compatible"
 	depends on DM_SERIAL
-	default y if X86 || PPC
+	default y if X86 || PPC || ARCH_ROCKCHIP
 	help
 	  Support NS16550 UART or compatible with driver model. This can be
 	  enabled in the device tree with the correct input clock frequency.
drivers/serial/Makefile +0 -1
index 9f61113..debc175 100644
@@ -40,7 +40,6 @@ obj-$(CONFIG_ZYNQ_SERIAL) += serial_zynq.o
 obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o
 obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
 obj-$(CONFIG_MXS_AUART) += mxs_auart.o
-obj-$(CONFIG_ROCKCHIP_SERIAL) += serial_rockchip.o
 obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
 obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
drivers/serial/serial_rockchip.c deleted +0 -43

43 lines not on this page · raw message

Signature · 1 line
2.5.0
#45 lore raw

PATCH v2 7/13 ns16550: unify serial_keystone

In reply to Thomas Chou

Unify serial_keystone, and use the generic binding.

---
 configs/k2g_evm_defconfig            |  1 -
 drivers/serial/Makefile              |  1 -
 drivers/serial/serial_keystone.c     | 48 ------------------------------------
 include/configs/ti_armv7_keystone2.h |  2 +-
 4 files changed, 1 insertion(+), 51 deletions(-)
 delete mode 100644 drivers/serial/serial_keystone.c
configs/k2g_evm_defconfig +0 -1
index 59020af..c6efe80 100644
@@ -11,4 +11,3 @@ CONFIG_SPL_DISABLE_OF_CONTROL=y
 CONFIG_SPI_FLASH=y
 CONFIG_DM=y
 CONFIG_DM_SERIAL=y
-CONFIG_KEYSTONE_SERIAL=y
drivers/serial/Makefile +0 -1
index debc175..1663ca2 100644
@@ -24,7 +24,6 @@ obj-$(CONFIG_EFI_APP) += serial_efi.o
 obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o
 obj-$(CONFIG_MCFUART) += mcfuart.o
 obj-$(CONFIG_OPENCORES_YANU) += opencores_yanu.o
-obj-$(CONFIG_KEYSTONE_SERIAL) += serial_keystone.o
 obj-$(CONFIG_SYS_NS16550) += ns16550.o
 obj-$(CONFIG_S5P) += serial_s5p.o
 obj-$(CONFIG_IMX_SERIAL) += serial_imx.o
drivers/serial/serial_keystone.c deleted +0 -48

48 lines not on this page · raw message

include/configs/ti_armv7_keystone2.h +1 -1
index ed86561..5ab9b6e 100644
@@ -64,7 +64,7 @@
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	-4
 #else
-#define CONFIG_KEYSTONE_SERIAL
+#define CONFIG_NS16550_SERIAL
 #endif
 #define CONFIG_SYS_NS16550_COM1		KS2_UART0_BASE
 #define CONFIG_SYS_NS16550_COM2		KS2_UART1_BASE
Signature · 1 line
2.5.0
#46 lore raw

PATCH v2 8/13 ns16550: unify serial_dw

In reply to Thomas Chou

Unify serial_dw, and use the generic binding.

---
 drivers/serial/Makefile        |  1 -
 drivers/serial/serial_dw.c     | 39 ---------------------------------------
 include/configs/mv-common.h    |  2 +-
 include/configs/sunxi-common.h |  2 +-
 include/configs/tb100.h        |  2 +-
 5 files changed, 3 insertions(+), 43 deletions(-)
 delete mode 100644 drivers/serial/serial_dw.c
drivers/serial/Makefile +0 -1
index 1663ca2..2a83756 100644
@@ -19,7 +19,6 @@ obj-$(CONFIG_ALTERA_UART) += altera_uart.o
 obj-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o
 obj-$(CONFIG_ARM_DCC) += arm_dcc.o
 obj-$(CONFIG_ATMEL_USART) += atmel_usart.o
-obj-$(CONFIG_DW_SERIAL) += serial_dw.o
 obj-$(CONFIG_EFI_APP) += serial_efi.o
 obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o
 obj-$(CONFIG_MCFUART) += mcfuart.o
drivers/serial/serial_dw.c deleted +0 -39
deleted file mode 100644
index a348f29..0000000
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2014 Google, Inc
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <dm.h>
-#include <ns16550.h>
-#include <serial.h>
-
-static const struct udevice_id dw_serial_ids[] = {
-	{ .compatible = "snps,dw-apb-uart" },
-	{ }
-};
-
-static int dw_serial_ofdata_to_platdata(struct udevice *dev)
-{
-	struct ns16550_platdata *plat = dev_get_platdata(dev);
-	int ret;
-
-	ret = ns16550_serial_ofdata_to_platdata(dev);
-	if (ret)
-		return ret;
-	plat->clock = CONFIG_SYS_NS16550_CLK;
-
-	return 0;
-}
-
-U_BOOT_DRIVER(serial_ns16550) = {
-	.name	= "serial_dw",
-	.id	= UCLASS_SERIAL,
-	.of_match = dw_serial_ids,
-	.ofdata_to_platdata = dw_serial_ofdata_to_platdata,
-	.platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
-	.priv_auto_alloc_size = sizeof(struct NS16550),
-	.probe = ns16550_serial_probe,
-	.ops	= &ns16550_serial_ops,
-};
include/configs/mv-common.h +1 -1
index 1ecbd35..0e33a89 100644
@@ -40,7 +40,7 @@
  * NS16550 Configuration
  */
 #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM_SERIAL)
-#define CONFIG_DW_SERIAL
+#define CONFIG_NS16550_SERIAL
 #endif
 
 #define CONFIG_SYS_NS16550
include/configs/sunxi-common.h +1 -1
index f5db4d3..ab584ac 100644
@@ -46,7 +46,7 @@
 /* ns16550 reg in the low bits of cpu reg */
 #define CONFIG_SYS_NS16550_CLK		24000000
 #ifdef CONFIG_DM_SERIAL
-# define CONFIG_DW_SERIAL
+# define CONFIG_NS16550_SERIAL
 #else
 # define CONFIG_SYS_NS16550_REG_SIZE	-4
 # define CONFIG_SYS_NS16550_COM1		SUNXI_UART0_BASE
include/configs/tb100.h +1 -1
index e3c41ef..44287d8 100644
@@ -35,7 +35,7 @@
 /*
  * UART configuration
  */
-#define CONFIG_DW_SERIAL
+#define CONFIG_NS16550_SERIAL
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_CLK		166666666
Signature · 1 line
2.5.0
#47 lore raw

PATCH v2 9/13 ns16550: unify serial_tegra

In reply to Thomas Chou

Unify serial_tegra, and use the generic binding.

---
 arch/arm/mach-tegra/board.c    | 14 +++++++++++
 drivers/serial/Makefile        |  1 -
 drivers/serial/serial_tegra.c  | 54 ------------------------------------------
 include/configs/tegra-common.h |  3 ++-
 4 files changed, 16 insertions(+), 56 deletions(-)
 delete mode 100644 drivers/serial/serial_tegra.c
arch/arm/mach-tegra/board.c +14 -0
index b00e4b5..8c8927d 100644
@@ -6,6 +6,8 @@
  */
 
 #include <common.h>
+#include <dm.h>
+#include <ns16550.h>
 #include <spl.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
@@ -212,6 +214,18 @@ void board_init_uart_f(void)
 	setup_uarts(uart_ids);
 }
 
+#if CONFIG_IS_ENABLED(DM_SERIAL) && !CONFIG_IS_ENABLED(OF_CONTROL)
+static struct ns16550_platdata ns16550_com1_pdata = {
+	.base = CONFIG_SYS_NS16550_COM1,
+	.reg_shift = 2,
+	.clock = CONFIG_SYS_NS16550_CLK,
+};
+
+U_BOOT_DEVICE(ns16550_com1) = {
+	"ns16550_serial", &ns16550_com1_pdata
+};
+#endif
+
 #if !defined(CONFIG_SYS_DCACHE_OFF) && !defined(CONFIG_ARM64)
 void enable_caches(void)
 {
drivers/serial/Makefile +0 -1
index 2a83756..86ae50f 100644
@@ -39,7 +39,6 @@ obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o
 obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
 obj-$(CONFIG_MXS_AUART) += mxs_auart.o
 obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
-obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
 obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
 obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
drivers/serial/serial_tegra.c deleted +0 -54

54 lines not on this page · raw message

include/configs/tegra-common.h +2 -1
index 32cc39b..ceda304 100644
@@ -39,8 +39,9 @@
 /*
  * NS16550 Configuration
  */
-#define CONFIG_TEGRA_SERIAL
+#define CONFIG_NS16550_SERIAL
 #define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
 
 /*
  * Common HW configuration.
Signature · 1 line
2.5.0
#48 lore raw

PATCH v2 10/13 ns16550: unify serial_omap

In reply to Thomas Chou

Unify serial_omap, and use the generic binding.

---
 board/isee/igep00x0/igep00x0.c      |  2 +-
 board/lge/sniper/sniper.c           |  2 +-
 board/logicpd/omap3som/omap3logic.c |  2 +-
 board/logicpd/zoom1/zoom1.c         |  2 +-
 board/overo/overo.c                 |  2 +-
 board/quipos/cairo/cairo.c          |  2 +-
 board/ti/beagle/beagle.c            |  2 +-
 board/timll/devkit8000/devkit8000.c |  2 +-
 drivers/serial/Makefile             |  1 -
 drivers/serial/serial_omap.c        | 54 -------------------------------------
 include/configs/am43xx_evm.h        |  4 +--
 include/configs/cm_t43.h            |  2 +-
 include/configs/omap3_pandora.h     |  3 ++-
 include/configs/sniper.h            |  4 +--
 include/configs/ti_am335x_common.h  |  2 +-
 include/configs/ti_omap3_common.h   |  4 +--
 include/configs/ti_omap4_common.h   |  4 +--
 include/configs/ti_omap5_common.h   |  4 +--
 18 files changed, 22 insertions(+), 76 deletions(-)
 delete mode 100644 drivers/serial/serial_omap.c
board/isee/igep00x0/igep00x0.c +1 -1
index 044c6d5..57b89e0 100644
@@ -40,7 +40,7 @@ static const struct ns16550_platdata igep_serial = {
 };
 
 U_BOOT_DEVICE(igep_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&igep_serial
 };
 
board/lge/sniper/sniper.c +1 -1
index 4eff01a..c818c9d 100644
@@ -35,7 +35,7 @@ static const struct ns16550_platdata serial_omap_platdata = {
 };
 
 U_BOOT_DEVICE(sniper_serial) = {
-	.name = "serial_omap",
+	.name = "ns16550_serial",
 	.platdata = &serial_omap_platdata
 };
 
board/logicpd/omap3som/omap3logic.c +1 -1
index babb0dc..fb89921 100644
@@ -43,7 +43,7 @@ static const struct ns16550_platdata omap3logic_serial = {
 };
 
 U_BOOT_DEVICE(omap3logic_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&omap3logic_serial
 };
 
board/logicpd/zoom1/zoom1.c +1 -1
index 0a3b55b..4040114 100644
@@ -50,7 +50,7 @@ static const struct ns16550_platdata zoom1_serial = {
 };
 
 U_BOOT_DEVICE(zoom1_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&zoom1_serial
 };
 
board/overo/overo.c +1 -1
index 20cbec2..a38b959 100644
@@ -74,7 +74,7 @@ static const struct ns16550_platdata overo_serial = {
 };
 
 U_BOOT_DEVICE(overo_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&overo_serial
 };
 
board/quipos/cairo/cairo.c +1 -1
index b97a09a..21793e8 100644
@@ -97,7 +97,7 @@ static const struct ns16550_platdata cairo_serial = {
 };
 
 U_BOOT_DEVICE(cairo_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&cairo_serial
 };
 
board/ti/beagle/beagle.c +1 -1
index 56e3cfe..ff317ef 100644
@@ -79,7 +79,7 @@ static const struct ns16550_platdata beagle_serial = {
 };
 
 U_BOOT_DEVICE(beagle_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&beagle_serial
 };
 
board/timll/devkit8000/devkit8000.c +1 -1
index a61cc14..1a447c7 100644
@@ -52,7 +52,7 @@ static const struct ns16550_platdata devkit8000_serial = {
 };
 
 U_BOOT_DEVICE(devkit8000_uart) = {
-	"serial_omap",
+	"ns16550_serial",
 	&devkit8000_serial
 };
 
drivers/serial/Makefile +0 -1
index 86ae50f..dd87147 100644
@@ -40,7 +40,6 @@ obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
 obj-$(CONFIG_MXS_AUART) += mxs_auart.o
 obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
-obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
 obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
 
 ifndef CONFIG_SPL_BUILD
drivers/serial/serial_omap.c deleted +0 -54

54 lines not on this page · raw message

include/configs/am43xx_evm.h +2 -2
index b02abd3..a962bf5 100644
@@ -23,12 +23,12 @@
 
 /* NS16550 Configuration */
 #define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK		48000000
 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
-#define CONFIG_SYS_NS16550_CLK		48000000
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
 #else
-#define CONFIG_OMAP_SERIAL
+#define CONFIG_NS16550_SERIAL
 #endif
 
 /* I2C Configuration */
include/configs/cm_t43.h +1 -1
index c4d3b94..e1019ff 100644
@@ -18,7 +18,7 @@
 #include <asm/arch/omap.h>
 
 /* Serial support */
-#define CONFIG_OMAP_SERIAL
+#define CONFIG_NS16550_SERIAL
 #define CONFIG_DM_SERIAL
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_SERIAL
include/configs/omap3_pandora.h +2 -1
index 4e93705..c15c699 100644
@@ -49,7 +49,8 @@
 /*
  * NS16550 Configuration
  */
-#undef CONFIG_OMAP_SERIAL
+#undef CONFIG_NS16550_SERIAL
+#undef CONFIG_SYS_NS16550_CLK
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
 #define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
include/configs/sniper.h +2 -2
index f168e8f..34f7f6e 100644
@@ -197,14 +197,14 @@
 
 
 #ifndef CONFIG_SPL_BUILD
-#define CONFIG_OMAP_SERIAL
+#define CONFIG_NS16550_SERIAL
 #else
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-#define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
 #endif
 
 #define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
 #define CONFIG_SYS_NS16550_COM3		OMAP34XX_UART3
 #define CONFIG_CONS_INDEX		3
 #define CONFIG_SERIAL3			3
include/configs/ti_am335x_common.h +1 -1
index 9697431..32348ab 100644
@@ -20,7 +20,7 @@
 #define CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC
 
 #ifndef CONFIG_SPL_BUILD
-# define CONFIG_OMAP_SERIAL
+# define CONFIG_NS16550_SERIAL
 #endif
 
 #include <asm/arch/omap.h>
include/configs/ti_omap3_common.h +2 -2
index e399a87..e749d5d 100644
@@ -19,7 +19,7 @@
 #include <asm/arch/omap.h>
 
 #ifndef CONFIG_SPL_BUILD
-# define CONFIG_OMAP_SERIAL
+# define CONFIG_NS16550_SERIAL
 #endif
 
 /* Common ARM Erratas */
@@ -37,10 +37,10 @@
 /* NS16550 Configuration */
 #define V_NS16550_CLK			48000000	/* 48MHz (APLL96/2) */
 #define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
 #ifdef CONFIG_SPL_BUILD
 # define CONFIG_SYS_NS16550_SERIAL
 # define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-# define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
 #endif
 #define CONFIG_SYS_BAUDRATE_TABLE	{4800, 9600, 19200, 38400, 57600, \
 					115200}
include/configs/ti_omap4_common.h +2 -2
index 741f71f..0a03cd5 100644
@@ -58,13 +58,13 @@
  * Hardware drivers
  */
 #define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK		48000000
 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-#define CONFIG_SYS_NS16550_CLK		48000000
 #define CONFIG_SYS_NS16550_COM3		UART3_BASE
 #else
-#define CONFIG_OMAP_SERIAL
+#define CONFIG_NS16550_SERIAL
 #endif
 #define CONFIG_CONS_INDEX		3
 
include/configs/ti_omap5_common.h +2 -2
index 5acbc92..be1f4c1 100644
@@ -51,12 +51,12 @@
  * Hardware drivers
  */
 #define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK		48000000
 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-#define CONFIG_SYS_NS16550_CLK		48000000
 #else
-#define CONFIG_OMAP_SERIAL
+#define CONFIG_NS16550_SERIAL
 #endif
 
 /*
Signature · 1 line
2.5.0
#49 lore raw

PATCH v2 11/13 ns16550: zap CONFIG_NS16550_SERIAL

In reply to Thomas Chou

Zap CONFIG_NS16550_SERIAL, as the unification of ns16550 drivers is completed.

---
 configs/efi-x86_defconfig            |  1 -
 drivers/serial/Kconfig               | 12 ------------
 drivers/serial/ns16550.c             |  4 ----
 include/configs/am43xx_evm.h         |  2 --
 include/configs/cm_t43.h             |  1 -
 include/configs/mv-common.h          |  4 ----
 include/configs/omap3_pandora.h      |  1 -
 include/configs/sniper.h             |  4 +---
 include/configs/sunxi-common.h       |  4 +---
 include/configs/tb100.h              |  1 -
 include/configs/tegra-common.h       |  1 -
 include/configs/ti_am335x_common.h   |  4 ----
 include/configs/ti_armv7_keystone2.h |  2 --
 include/configs/ti_omap3_common.h    |  4 ----
 include/configs/ti_omap4_common.h    |  2 --
 include/configs/ti_omap5_common.h    |  2 --
 16 files changed, 2 insertions(+), 47 deletions(-)
configs/efi-x86_defconfig +0 -1
index b1573df..904b564 100644
@@ -3,7 +3,6 @@ CONFIG_VENDOR_EFI=y
 CONFIG_DEFAULT_DEVICE_TREE="efi"
 CONFIG_TARGET_EFI=y
 CONFIG_TSC_CALIBRATION_BYPASS=y
-# CONFIG_NS16550_SERIAL is not set
 # CONFIG_CMD_BOOTM is not set
 # CONFIG_CMD_NET is not set
 CONFIG_OF_CONTROL=y
drivers/serial/Kconfig +0 -12
index 1239416..fe407b7 100644
@@ -186,18 +186,6 @@ 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 NS16550_SERIAL
-	bool "NS16550 UART or compatible"
-	depends on DM_SERIAL
-	default y if X86 || PPC || ARCH_ROCKCHIP
-	help
-	  Support NS16550 UART or compatible with driver model. 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
drivers/serial/ns16550.c +0 -4
index f0a9aac..d5bcbc3 100644
@@ -404,7 +404,6 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev)
 	plat->base = addr;
 	plat->reg_shift = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
 					 "reg-shift", 1);
-#ifdef CONFIG_NS16550_SERIAL
 	plat->clock = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
 				     "clock-frequency",
 				     CONFIG_SYS_NS16550_CLK);
@@ -412,7 +411,6 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev)
 		debug("ns16550 clock not defined\n");
 		return -EINVAL;
 	}
-#endif /* CONFIG_NS16550_SERIAL */
 
 	return 0;
 }
@@ -425,7 +423,6 @@ const struct dm_serial_ops ns16550_serial_ops = {
 	.setbrg = ns16550_serial_setbrg,
 };
 
-#ifdef CONFIG_NS16550_SERIAL
 #if CONFIG_IS_ENABLED(OF_CONTROL)
 static const struct udevice_id ns16550_serial_ids[] = {
 	{ .compatible = "ns16550" },
@@ -454,5 +451,4 @@ U_BOOT_DRIVER(ns16550_serial) = {
 	.probe = ns16550_serial_probe,
 	.ops	= &ns16550_serial_ops,
 };
-#endif /* CONFIG_NS16550_SERIAL */
 #endif /* CONFIG_DM_SERIAL */
include/configs/am43xx_evm.h +0 -2
index a962bf5..75b8f53 100644
@@ -27,8 +27,6 @@
 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-#else
-#define CONFIG_NS16550_SERIAL
 #endif
 
 /* I2C Configuration */
include/configs/cm_t43.h +0 -1
index e1019ff..f8c39bf 100644
@@ -18,7 +18,6 @@
 #include <asm/arch/omap.h>
 
 /* Serial support */
-#define CONFIG_NS16550_SERIAL
 #define CONFIG_DM_SERIAL
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_SERIAL
include/configs/mv-common.h +0 -4
index 0e33a89..575e53e 100644
@@ -39,10 +39,6 @@
 /*
  * NS16550 Configuration
  */
-#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM_SERIAL)
-#define CONFIG_NS16550_SERIAL
-#endif
-
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_CLK		CONFIG_SYS_TCLK
include/configs/omap3_pandora.h +0 -1
index c15c699..803f4b8 100644
@@ -49,7 +49,6 @@
 /*
  * NS16550 Configuration
  */
-#undef CONFIG_NS16550_SERIAL
 #undef CONFIG_SYS_NS16550_CLK
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
include/configs/sniper.h +1 -3
index 34f7f6e..559311f 100644
@@ -196,9 +196,7 @@
  */
 
 
-#ifndef CONFIG_SPL_BUILD
-#define CONFIG_NS16550_SERIAL
-#else
+#ifdef CONFIG_SPL_BUILD
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
 #endif
include/configs/sunxi-common.h +1 -3
index ab584ac..394fdb2 100644
@@ -45,9 +45,7 @@
 #define CONFIG_SYS_NS16550_SERIAL
 /* ns16550 reg in the low bits of cpu reg */
 #define CONFIG_SYS_NS16550_CLK		24000000
-#ifdef CONFIG_DM_SERIAL
-# define CONFIG_NS16550_SERIAL
-#else
+#ifndef CONFIG_DM_SERIAL
 # define CONFIG_SYS_NS16550_REG_SIZE	-4
 # define CONFIG_SYS_NS16550_COM1		SUNXI_UART0_BASE
 # define CONFIG_SYS_NS16550_COM2		SUNXI_UART1_BASE
include/configs/tb100.h +0 -1
index 44287d8..0b9ad1c 100644
@@ -35,7 +35,6 @@
 /*
  * UART configuration
  */
-#define CONFIG_NS16550_SERIAL
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_CLK		166666666
include/configs/tegra-common.h +0 -1
index ceda304..cd84fd8 100644
@@ -39,7 +39,6 @@
 /*
  * NS16550 Configuration
  */
-#define CONFIG_NS16550_SERIAL
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
 
include/configs/ti_am335x_common.h +0 -4
index 32348ab..3beb9db 100644
@@ -19,10 +19,6 @@
 #define CONFIG_SYS_TIMERBASE		0x48040000	/* Use Timer2 */
 #define CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC
 
-#ifndef CONFIG_SPL_BUILD
-# define CONFIG_NS16550_SERIAL
-#endif
-
 #include <asm/arch/omap.h>
 
 /* NS16550 Configuration */
include/configs/ti_armv7_keystone2.h +0 -2
index 5ab9b6e..0d36e87 100644
@@ -63,8 +63,6 @@
 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	-4
-#else
-#define CONFIG_NS16550_SERIAL
 #endif
 #define CONFIG_SYS_NS16550_COM1		KS2_UART0_BASE
 #define CONFIG_SYS_NS16550_COM2		KS2_UART1_BASE
include/configs/ti_omap3_common.h +0 -4
index e749d5d..4d53b4c 100644
@@ -18,10 +18,6 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/omap.h>
 
-#ifndef CONFIG_SPL_BUILD
-# define CONFIG_NS16550_SERIAL
-#endif
-
 /* Common ARM Erratas */
 #define CONFIG_ARM_ERRATA_454179
 #define CONFIG_ARM_ERRATA_430973
include/configs/ti_omap4_common.h +0 -2
index 0a03cd5..4b7b493 100644
@@ -63,8 +63,6 @@
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
 #define CONFIG_SYS_NS16550_COM3		UART3_BASE
-#else
-#define CONFIG_NS16550_SERIAL
 #endif
 #define CONFIG_CONS_INDEX		3
 
include/configs/ti_omap5_common.h +0 -2
index be1f4c1..94d6ef0 100644
@@ -55,8 +55,6 @@
 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
-#else
-#define CONFIG_NS16550_SERIAL
 #endif
 
 /*
Signature · 1 line
2.5.0
#50 lore raw

PATCH v2 11/13 ns16550: zap CONFIG_NS16550_SERIAL

Hi Thomas,

Quoted 28 lines · Thomas Chou

Zap CONFIG_NS16550_SERIAL, as the unification of ns16550 drivers is completed.

---
 configs/efi-x86_defconfig            |  1 -
 drivers/serial/Kconfig               | 12 ------------
 drivers/serial/ns16550.c             |  4 ----
 include/configs/am43xx_evm.h         |  2 --
 include/configs/cm_t43.h             |  1 -
 include/configs/mv-common.h          |  4 ----
 include/configs/omap3_pandora.h      |  1 -
 include/configs/sniper.h             |  4 +---
 include/configs/sunxi-common.h       |  4 +---
 include/configs/tb100.h              |  1 -
 include/configs/tegra-common.h       |  1 -
 include/configs/ti_am335x_common.h   |  4 ----
 include/configs/ti_armv7_keystone2.h |  2 --
 include/configs/ti_omap3_common.h    |  4 ----
 include/configs/ti_omap4_common.h    |  2 --
 include/configs/ti_omap5_common.h    |  2 --
 16 files changed, 2 insertions(+), 47 deletions(-)
configs/efi-x86_defconfig +0 -0
index b1573df..904b564 100644

configs/efi-x86_defconfig CONFIG_VENDOR_EFI=y · line 6

Quoted 4 lines
configs/efi-x86_defconfig +0 -1
@@ -3,7 +3,6 @@ CONFIG_VENDOR_EFI=y
 CONFIG_DEFAULT_DEVICE_TREE="efi"
 CONFIG_TARGET_EFI=y
 CONFIG_TSC_CALIBRATION_BYPASS=y
-# CONFIG_NS16550_SERIAL is not set

This line should not be removed.

Quoted 227 lines
configs/efi-x86_defconfig +0 -0
 # CONFIG_CMD_BOOTM is not set
 # CONFIG_CMD_NET is not set
 CONFIG_OF_CONTROL=y
drivers/serial/Kconfig +0 -12
index 1239416..fe407b7 100644
@@ -186,18 +186,6 @@ 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 NS16550_SERIAL
-       bool "NS16550 UART or compatible"
-       depends on DM_SERIAL
-       default y if X86 || PPC || ARCH_ROCKCHIP
-       help
-         Support NS16550 UART or compatible with driver model. 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
drivers/serial/ns16550.c +0 -4
index f0a9aac..d5bcbc3 100644
@@ -404,7 +404,6 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev)
        plat->base = addr;
        plat->reg_shift = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
                                         "reg-shift", 1);
-#ifdef CONFIG_NS16550_SERIAL
        plat->clock = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
                                     "clock-frequency",
                                     CONFIG_SYS_NS16550_CLK);
@@ -412,7 +411,6 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev)
                debug("ns16550 clock not defined\n");
                return -EINVAL;
        }
-#endif /* CONFIG_NS16550_SERIAL */
 
        return 0;
 }
@@ -425,7 +423,6 @@ const struct dm_serial_ops ns16550_serial_ops = {
        .setbrg = ns16550_serial_setbrg,
 };
 
-#ifdef CONFIG_NS16550_SERIAL
 #if CONFIG_IS_ENABLED(OF_CONTROL)
 static const struct udevice_id ns16550_serial_ids[] = {
        { .compatible = "ns16550" },
@@ -454,5 +451,4 @@ U_BOOT_DRIVER(ns16550_serial) = {
        .probe = ns16550_serial_probe,
        .ops    = &ns16550_serial_ops,
 };
-#endif /* CONFIG_NS16550_SERIAL */
 #endif /* CONFIG_DM_SERIAL */
include/configs/am43xx_evm.h +0 -2
index a962bf5..75b8f53 100644
@@ -27,8 +27,6 @@
 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE    (-4)
-#else
-#define CONFIG_NS16550_SERIAL
 #endif
 
 /* I2C Configuration */
include/configs/cm_t43.h +0 -1
index e1019ff..f8c39bf 100644
@@ -18,7 +18,6 @@
 #include <asm/arch/omap.h>
 
 /* Serial support */
-#define CONFIG_NS16550_SERIAL
 #define CONFIG_DM_SERIAL
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_SERIAL
include/configs/mv-common.h +0 -4
index 0e33a89..575e53e 100644
@@ -39,10 +39,6 @@
 /*
  * NS16550 Configuration
  */
-#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM_SERIAL)
-#define CONFIG_NS16550_SERIAL
-#endif
-
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_CLK         CONFIG_SYS_TCLK
include/configs/omap3_pandora.h +0 -1
index c15c699..803f4b8 100644
@@ -49,7 +49,6 @@
 /*
  * NS16550 Configuration
  */
-#undef CONFIG_NS16550_SERIAL
 #undef CONFIG_SYS_NS16550_CLK
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE    (-4)
include/configs/sniper.h +1 -3
index 34f7f6e..559311f 100644
@@ -196,9 +196,7 @@
  */
 
 
-#ifndef CONFIG_SPL_BUILD
-#define CONFIG_NS16550_SERIAL
-#else
+#ifdef CONFIG_SPL_BUILD
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE    (-4)
 #endif
include/configs/sunxi-common.h +1 -3
index ab584ac..394fdb2 100644
@@ -45,9 +45,7 @@
 #define CONFIG_SYS_NS16550_SERIAL
 /* ns16550 reg in the low bits of cpu reg */
 #define CONFIG_SYS_NS16550_CLK         24000000
-#ifdef CONFIG_DM_SERIAL
-# define CONFIG_NS16550_SERIAL
-#else
+#ifndef CONFIG_DM_SERIAL
 # define CONFIG_SYS_NS16550_REG_SIZE   -4
 # define CONFIG_SYS_NS16550_COM1               SUNXI_UART0_BASE
 # define CONFIG_SYS_NS16550_COM2               SUNXI_UART1_BASE
include/configs/tb100.h +0 -1
index 44287d8..0b9ad1c 100644
@@ -35,7 +35,6 @@
 /*
  * UART configuration
  */
-#define CONFIG_NS16550_SERIAL
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_CLK         166666666
include/configs/tegra-common.h +0 -1
index ceda304..cd84fd8 100644
@@ -39,7 +39,6 @@
 /*
  * NS16550 Configuration
  */
-#define CONFIG_NS16550_SERIAL
 #define CONFIG_SYS_NS16550
 #define CONFIG_SYS_NS16550_CLK         V_NS16550_CLK
 
include/configs/ti_am335x_common.h +0 -4
index 32348ab..3beb9db 100644
@@ -19,10 +19,6 @@
 #define CONFIG_SYS_TIMERBASE           0x48040000      /* Use Timer2 */
 #define CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC
 
-#ifndef CONFIG_SPL_BUILD
-# define CONFIG_NS16550_SERIAL
-#endif
-
 #include <asm/arch/omap.h>
 
 /* NS16550 Configuration */
include/configs/ti_armv7_keystone2.h +0 -2
index 5ab9b6e..0d36e87 100644
@@ -63,8 +63,6 @@
 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE    -4
-#else
-#define CONFIG_NS16550_SERIAL
 #endif
 #define CONFIG_SYS_NS16550_COM1                KS2_UART0_BASE
 #define CONFIG_SYS_NS16550_COM2                KS2_UART1_BASE
include/configs/ti_omap3_common.h +0 -4
index e749d5d..4d53b4c 100644
@@ -18,10 +18,6 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/omap.h>
 
-#ifndef CONFIG_SPL_BUILD
-# define CONFIG_NS16550_SERIAL
-#endif
-
 /* Common ARM Erratas */
 #define CONFIG_ARM_ERRATA_454179
 #define CONFIG_ARM_ERRATA_430973
include/configs/ti_omap4_common.h +0 -2
index 0a03cd5..4b7b493 100644
@@ -63,8 +63,6 @@
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE    (-4)
 #define CONFIG_SYS_NS16550_COM3                UART3_BASE
-#else
-#define CONFIG_NS16550_SERIAL
 #endif
 #define CONFIG_CONS_INDEX              3
 
include/configs/ti_omap5_common.h +0 -0
index be1f4c1..94d6ef0 100644

include/configs/ti_omap5_common.h

Quoted 9 lines
include/configs/ti_omap5_common.h +0 -3
@@ -55,8 +55,6 @@
 #if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
 #define CONFIG_SYS_NS16550_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE    (-4)
-#else
-#define CONFIG_NS16550_SERIAL
 #endif
 
 /*
--

Other than that,

Regards,
Bin

#51 lore raw

PATCH v2 11/13 ns16550: zap CONFIG_NS16550_SERIAL

Hi Bin,

Quoted 26 lines · Bin Meng

Hi Thomas,

Quoted 23 lines · Thomas Chou

Zap CONFIG_NS16550_SERIAL, as the unification of ns16550 drivers is completed.

---
  configs/efi-x86_defconfig            |  1 -
  drivers/serial/Kconfig               | 12 ------------
  drivers/serial/ns16550.c             |  4 ----
  include/configs/am43xx_evm.h         |  2 --
  include/configs/cm_t43.h             |  1 -
  include/configs/mv-common.h          |  4 ----
  include/configs/omap3_pandora.h      |  1 -
  include/configs/sniper.h             |  4 +---
  include/configs/sunxi-common.h       |  4 +---
  include/configs/tb100.h              |  1 -
  include/configs/tegra-common.h       |  1 -
  include/configs/ti_am335x_common.h   |  4 ----
  include/configs/ti_armv7_keystone2.h |  2 --
  include/configs/ti_omap3_common.h    |  4 ----
  include/configs/ti_omap4_common.h    |  2 --
  include/configs/ti_omap5_common.h    |  2 --
  16 files changed, 2 insertions(+), 47 deletions(-)
Quoted 11 lines

configs/efi-x86_defconfig CONFIG_VENDOR_EFI=y · line 6

Quoted 9 lines
configs/efi-x86_defconfig +0 -1
index b1573df..904b564 100644
@@ -3,7 +3,6 @@ CONFIG_VENDOR_EFI=y
  CONFIG_DEFAULT_DEVICE_TREE="efi"
  CONFIG_TARGET_EFI=y
  CONFIG_TSC_CALIBRATION_BYPASS=y
-# CONFIG_NS16550_SERIAL is not set

This line should not be removed.

The CONFIG_NS16550_SERIAL is used only during the transition and it is removed now. It does not need this for efi serial to work.

Thank you again for the review.

Best regards,
Thomas

#52 lore raw

PATCH v2 11/13 ns16550: zap CONFIG_NS16550_SERIAL

Hi Thomas,

Quoted 46 lines · Thomas Chou

Hi Bin,

Quoted 28 lines · Bin Meng

Hi Thomas,

Quoted 24 lines · Thomas Chou

Zap CONFIG_NS16550_SERIAL, as the unification of ns16550 drivers is completed.

---
  configs/efi-x86_defconfig            |  1 -
  drivers/serial/Kconfig               | 12 ------------
  drivers/serial/ns16550.c             |  4 ----
  include/configs/am43xx_evm.h         |  2 --
  include/configs/cm_t43.h             |  1 -
  include/configs/mv-common.h          |  4 ----
  include/configs/omap3_pandora.h      |  1 -
  include/configs/sniper.h             |  4 +---
  include/configs/sunxi-common.h       |  4 +---
  include/configs/tb100.h              |  1 -
  include/configs/tegra-common.h       |  1 -
  include/configs/ti_am335x_common.h   |  4 ----
  include/configs/ti_armv7_keystone2.h |  2 --
  include/configs/ti_omap3_common.h    |  4 ----
  include/configs/ti_omap4_common.h    |  2 --
  include/configs/ti_omap5_common.h    |  2 --
  16 files changed, 2 insertions(+), 47 deletions(-)
Quoted 12 lines

configs/efi-x86_defconfig CONFIG_VENDOR_EFI=y · line 6

Quoted 9 lines
configs/efi-x86_defconfig +0 -1
index b1573df..904b564 100644
@@ -3,7 +3,6 @@ CONFIG_VENDOR_EFI=y
  CONFIG_DEFAULT_DEVICE_TREE="efi"
  CONFIG_TARGET_EFI=y
  CONFIG_TSC_CALIBRATION_BYPASS=y
-# CONFIG_NS16550_SERIAL is not set

This line should not be removed.

Quoted 3 lines

The CONFIG_NS16550_SERIAL is used only during the transition and it is removed now. It does not need this for efi serial to work.

Yes, I just checked patch#12 "ns16550: move CONFIG_SYS_NS16550 to Kconfig" (a huge patchset) and found CONFIG_SYS_NS16550 is not on by default for x86, so this line in efi-x86 can be removed. Previously I was thinking the option is still on and if that's the case, this line in efi-x86 should not be removed otherwise efi-x86 won't work.

Quoted 4 lines

Thank you again for the review.

Best regards,
Thomas

Regards,
Bin

#53 lore raw

PATCH v2 12/13 ns16550: move CONFIG_SYS_NS16550 to Kconfig

In reply to Thomas Chou

Move CONFIG_SYS_NS16550 to Kconfig, and run moveconfig.py.

---
 arch/arm/include/asm/arch-lpc32xx/config.h             |  1 -
 configs/A10-OLinuXino-Lime_defconfig                   |  1 +
 configs/A10s-OLinuXino-M_defconfig                     |  3 ++-
 configs/A13-OLinuXinoM_defconfig                       |  3 ++-
 configs/A13-OLinuXino_defconfig                        |  4 ++--
 configs/A20-OLinuXino-Lime2_defconfig                  |  1 +
 configs/A20-OLinuXino-Lime_defconfig                   |  1 +
 configs/A20-OLinuXino_MICRO_defconfig                  |  1 +
 configs/A20-Olimex-SOM-EVB_defconfig                   |  1 +
 configs/Ainol_AW1_defconfig                            |  1 +
 configs/Ampe_A76_defconfig                             |  1 +
 configs/Auxtek-T003_defconfig                          |  3 ++-
 configs/Auxtek-T004_defconfig                          |  3 ++-
 configs/B4420QDS_NAND_defconfig                        |  1 +
 configs/B4420QDS_SPIFLASH_defconfig                    |  1 +
 configs/B4420QDS_defconfig                             |  1 +
 configs/B4860QDS_NAND_defconfig                        |  1 +
 configs/B4860QDS_SECURE_BOOT_defconfig                 |  1 +
 configs/B4860QDS_SPIFLASH_defconfig                    |  1 +
 configs/B4860QDS_SRIO_PCIE_BOOT_defconfig              |  1 +
 configs/B4860QDS_defconfig                             |  1 +
 configs/BSC9131RDB_NAND_SYSCLK100_defconfig            |  1 +
 configs/BSC9131RDB_NAND_defconfig                      |  1 +
 configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig        |  1 +
 configs/BSC9131RDB_SPIFLASH_defconfig                  |  1 +
 configs/BSC9132QDS_NAND_DDRCLK100_SECURE_defconfig     |  1 +
 configs/BSC9132QDS_NAND_DDRCLK100_defconfig            |  1 +
 configs/BSC9132QDS_NAND_DDRCLK133_SECURE_defconfig     |  1 +
 configs/BSC9132QDS_NAND_DDRCLK133_defconfig            |  1 +
 configs/BSC9132QDS_NOR_DDRCLK100_SECURE_defconfig      |  1 +
 configs/BSC9132QDS_NOR_DDRCLK100_defconfig             |  1 +
 configs/BSC9132QDS_NOR_DDRCLK133_SECURE_defconfig      |  1 +
 configs/BSC9132QDS_NOR_DDRCLK133_defconfig             |  1 +
 configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig   |  1 +
 configs/BSC9132QDS_SDCARD_DDRCLK100_defconfig          |  1 +
 configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig   |  1 +
 configs/BSC9132QDS_SDCARD_DDRCLK133_defconfig          |  1 +
 configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig |  1 +
 configs/BSC9132QDS_SPIFLASH_DDRCLK100_defconfig        |  1 +
 configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig |  1 +
 configs/BSC9132QDS_SPIFLASH_DDRCLK133_defconfig        |  1 +
 configs/Bananapi_defconfig                             |  1 +
 configs/Bananapro_defconfig                            |  1 +
 configs/C29XPCIE_NAND_defconfig                        |  1 +
 configs/C29XPCIE_NOR_SECBOOT_defconfig                 |  1 +
 configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig            |  1 +
 configs/C29XPCIE_SPIFLASH_defconfig                    |  1 +
 configs/C29XPCIE_defconfig                             |  1 +
 configs/CHIP_defconfig                                 |  1 +
 configs/CPCI2DP_defconfig                              |  1 +
 configs/CPCI4052_defconfig                             |  1 +
 configs/CSQ_CS908_defconfig                            |  3 ++-
 configs/Chuwi_V7_CW0825_defconfig                      |  1 +
 configs/Colombus_defconfig                             |  1 +
 configs/Cubieboard2_defconfig                          |  1 +
 configs/Cubieboard_defconfig                           |  1 +
 configs/Cubietruck_defconfig                           |  8 ++++----
 configs/Cyrus_P5020_defconfig                          |  3 ++-
 configs/Cyrus_P5040_defconfig                          |  3 ++-
 configs/Hummingbird_A31_defconfig                      |  1 +
 configs/Hyundai_A7HD_defconfig                         |  1 +
 configs/Linksprite_pcDuino3_Nano_defconfig             |  1 +
 configs/Linksprite_pcDuino3_defconfig                  |  1 +
 configs/Linksprite_pcDuino_defconfig                   |  1 +
 configs/MIP405T_defconfig                              |  1 +
 configs/MIP405_defconfig                               |  1 +
 configs/MK808C_defconfig                               |  1 +
 configs/MPC8308RDB_defconfig                           |  1 +
 configs/MPC8313ERDB_33_defconfig                       |  1 +
 configs/MPC8313ERDB_66_defconfig                       |  1 +
 configs/MPC8313ERDB_NAND_33_defconfig                  |  1 +
 configs/MPC8313ERDB_NAND_66_defconfig                  |  1 +
 configs/MPC8315ERDB_defconfig                          |  1 +
 configs/MPC8323ERDB_defconfig                          |  1 +
 configs/MPC832XEMDS_ATM_defconfig                      |  1 +
 configs/MPC832XEMDS_HOST_33_defconfig                  |  1 +
 configs/MPC832XEMDS_HOST_66_defconfig                  |  1 +
 configs/MPC832XEMDS_SLAVE_defconfig                    |  1 +
 configs/MPC832XEMDS_defconfig                          |  1 +
 configs/MPC8349EMDS_defconfig                          |  1 +
 configs/MPC8349ITXGP_defconfig                         |  1 +
 configs/MPC8349ITX_LOWBOOT_defconfig                   |  1 +
 configs/MPC8349ITX_defconfig                           |  1 +
 configs/MPC837XEMDS_HOST_defconfig                     |  1 +
 configs/MPC837XEMDS_defconfig                          |  1 +
 configs/MPC837XERDB_defconfig                          |  1 +
 configs/MPC8536DS_36BIT_defconfig                      |  1 +
 configs/MPC8536DS_SDCARD_defconfig                     |  1 +
 configs/MPC8536DS_SPIFLASH_defconfig                   |  1 +
 configs/MPC8536DS_defconfig                            |  1 +
 configs/MPC8540ADS_defconfig                           |  1 +
 configs/MPC8541CDS_defconfig                           |  1 +
 configs/MPC8541CDS_legacy_defconfig                    |  1 +
 configs/MPC8544DS_defconfig                            |  1 +
 configs/MPC8548CDS_36BIT_defconfig                     |  1 +
 configs/MPC8548CDS_defconfig                           |  1 +
 configs/MPC8548CDS_legacy_defconfig                    |  1 +
 configs/MPC8555CDS_defconfig                           |  1 +
 configs/MPC8555CDS_legacy_defconfig                    |  1 +
 configs/MPC8568MDS_defconfig                           |  1 +
 configs/MPC8569MDS_ATM_defconfig                       |  1 +
 configs/MPC8569MDS_defconfig                           |  1 +
 configs/MPC8572DS_36BIT_defconfig                      |  1 +
 configs/MPC8572DS_defconfig                            |  1 +
 configs/MPC8610HPCD_defconfig                          |  1 +
 configs/MPC8641HPCN_36BIT_defconfig                    |  1 +
 configs/MPC8641HPCN_defconfig                          |  1 +
 configs/MSI_Primo73_defconfig                          |  1 +
 configs/MSI_Primo81_defconfig                          |  1 +
 configs/Marsboard_A10_defconfig                        |  1 +
 configs/Mele_A1000G_quad_defconfig                     |  3 ++-
 configs/Mele_A1000_defconfig                           |  1 +
 configs/Mele_I7_defconfig                              |  3 ++-
 configs/Mele_M3_defconfig                              |  1 +
 configs/Mele_M5_defconfig                              |  1 +
 configs/Mele_M9_defconfig                              |  3 ++-
 configs/Merrii_A80_Optimus_defconfig                   |  1 +
 configs/Mini-X_defconfig                               |  1 +
 configs/Orangepi_defconfig                             |  1 +
 configs/Orangepi_mini_defconfig                        |  1 +
 configs/P1010RDB-PA_36BIT_NAND_SECBOOT_defconfig       |  1 +
 configs/P1010RDB-PA_36BIT_NAND_defconfig               |  1 +
 configs/P1010RDB-PA_36BIT_NOR_SECBOOT_defconfig        |  1 +
 configs/P1010RDB-PA_36BIT_NOR_defconfig                |  1 +
 configs/P1010RDB-PA_36BIT_SDCARD_defconfig             |  1 +
 configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig   |  1 +
 configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig           |  1 +
 configs/P1010RDB-PA_NAND_SECBOOT_defconfig             |  1 +
 configs/P1010RDB-PA_NAND_defconfig                     |  1 +
 configs/P1010RDB-PA_NOR_SECBOOT_defconfig              |  1 +
 configs/P1010RDB-PA_NOR_defconfig                      |  1 +
 configs/P1010RDB-PA_SDCARD_defconfig                   |  1 +
 configs/P1010RDB-PA_SPIFLASH_SECBOOT_defconfig         |  1 +
 configs/P1010RDB-PA_SPIFLASH_defconfig                 |  1 +
 configs/P1010RDB-PB_36BIT_NAND_SECBOOT_defconfig       |  1 +
 configs/P1010RDB-PB_36BIT_NAND_defconfig               |  1 +
 configs/P1010RDB-PB_36BIT_NOR_SECBOOT_defconfig        |  1 +
 configs/P1010RDB-PB_36BIT_NOR_defconfig                |  1 +
 configs/P1010RDB-PB_36BIT_SDCARD_defconfig             |  1 +
 configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig   |  1 +
 configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig           |  1 +
 configs/P1010RDB-PB_NAND_SECBOOT_defconfig             |  1 +
 configs/P1010RDB-PB_NAND_defconfig                     |  1 +
 configs/P1010RDB-PB_NOR_SECBOOT_defconfig              |  1 +
 configs/P1010RDB-PB_NOR_defconfig                      |  1 +
 configs/P1010RDB-PB_SDCARD_defconfig                   |  1 +
 configs/P1010RDB-PB_SPIFLASH_SECBOOT_defconfig         |  1 +
 configs/P1010RDB-PB_SPIFLASH_defconfig                 |  1 +
 configs/P1020MBG-PC_36BIT_SDCARD_defconfig             |  1 +
 configs/P1020MBG-PC_36BIT_defconfig                    |  1 +
 configs/P1020MBG-PC_SDCARD_defconfig                   |  1 +
 configs/P1020MBG-PC_defconfig                          |  1 +
 configs/P1020RDB-PC_36BIT_NAND_defconfig               |  1 +
 configs/P1020RDB-PC_36BIT_SDCARD_defconfig             |  1 +
 configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig           |  1 +
 configs/P1020RDB-PC_36BIT_defconfig                    |  1 +
 configs/P1020RDB-PC_NAND_defconfig                     |  1 +
 configs/P1020RDB-PC_SDCARD_defconfig                   |  1 +
 configs/P1020RDB-PC_SPIFLASH_defconfig                 |  1 +
 configs/P1020RDB-PC_defconfig                          |  1 +
 configs/P1020RDB-PD_NAND_defconfig                     |  1 +
 configs/P1020RDB-PD_SDCARD_defconfig                   |  1 +
 configs/P1020RDB-PD_SPIFLASH_defconfig                 |  1 +
 configs/P1020RDB-PD_defconfig                          |  1 +
 configs/P1020UTM-PC_36BIT_SDCARD_defconfig             |  1 +
 configs/P1020UTM-PC_36BIT_defconfig                    |  1 +
 configs/P1020UTM-PC_SDCARD_defconfig                   |  1 +
 configs/P1020UTM-PC_defconfig                          |  1 +
 configs/P1021RDB-PC_36BIT_NAND_defconfig               |  1 +
 configs/P1021RDB-PC_36BIT_SDCARD_defconfig             |  1 +
 configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig           |  1 +
 configs/P1021RDB-PC_36BIT_defconfig                    |  1 +
 configs/P1021RDB-PC_NAND_defconfig                     |  1 +
 configs/P1021RDB-PC_SDCARD_defconfig                   |  1 +
 configs/P1021RDB-PC_SPIFLASH_defconfig                 |  1 +
 configs/P1021RDB-PC_defconfig                          |  1 +
 configs/P1022DS_36BIT_NAND_defconfig                   |  1 +
 configs/P1022DS_36BIT_SDCARD_defconfig                 |  1 +
 configs/P1022DS_36BIT_SPIFLASH_defconfig               |  1 +
 configs/P1022DS_36BIT_defconfig                        |  1 +
 configs/P1022DS_NAND_defconfig                         |  1 +
 configs/P1022DS_SDCARD_defconfig                       |  1 +
 configs/P1022DS_SPIFLASH_defconfig                     |  1 +
 configs/P1022DS_defconfig                              |  1 +
 configs/P1023RDB_defconfig                             |  1 +
 configs/P1024RDB_36BIT_defconfig                       |  1 +
 configs/P1024RDB_NAND_defconfig                        |  1 +
 configs/P1024RDB_SDCARD_defconfig                      |  1 +
 configs/P1024RDB_SPIFLASH_defconfig                    |  1 +
 configs/P1024RDB_defconfig                             |  1 +
 configs/P1025RDB_36BIT_defconfig                       |  1 +
 configs/P1025RDB_NAND_defconfig                        |  1 +
 configs/P1025RDB_SDCARD_defconfig                      |  1 +
 configs/P1025RDB_SPIFLASH_defconfig                    |  1 +
 configs/P1025RDB_defconfig                             |  1 +
 configs/P2020RDB-PC_36BIT_NAND_defconfig               |  1 +
 configs/P2020RDB-PC_36BIT_SDCARD_defconfig             |  1 +
 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig           |  1 +
 configs/P2020RDB-PC_36BIT_defconfig                    |  1 +
 configs/P2020RDB-PC_NAND_defconfig                     |  1 +
 configs/P2020RDB-PC_SDCARD_defconfig                   |  1 +
 configs/P2020RDB-PC_SPIFLASH_defconfig                 |  1 +
 configs/P2020RDB-PC_defconfig                          |  1 +
 configs/P2041RDB_NAND_defconfig                        |  1 +
 configs/P2041RDB_SDCARD_defconfig                      |  1 +
 configs/P2041RDB_SECURE_BOOT_defconfig                 |  1 +
 configs/P2041RDB_SPIFLASH_defconfig                    |  1 +
 configs/P2041RDB_SRIO_PCIE_BOOT_defconfig              |  1 +
 configs/P2041RDB_defconfig                             |  1 +
 configs/P3041DS_NAND_SECURE_BOOT_defconfig             |  1 +
 configs/P3041DS_NAND_defconfig                         |  1 +
 configs/P3041DS_SDCARD_defconfig                       |  1 +
 configs/P3041DS_SECURE_BOOT_defconfig                  |  1 +
 configs/P3041DS_SPIFLASH_defconfig                     |  1 +
 configs/P3041DS_SRIO_PCIE_BOOT_defconfig               |  1 +
 configs/P3041DS_defconfig                              |  1 +
 configs/P4080DS_SDCARD_defconfig                       |  1 +
 configs/P4080DS_SECURE_BOOT_defconfig                  |  1 +
 configs/P4080DS_SPIFLASH_defconfig                     |  1 +
 configs/P4080DS_SRIO_PCIE_BOOT_defconfig               |  1 +
 configs/P4080DS_defconfig                              |  1 +
 configs/P5020DS_NAND_SECURE_BOOT_defconfig             |  1 +
 configs/P5020DS_NAND_defconfig                         |  1 +
 configs/P5020DS_SDCARD_defconfig                       |  1 +
 configs/P5020DS_SECURE_BOOT_defconfig                  |  1 +
 configs/P5020DS_SPIFLASH_defconfig                     |  1 +
 configs/P5020DS_SRIO_PCIE_BOOT_defconfig               |  1 +
 configs/P5020DS_defconfig                              |  1 +
 configs/P5040DS_NAND_SECURE_BOOT_defconfig             |  1 +
 configs/P5040DS_NAND_defconfig                         |  1 +
 configs/P5040DS_SDCARD_defconfig                       |  1 +
 configs/P5040DS_SECURE_BOOT_defconfig                  |  1 +
 configs/P5040DS_SPIFLASH_defconfig                     |  1 +
 configs/P5040DS_defconfig                              |  1 +
 configs/PIP405_defconfig                               |  1 +
 configs/PLU405_defconfig                               |  1 +
 configs/PMC405DE_defconfig                             |  1 +
 configs/PMC440_defconfig                               |  1 +
 configs/Sinlinx_SinA33_defconfig                       |  1 +
 configs/Sinovoip_BPI_M2_defconfig                      |  3 ++-
 configs/T1023RDB_NAND_defconfig                        |  1 +
 configs/T1023RDB_SDCARD_defconfig                      |  1 +
 configs/T1023RDB_SECURE_BOOT_defconfig                 |  1 +
 configs/T1023RDB_SPIFLASH_defconfig                    |  1 +
 configs/T1023RDB_defconfig                             |  1 +
 configs/T1024QDS_DDR4_SECURE_BOOT_defconfig            |  1 +
 configs/T1024QDS_DDR4_defconfig                        |  1 +
 configs/T1024QDS_NAND_defconfig                        |  1 +
 configs/T1024QDS_SDCARD_defconfig                      |  1 +
 configs/T1024QDS_SECURE_BOOT_defconfig                 |  1 +
 configs/T1024QDS_SPIFLASH_defconfig                    |  1 +
 configs/T1024QDS_defconfig                             |  1 +
 configs/T1024RDB_NAND_defconfig                        |  1 +
 configs/T1024RDB_SDCARD_defconfig                      |  1 +
 configs/T1024RDB_SECURE_BOOT_defconfig                 |  1 +
 configs/T1024RDB_SPIFLASH_defconfig                    |  1 +
 configs/T1024RDB_defconfig                             |  1 +
 configs/T1040D4RDB_NAND_defconfig                      |  1 +
 configs/T1040D4RDB_SDCARD_defconfig                    |  1 +
 configs/T1040D4RDB_SECURE_BOOT_defconfig               |  1 +
 configs/T1040D4RDB_SPIFLASH_defconfig                  |  1 +
 configs/T1040D4RDB_defconfig                           |  1 +
 configs/T1040QDS_DDR4_defconfig                        |  1 +
 configs/T1040QDS_SECURE_BOOT_defconfig                 |  1 +
 configs/T1040QDS_defconfig                             |  1 +
 configs/T1040RDB_NAND_defconfig                        |  1 +
 configs/T1040RDB_SDCARD_defconfig                      |  1 +
 configs/T1040RDB_SECURE_BOOT_defconfig                 |  1 +
 configs/T1040RDB_SPIFLASH_defconfig                    |  1 +
 configs/T1040RDB_defconfig                             |  1 +
 configs/T1042D4RDB_NAND_defconfig                      |  1 +
 configs/T1042D4RDB_SDCARD_defconfig                    |  1 +
 configs/T1042D4RDB_SECURE_BOOT_defconfig               |  1 +
 configs/T1042D4RDB_SPIFLASH_defconfig                  |  1 +
 configs/T1042D4RDB_defconfig                           |  1 +
 configs/T1042RDB_PI_NAND_defconfig                     |  1 +
 configs/T1042RDB_PI_SDCARD_defconfig                   |  1 +
 configs/T1042RDB_PI_SPIFLASH_defconfig                 |  1 +
 configs/T1042RDB_PI_defconfig                          |  1 +
 configs/T1042RDB_SECURE_BOOT_defconfig                 |  1 +
 configs/T1042RDB_defconfig                             |  1 +
 configs/T2080QDS_NAND_defconfig                        |  1 +
 configs/T2080QDS_SDCARD_defconfig                      |  1 +
 configs/T2080QDS_SECURE_BOOT_defconfig                 |  1 +
 configs/T2080QDS_SPIFLASH_defconfig                    |  1 +
 configs/T2080QDS_SRIO_PCIE_BOOT_defconfig              |  1 +
 configs/T2080QDS_defconfig                             |  1 +
 configs/T2080RDB_NAND_defconfig                        |  1 +
 configs/T2080RDB_SDCARD_defconfig                      |  1 +
 configs/T2080RDB_SECURE_BOOT_defconfig                 |  1 +
 configs/T2080RDB_SPIFLASH_defconfig                    |  1 +
 configs/T2080RDB_SRIO_PCIE_BOOT_defconfig              |  1 +
 configs/T2080RDB_defconfig                             |  1 +
 configs/T2081QDS_NAND_defconfig                        |  1 +
 configs/T2081QDS_SDCARD_defconfig                      |  1 +
 configs/T2081QDS_SPIFLASH_defconfig                    |  1 +
 configs/T2081QDS_SRIO_PCIE_BOOT_defconfig              |  1 +
 configs/T2081QDS_defconfig                             |  1 +
 configs/T4160QDS_NAND_defconfig                        |  1 +
 configs/T4160QDS_SDCARD_defconfig                      |  1 +
 configs/T4160QDS_SECURE_BOOT_defconfig                 |  1 +
 configs/T4160QDS_defconfig                             |  1 +
 configs/T4160RDB_defconfig                             |  1 +
 configs/T4240QDS_NAND_defconfig                        |  1 +
 configs/T4240QDS_SDCARD_defconfig                      |  1 +
 configs/T4240QDS_SECURE_BOOT_defconfig                 |  1 +
 configs/T4240QDS_SRIO_PCIE_BOOT_defconfig              |  1 +
 configs/T4240QDS_defconfig                             |  1 +
 configs/T4240RDB_SDCARD_defconfig                      |  1 +
 configs/T4240RDB_defconfig                             |  1 +
 configs/TQM834x_defconfig                              |  1 +
 configs/TWR-P1025_defconfig                            |  1 +
 configs/UCP1020_SPIFLASH_defconfig                     |  1 +
 configs/UCP1020_defconfig                              |  1 +
 configs/UTOO_P66_defconfig                             |  1 +
 configs/VOM405_defconfig                               |  1 +
 configs/Wexler_TAB7200_defconfig                       |  1 +
 configs/Wits_Pro_A20_DKT_defconfig                     |  1 +
 configs/Wobo_i5_defconfig                              |  1 +
 configs/Yones_Toptech_BD1078_defconfig                 |  1 +
 configs/acadia_defconfig                               |  1 +
 configs/adp-ag101p_defconfig                           |  1 +
 configs/am335x_baltos_defconfig                        |  3 ++-
 configs/am335x_boneblack_defconfig                     |  3 ++-
 configs/am335x_boneblack_vboot_defconfig               |  5 +++--
 configs/am335x_evm_defconfig                           |  3 ++-
 configs/am335x_evm_nor_defconfig                       |  3 ++-
 configs/am335x_evm_norboot_defconfig                   |  1 +
 configs/am335x_evm_spiboot_defconfig                   |  3 ++-
 configs/am335x_evm_usbspl_defconfig                    |  3 ++-
 configs/am335x_gp_evm_defconfig                        |  7 ++++---
 configs/am335x_igep0033_defconfig                      |  3 ++-
 configs/am335x_sl50_defconfig                          |  3 ++-
 configs/am3517_crane_defconfig                         |  1 +
 configs/am3517_evm_defconfig                           |  1 +
 configs/am437x_gp_evm_defconfig                        | 10 +++++-----
 configs/am437x_sk_evm_defconfig                        | 10 +++++-----
 configs/am43xx_evm_defconfig                           |  1 +
 configs/am43xx_evm_ethboot_defconfig                   |  1 +
 configs/am43xx_evm_qspiboot_defconfig                  |  1 +
 configs/am43xx_evm_usbhost_boot_defconfig              |  1 +
 configs/am57xx_evm_defconfig                           |  9 +++++----
 configs/apalis_t30_defconfig                           |  1 +
 configs/arches_defconfig                               |  1 +
 configs/aspenite_defconfig                             |  1 +
 configs/axs101_defconfig                               |  1 +
 configs/axs103_defconfig                               |  1 +
 configs/ba10_tv_box_defconfig                          |  1 +
 configs/bamboo_defconfig                               |  1 +
 configs/bayleybay_defconfig                            |  1 +
 configs/bcm11130_defconfig                             |  1 +
 configs/bcm11130_nand_defconfig                        |  1 +
 configs/bcm28155_ap_defconfig                          |  1 +
 configs/bcm28155_w1d_defconfig                         |  1 +
 configs/bcm911360_entphn-ns_defconfig                  |  1 +
 configs/bcm911360_entphn_defconfig                     |  1 +
 configs/bcm911360k_defconfig                           |  1 +
 configs/bcm958300k-ns_defconfig                        |  1 +
 configs/bcm958300k_defconfig                           |  1 +
 configs/bcm958305k_defconfig                           |  1 +
 configs/bcm958622hr_defconfig                          |  1 +
 configs/beagle_x15_defconfig                           |  1 +
 configs/beaver_defconfig                               |  1 +
 configs/bf527-ezkit_defconfig                          |  2 +-
 configs/birdland_bav335a_defconfig                     |  1 +
 configs/birdland_bav335b_defconfig                     |  1 +
 configs/bubinga_defconfig                              |  1 +
 configs/caddy2_defconfig                               |  1 +
 configs/cairo_defconfig                                |  1 +
 configs/calimain_defconfig                             |  1 +
 configs/canyonlands_defconfig                          |  1 +
 configs/cardhu_defconfig                               |  1 +
 configs/chromebook_jerry_defconfig                     |  3 ++-
 configs/chromebook_link_defconfig                      |  3 +--
 configs/chromebox_panther_defconfig                    |  2 +-
 configs/cm_t335_defconfig                              |  1 +
 configs/cm_t3517_defconfig                             |  1 +
 configs/cm_t35_defconfig                               |  1 +
 configs/cm_t43_defconfig                               |  1 +
 configs/cm_t54_defconfig                               |  1 +
 configs/colibri_t20_defconfig                          |  1 +
 configs/colibri_t30_defconfig                          |  1 +
 configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  |  5 ++---
 configs/controlcenterd_36BIT_SDCARD_defconfig          |  5 ++---
 configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig   |  3 +--
 configs/controlcenterd_TRAILBLAZER_defconfig           |  3 +--
 configs/coreboot-x86_defconfig                         |  2 +-
 configs/crownbay_defconfig                             |  1 +
 configs/d2net_v2_defconfig                             |  1 +
 configs/da850_am18xxevm_defconfig                      |  1 +
 configs/da850evm_defconfig                             |  1 +
 configs/da850evm_direct_nor_defconfig                  |  1 +
 configs/dalmore_defconfig                              |  1 +
 configs/db-88f6820-gp_defconfig                        |  1 +
 configs/db-mv784mp-gp_defconfig                        |  1 +
 configs/devconcenter_defconfig                         |  1 +
 configs/devkit3250_defconfig                           |  1 +
 configs/devkit8000_defconfig                           |  1 +
 configs/dlvision-10g_defconfig                         |  1 +
 configs/dlvision_defconfig                             |  1 +
 configs/dns325_defconfig                               |  1 +
 configs/dockstar_defconfig                             |  1 +
 configs/dra72_evm_defconfig                            |  1 +
 configs/dra74_evm_defconfig                            |  6 +++---
 configs/dra7xx_evm_defconfig                           |  3 ++-
 configs/dra7xx_evm_qspiboot_defconfig                  |  3 ++-
 configs/dra7xx_evm_uart3_defconfig                     |  3 ++-
 configs/draco_defconfig                                |  1 +
 configs/dreamplug_defconfig                            |  9 +++++----
 configs/duovero_defconfig                              |  1 +
 configs/e2220-1170_defconfig                           |  1 +
 configs/ea20_defconfig                                 |  1 +
 configs/eco5pk_defconfig                               |  1 +
 configs/edminiv2_defconfig                             |  1 +
 configs/firefly-rk3288_defconfig                       |  3 ++-
 configs/fx12mm_defconfig                               |  1 +
 configs/fx12mm_flash_defconfig                         |  1 +
 configs/ga10h_v1_1_defconfig                           |  1 +
 configs/galileo_defconfig                              |  1 +
 configs/gdppc440etx_defconfig                          |  1 +
 configs/glacier_defconfig                              |  1 +
 configs/glacier_ramboot_defconfig                      |  1 +
 configs/goflexhome_defconfig                           |  1 +
 configs/gplugd_defconfig                               |  1 +
 configs/gr_xc3s_1500_defconfig                         |  2 +-
 configs/gt90h_v4_defconfig                             |  1 +
 configs/guruplug_defconfig                             |  7 ++++---
 configs/gwventana_defconfig                            |  2 +-
 configs/haleakala_defconfig                            |  1 +
 configs/harmony_defconfig                              |  1 +
 configs/hrcon_defconfig                                |  1 +
 configs/hrcon_dh_defconfig                             |  4 ++--
 configs/i12-tvbox_defconfig                            |  1 +
 configs/iNet_3F_defconfig                              |  1 +
 configs/iNet_3W_defconfig                              |  1 +
 configs/iNet_86VS_defconfig                            |  1 +
 configs/ib62x0_defconfig                               |  7 ++++---
 configs/icon_defconfig                                 |  1 +
 configs/iconnect_defconfig                             |  1 +
 configs/ids8313_defconfig                              |  1 +
 configs/igep0020_defconfig                             |  1 +
 configs/igep0020_nand_defconfig                        |  1 +
 configs/igep0030_defconfig                             |  1 +
 configs/igep0030_nand_defconfig                        |  1 +
 configs/igep0032_defconfig                             |  1 +
 configs/inet1_defconfig                                |  1 +
 configs/inet97fv2_defconfig                            |  1 +
 configs/inet98v_rev2_defconfig                         |  1 +
 configs/inet9f_rev03_defconfig                         |  1 +
 configs/inetspace_v2_defconfig                         |  1 +
 configs/intip_defconfig                                |  1 +
 configs/io64_defconfig                                 |  1 +
 configs/io_defconfig                                   |  1 +
 configs/iocon_defconfig                                |  1 +
 configs/ipam390_defconfig                              |  1 +
 configs/jesurun_q5_defconfig                           |  1 +
 configs/jetson-tk1_defconfig                           |  1 +
 configs/k2e_evm_defconfig                              |  1 +
 configs/k2g_evm_defconfig                              |  6 +++---
 configs/k2hk_evm_defconfig                             |  1 +
 configs/k2l_evm_defconfig                              |  1 +
 configs/katmai_defconfig                               |  1 +
 configs/kilauea_defconfig                              |  1 +
 configs/km_kirkwood_128m16_defconfig                   |  1 +
 configs/km_kirkwood_defconfig                          |  1 +
 configs/km_kirkwood_pci_defconfig                      |  1 +
 configs/kmcoge4_defconfig                              |  1 +
 configs/kmcoge5ne_defconfig                            |  1 +
 configs/kmcoge5un_defconfig                            |  1 +
 configs/kmeter1_defconfig                              |  1 +
 configs/kmlion1_defconfig                              |  1 +
 configs/kmnusa_defconfig                               |  1 +
 configs/kmopti2_defconfig                              |  1 +
 configs/kmsugp1_defconfig                              |  1 +
 configs/kmsupx5_defconfig                              |  1 +
 configs/kmsuv31_defconfig                              |  1 +
 configs/kmvect1_defconfig                              |  1 +
 configs/kwb_defconfig                                  |  1 +
 configs/ls1021aqds_ddr4_nor_defconfig                  |  1 +
 configs/ls1021aqds_nand_defconfig                      |  1 +
 configs/ls1021aqds_nor_SECURE_BOOT_defconfig           |  1 +
 configs/ls1021aqds_nor_defconfig                       |  1 +
 configs/ls1021aqds_qspi_defconfig                      |  1 +
 configs/ls1021aqds_sdcard_defconfig                    |  1 +
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig           |  1 +
 configs/ls1021atwr_nor_defconfig                       |  1 +
 configs/ls1021atwr_qspi_defconfig                      |  1 +
 configs/ls1021atwr_sdcard_ifc_defconfig                |  1 +
 configs/ls1021atwr_sdcard_qspi_defconfig               |  5 +++--
 configs/ls1043ardb_defconfig                           |  4 ++--
 configs/ls1043ardb_nand_defconfig                      |  5 +++--
 configs/ls1043ardb_sdcard_defconfig                    |  5 +++--
 configs/ls2085a_emu_defconfig                          |  1 +
 configs/ls2085a_simu_defconfig                         |  1 +
 configs/ls2085aqds_defconfig                           |  1 +
 configs/ls2085aqds_nand_defconfig                      |  1 +
 configs/ls2085ardb_defconfig                           |  1 +
 configs/ls2085ardb_nand_defconfig                      |  1 +
 configs/lschlv2_defconfig                              |  1 +
 configs/lsxhl_defconfig                                |  1 +
 configs/luan_defconfig                                 |  1 +
 configs/lwmon5_defconfig                               |  1 +
 configs/makalu_defconfig                               |  1 +
 configs/malta_defconfig                                |  1 +
 configs/maltael_defconfig                              |  1 +
 configs/maxbcm_defconfig                               |  1 +
 configs/mcx_defconfig                                  |  1 +
 configs/medcom-wide_defconfig                          |  1 +
 configs/mgcoge3un_defconfig                            |  1 +
 configs/minnowmax_defconfig                            |  2 +-
 configs/mixtile_loftq_defconfig                        |  1 +
 configs/mk802_a10s_defconfig                           |  3 ++-
 configs/mk802_defconfig                                |  3 ++-
 configs/mk802ii_defconfig                              |  1 +
 configs/mpc8308_p1m_defconfig                          |  1 +
 configs/mt_ventoux_defconfig                           |  1 +
 configs/nas220_defconfig                               |  1 +
 configs/neo_defconfig                                  |  1 +
 configs/net2big_v2_defconfig                           |  1 +
 configs/netspace_lite_v2_defconfig                     |  1 +
 configs/netspace_max_v2_defconfig                      |  1 +
 configs/netspace_mini_v2_defconfig                     |  1 +
 configs/netspace_v2_defconfig                          |  1 +
 configs/nokia_rx51_defconfig                           |  1 +
 configs/nyan-big_defconfig                             |  2 +-
 configs/odroid-xu3_defconfig                           | 10 +++++-----
 configs/omap3_beagle_defconfig                         |  1 +
 configs/omap3_evm_defconfig                            |  1 +
 configs/omap3_evm_quick_mmc_defconfig                  |  1 +
 configs/omap3_evm_quick_nand_defconfig                 |  1 +
 configs/omap3_ha_defconfig                             |  1 +
 configs/omap3_logic_defconfig                          |  1 +
 configs/omap3_overo_defconfig                          |  1 +
 configs/omap3_pandora_defconfig                        |  1 +
 configs/omap3_zoom1_defconfig                          |  1 +
 configs/omap4_panda_defconfig                          |  1 +
 configs/omap4_sdp4430_defconfig                        |  1 +
 configs/omap5_uevm_defconfig                           |  1 +
 configs/omapl138_lcdk_defconfig                        |  1 +
 configs/openrd_base_defconfig                          |  1 +
 configs/openrd_client_defconfig                        |  1 +
 configs/openrd_ultimate_defconfig                      |  1 +
 configs/openrisc-generic_defconfig                     |  1 +
 configs/p2371-0000_defconfig                           |  1 +
 configs/p2371-2180_defconfig                           |  1 +
 configs/p2571_defconfig                                |  1 +
 configs/paz00_defconfig                                |  1 +
 configs/pcm051_rev1_defconfig                          |  1 +
 configs/pcm051_rev3_defconfig                          |  1 +
 configs/pcm052_defconfig                               |  1 -
 configs/peach-pi_defconfig                             |  1 -
 configs/peach-pit_defconfig                            |  1 -
 configs/pengwyn_defconfig                              |  1 +
 configs/pepper_defconfig                               |  1 +
 configs/plutux_defconfig                               |  1 +
 configs/pogo_e02_defconfig                             |  1 +
 configs/portl2_defconfig                               |  1 +
 configs/pov_protab2_ips9_defconfig                     |  1 +
 configs/pxm2_defconfig                                 |  1 +
 configs/q8_a13_tablet_defconfig                        |  1 +
 configs/q8_a23_tablet_800x480_defconfig                |  1 +
 configs/q8_a33_tablet_1024x600_defconfig               |  1 +
 configs/q8_a33_tablet_800x480_defconfig                |  1 +
 configs/qemu-ppce500_defconfig                         |  1 +
 configs/qemu-x86_defconfig                             |  1 +
 configs/qemu_mips64_defconfig                          |  1 +
 configs/qemu_mips64el_defconfig                        |  1 +
 configs/qemu_mips_defconfig                            |  1 +
 configs/qemu_mipsel_defconfig                          |  1 +
 configs/r7-tv-dongle_defconfig                         |  3 ++-
 configs/rainier_defconfig                              |  1 +
 configs/rainier_ramboot_defconfig                      |  1 +
 configs/rastaban_defconfig                             |  1 +
 configs/redwood_defconfig                              |  1 +
 configs/rut_defconfig                                  |  1 +
 configs/sandbox_defconfig                              |  9 ++++-----
 configs/sbc8349_PCI_33_defconfig                       |  1 +
 configs/sbc8349_PCI_66_defconfig                       |  1 +
 configs/sbc8349_defconfig                              |  1 +
 configs/sbc8548_PCI_33_PCIE_defconfig                  |  1 +
 configs/sbc8548_PCI_33_defconfig                       |  1 +
 configs/sbc8548_PCI_66_PCIE_defconfig                  |  1 +
 configs/sbc8548_PCI_66_defconfig                       |  1 +
 configs/sbc8548_defconfig                              |  1 +
 configs/sbc8641d_defconfig                             |  1 +
 configs/seaboard_defconfig                             |  1 +
 configs/sequoia_defconfig                              |  1 +
 configs/sequoia_ramboot_defconfig                      |  1 +
 configs/sheevaplug_defconfig                           |  7 ++++---
 configs/sniper_defconfig                               |  1 +
 configs/snow_defconfig                                 |  1 -
 configs/socfpga_arria5_defconfig                       |  3 ++-
 configs/socfpga_cyclone5_defconfig                     |  3 ++-
 configs/socfpga_de0_nano_soc_defconfig                 |  3 ++-
 configs/socfpga_mcvevk_defconfig                       |  3 ++-
 configs/socfpga_sockit_defconfig                       |  3 ++-
 configs/socfpga_socrates_defconfig                     |  3 ++-
 configs/socrates_defconfig                             |  1 +
 configs/spring_defconfig                               |  1 -
 configs/strider_con_defconfig                          |  3 ++-
 configs/strider_cpu_defconfig                          |  3 ++-
 configs/sunxi_Gemei_G9_defconfig                       |  1 +
 configs/suvd3_defconfig                                |  1 +
 configs/sycamore_defconfig                             |  1 +
 configs/t3corp_defconfig                               |  1 +
 configs/tao3530_defconfig                              |  1 +
 configs/tb100_defconfig                                |  1 +
 configs/tec-ng_defconfig                               |  1 +
 configs/tec_defconfig                                  |  1 +
 configs/thuban_defconfig                               |  1 +
 configs/ti814x_evm_defconfig                           |  1 +
 configs/ti816x_evm_defconfig                           |  1 +
 configs/tricorder_defconfig                            |  1 +
 configs/tricorder_flash_defconfig                      |  1 +
 configs/trimslice_defconfig                            |  1 +
 configs/tseries_mmc_defconfig                          |  1 +
 configs/tseries_nand_defconfig                         |  1 +
 configs/tseries_spi_defconfig                          |  1 +
 configs/tuge1_defconfig                                |  1 +
 configs/tuxx1_defconfig                                |  1 +
 configs/twister_defconfig                              |  1 +
 configs/vct_platinum_defconfig                         |  1 +
 configs/vct_platinum_onenand_defconfig                 |  1 +
 configs/vct_platinum_onenand_small_defconfig           |  1 +
 configs/vct_platinum_small_defconfig                   |  1 +
 configs/vct_platinumavc_defconfig                      |  1 +
 configs/vct_platinumavc_onenand_defconfig              |  1 +
 configs/vct_platinumavc_onenand_small_defconfig        |  1 +
 configs/vct_platinumavc_small_defconfig                |  1 +
 configs/vct_premium_defconfig                          |  1 +
 configs/vct_premium_onenand_defconfig                  |  1 +
 configs/vct_premium_onenand_small_defconfig            |  1 +
 configs/vct_premium_small_defconfig                    |  1 +
 configs/ve8313_defconfig                               |  1 +
 configs/venice2_defconfig                              |  1 +
 configs/ventana_defconfig                              |  1 +
 configs/vexpress_aemv8a_dram_defconfig                 |  4 ++--
 configs/vme8349_defconfig                              |  1 +
 configs/walnut_defconfig                               |  1 +
 configs/whistler_defconfig                             |  1 +
 configs/work_92105_defconfig                           |  1 +
 configs/xpedite1000_defconfig                          |  1 +
 configs/xpedite517x_defconfig                          |  1 +
 configs/xpedite520x_defconfig                          |  1 +
 configs/xpedite537x_defconfig                          |  1 +
 configs/xpedite550x_defconfig                          |  1 +
 configs/yellowstone_defconfig                          |  1 +
 configs/yosemite_defconfig                             |  1 +
 configs/yucca_defconfig                                |  1 +
 configs/zynq_microzed_defconfig                        |  1 -
 configs/zynq_picozed_defconfig                         |  1 -
 configs/zynq_zc702_defconfig                           |  1 -
 configs/zynq_zc706_defconfig                           |  1 -
 configs/zynq_zc770_xm010_defconfig                     |  1 -
 configs/zynq_zc770_xm011_defconfig                     |  1 -
 configs/zynq_zc770_xm012_defconfig                     |  1 -
 configs/zynq_zc770_xm013_defconfig                     |  1 -
 configs/zynq_zed_defconfig                             |  1 -
 configs/zynq_zybo_defconfig                            |  1 -
 drivers/serial/Kconfig                                 | 10 ++++++++++
 include/configs/B4860QDS.h                             |  1 -
 include/configs/BSC9131RDB.h                           |  1 -
 include/configs/BSC9132QDS.h                           |  1 -
 include/configs/C29XPCIE.h                             |  1 -
 include/configs/CPCI2DP.h                              |  1 -
 include/configs/CPCI4052.h                             |  1 -
 include/configs/MIP405.h                               |  1 -
 include/configs/MPC8308RDB.h                           |  1 -
 include/configs/MPC8313ERDB.h                          |  1 -
 include/configs/MPC8315ERDB.h                          |  1 -
 include/configs/MPC8323ERDB.h                          |  1 -
 include/configs/MPC832XEMDS.h                          |  1 -
 include/configs/MPC8349EMDS.h                          |  1 -
 include/configs/MPC8349ITX.h                           |  1 -
 include/configs/MPC837XEMDS.h                          |  1 -
 include/configs/MPC837XERDB.h                          |  1 -
 include/configs/MPC8536DS.h                            |  1 -
 include/configs/MPC8540ADS.h                           |  1 -
 include/configs/MPC8541CDS.h                           |  1 -
 include/configs/MPC8544DS.h                            |  1 -
 include/configs/MPC8548CDS.h                           |  1 -
 include/configs/MPC8555CDS.h                           |  1 -
 include/configs/MPC8568MDS.h                           |  1 -
 include/configs/MPC8569MDS.h                           |  1 -
 include/configs/MPC8572DS.h                            |  1 -
 include/configs/MPC8610HPCD.h                          |  1 -
 include/configs/MPC8641HPCN.h                          |  1 -
 include/configs/P1010RDB.h                             |  1 -
 include/configs/P1022DS.h                              |  1 -
 include/configs/P1023RDB.h                             |  1 -
 include/configs/P2041RDB.h                             |  1 -
 include/configs/PIP405.h                               |  1 -
 include/configs/PLU405.h                               |  1 -
 include/configs/PMC405DE.h                             |  1 -
 include/configs/PMC440.h                               |  1 -
 include/configs/T102xQDS.h                             |  1 -
 include/configs/T102xRDB.h                             |  1 -
 include/configs/T1040QDS.h                             |  1 -
 include/configs/T104xRDB.h                             |  1 -
 include/configs/T208xQDS.h                             |  1 -
 include/configs/T208xRDB.h                             |  1 -
 include/configs/T4240RDB.h                             |  1 -
 include/configs/TQM834x.h                              |  1 -
 include/configs/UCP1020.h                              |  1 -
 include/configs/VOM405.h                               |  1 -
 include/configs/adp-ag101p.h                           |  1 -
 include/configs/am3517_crane.h                         |  1 -
 include/configs/am3517_evm.h                           |  1 -
 include/configs/am43xx_evm.h                           |  1 -
 include/configs/amcc-common.h                          |  1 -
 include/configs/axs101.h                               |  1 -
 include/configs/bcm28155_ap.h                          |  1 -
 include/configs/bcm_ep_board.h                         |  1 -
 include/configs/bur_am335x_common.h                    |  1 -
 include/configs/calimain.h                             |  1 -
 include/configs/cm_t35.h                               |  1 -
 include/configs/cm_t3517.h                             |  1 -
 include/configs/cm_t43.h                               |  1 -
 include/configs/controlcenterd.h                       |  1 -
 include/configs/corenet_ds.h                           |  1 -
 include/configs/cyrus.h                                |  1 -
 include/configs/da850evm.h                             |  1 -
 include/configs/ea20.h                                 |  1 -
 include/configs/edminiv2.h                             |  1 -
 include/configs/efi-x86.h                              |  1 -
 include/configs/gdppc440etx.h                          |  1 -
 include/configs/hrcon.h                                |  1 -
 include/configs/ids8313.h                              |  1 -
 include/configs/ipam390.h                              |  1 -
 include/configs/km/km83xx-common.h                     |  1 -
 include/configs/km/km_arm.h                            |  1 -
 include/configs/km/kmp204x-common.h                    |  1 -
 include/configs/ls1021aqds.h                           |  1 -
 include/configs/ls1021atwr.h                           |  1 -
 include/configs/ls1043a_common.h                       |  1 -
 include/configs/ls2085a_common.h                       |  1 -
 include/configs/lwmon5.h                               |  1 -
 include/configs/malta.h                                |  1 -
 include/configs/mcx.h                                  |  1 -
 include/configs/microblaze-generic.h                   |  1 -
 include/configs/mpc8308_p1m.h                          |  1 -
 include/configs/mv-common.h                            |  1 -
 include/configs/neo.h                                  |  1 -
 include/configs/nokia_rx51.h                           |  1 -
 include/configs/omap3_evm_common.h                     |  1 -
 include/configs/omapl138_lcdk.h                        |  1 -
 include/configs/openrisc-generic.h                     |  1 -
 include/configs/p1_p2_rdb_pc.h                         |  1 -
 include/configs/p1_twr.h                               |  1 -
 include/configs/qemu-mips.h                            |  1 -
 include/configs/qemu-mips64.h                          |  1 -
 include/configs/qemu-ppce500.h                         |  1 -
 include/configs/rk3288_common.h                        |  1 -
 include/configs/sbc8349.h                              |  1 -
 include/configs/sbc8548.h                              |  1 -
 include/configs/sbc8641d.h                             |  1 -
 include/configs/siemens-am33x-common.h                 |  1 -
 include/configs/sniper.h                               |  1 -
 include/configs/socfpga_common.h                       |  1 -
 include/configs/socrates.h                             |  1 -
 include/configs/strider.h                              |  1 -
 include/configs/sunxi-common.h                         |  1 -
 include/configs/t4qds.h                                |  1 -
 include/configs/tam3517-common.h                       |  1 -
 include/configs/tao3530.h                              |  1 -
 include/configs/tb100.h                                |  1 -
 include/configs/tegra-common.h                         |  1 -
 include/configs/ti814x_evm.h                           |  1 -
 include/configs/ti816x_evm.h                           |  1 -
 include/configs/ti_am335x_common.h                     |  1 -
 include/configs/ti_armv7_keystone2.h                   |  1 -
 include/configs/ti_omap3_common.h                      |  1 -
 include/configs/ti_omap4_common.h                      |  1 -
 include/configs/ti_omap5_common.h                      |  1 -
 include/configs/tricorder.h                            |  1 -
 include/configs/uniphier.h                             |  1 -
 include/configs/vct.h                                  |  1 -
 include/configs/ve8313.h                               |  1 -
 include/configs/vme8349.h                              |  1 -
 include/configs/x86-common.h                           |  1 -
 include/configs/xilinx-ppc.h                           |  1 -
 include/configs/xpedite1000.h                          |  1 -
 include/configs/xpedite517x.h                          |  1 -
 include/configs/xpedite520x.h                          |  1 -
 include/configs/xpedite537x.h                          |  1 -
 include/configs/xpedite550x.h                          |  1 -
 786 files changed, 744 insertions(+), 262 deletions(-)
arch/arm/include/asm/arch-lpc32xx/config.h +0 -1
index 845ba4f..d76514e 100644
@@ -27,7 +27,6 @@
 #endif
 
 #if defined(CONFIG_SYS_NS16550_SERIAL)
-#define CONFIG_SYS_NS16550
 
 #define CONFIG_SYS_NS16550_REG_SIZE	-4
 #define CONFIG_SYS_NS16550_CLK		get_serial_clock()
configs/A10-OLinuXino-Lime_defconfig +1 -0
index b22fdb3..e7c3ba4 100644
@@ -12,4 +12,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPC(3)"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/A10s-OLinuXino-M_defconfig +2 -1
index d9add78..03570a5 100644
@@ -13,5 +13,6 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
-CONFIG_USB_EHCI_HCD=y
 CONFIG_AXP152_POWER=y
+CONFIG_SYS_NS16550=y
+CONFIG_USB_EHCI_HCD=y
configs/A13-OLinuXinoM_defconfig +2 -1
index f438e50..1f34803 100644
@@ -17,5 +17,6 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
-CONFIG_USB_EHCI_HCD=y
 CONFIG_SUNXI_NO_PMIC=y
+CONFIG_SYS_NS16550=y
+CONFIG_USB_EHCI_HCD=y
configs/A13-OLinuXino_defconfig +2 -2
index 390803a..aa30824 100644
@@ -12,8 +12,6 @@ CONFIG_VIDEO_VGA_VIA_LCD=y
 CONFIG_VIDEO_VGA_VIA_LCD_FORCE_SYNC_ACTIVE_HIGH=y
 CONFIG_VIDEO_LCD_POWER="AXP0-0"
 CONFIG_VIDEO_LCD_BL_PWM="PB2"
-CONFIG_USB_MUSB_SUNXI=y
-CONFIG_USB_MUSB_GADGET=y
 CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
@@ -21,4 +19,6 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_MUSB_GADGET=y
configs/A20-OLinuXino-Lime2_defconfig +1 -0
index 678132c..a453691 100644
@@ -13,4 +13,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3)"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/A20-OLinuXino-Lime_defconfig +1 -0
index ffcdf29..ee2af45 100644
@@ -11,4 +11,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPC(3)"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/A20-OLinuXino_MICRO_defconfig +1 -0
index 9507b87..b2767d8 100644
@@ -14,4 +14,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8)"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/A20-Olimex-SOM-EVB_defconfig +1 -0
index 0b7ab62..a7a843c 100644
@@ -13,4 +13,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3)"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Ainol_AW1_defconfig +1 -0
index fc1be7d..fac5d6a 100644
@@ -17,4 +17,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/Ampe_A76_defconfig +1 -0
index 8262be5..1307896 100644
@@ -19,4 +19,5 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/Auxtek-T003_defconfig +2 -1
index 5dd9a16..053f94f 100644
@@ -11,5 +11,6 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
-CONFIG_USB_EHCI_HCD=y
 CONFIG_AXP152_POWER=y
+CONFIG_SYS_NS16550=y
+CONFIG_USB_EHCI_HCD=y
configs/Auxtek-T004_defconfig +2 -1
index c1a58d8..5d34bfc 100644
@@ -9,5 +9,6 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
-CONFIG_USB_EHCI_HCD=y
 CONFIG_AXP152_POWER=y
+CONFIG_SYS_NS16550=y
+CONFIG_USB_EHCI_HCD=y
configs/B4420QDS_NAND_defconfig +1 -0
index 986eda6..b415324 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_B4420,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/B4420QDS_SPIFLASH_defconfig +1 -0
index 5c6a319..c284b3f 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_B4420,RAMBOOT_PBL,SPIFLASH,SYS_TEXT_BASE=0xFFF4000
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/B4420QDS_defconfig +1 -0
index 8568f7d..bee5c18 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_B4420"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/B4860QDS_NAND_defconfig +1 -0
index a48ada4..89101fd 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_B4860,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/B4860QDS_SECURE_BOOT_defconfig +1 -0
index 60ff218..0885531 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_B4860,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/B4860QDS_SPIFLASH_defconfig +1 -0
index 7e8449e..8a8563d 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_B4860,RAMBOOT_PBL,SPIFLASH,SYS_TEXT_BASE=0xFFF4000
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/B4860QDS_SRIO_PCIE_BOOT_defconfig +1 -0
index 5e3fd50..ac43c69 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_B4860,SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF4000
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/B4860QDS_defconfig +1 -0
index d5c7545..82b04eb 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_B4860"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9131RDB_NAND_SYSCLK100_defconfig +1 -0
index 90aa865..039cb1f 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9131RDB,NAND,SYS_CLK_100"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/BSC9131RDB_NAND_defconfig +1 -0
index 9cd68f0..cf81415 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9131RDB,NAND"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig +1 -0
index d90d7a0..c8e51cc 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9131RDB,SPIFLASH,SYS_CLK_100"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/BSC9131RDB_SPIFLASH_defconfig +1 -0
index 4ba8d62..0b81532 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9131RDB,SPIFLASH"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_NAND_DDRCLK100_SECURE_defconfig +1 -0
index b123f9e..a1c9f4b 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,NAND_SECBOOT,SYS_CLK_100_DDR_100,SECURE_BOO
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_NAND_DDRCLK100_defconfig +1 -0
index 0da87b3..8a26c77 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,NAND,SYS_CLK_100_DDR_100"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_NAND_DDRCLK133_SECURE_defconfig +1 -0
index d8ad344..37eebc8 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,NAND_SECBOOT,SYS_CLK_100_DDR_133,SECURE_BOO
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_NAND_DDRCLK133_defconfig +1 -0
index 738c490..56eca29 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,NAND,SYS_CLK_100_DDR_133"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_NOR_DDRCLK100_SECURE_defconfig +1 -0
index c468137..5025075 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,SYS_CLK_100_DDR_100,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_NOR_DDRCLK100_defconfig +1 -0
index 31a5223..77fc0a6 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,SYS_CLK_100_DDR_100"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_NOR_DDRCLK133_SECURE_defconfig +1 -0
index 726c8ff..c68af3a 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,SYS_CLK_100_DDR_133,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_NOR_DDRCLK133_defconfig +1 -0
index ff4e4b4..9df6539 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,SYS_CLK_100_DDR_133"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig +1 -0
index 61725cd..5a9d230 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,SDCARD,SYS_CLK_100_DDR_100,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_SDCARD_DDRCLK100_defconfig +1 -0
index 484857a..d0ef3d6 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,SDCARD,SYS_CLK_100_DDR_100"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig +1 -0
index c4a772a..422f6ea 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,SDCARD,SYS_CLK_100_DDR_133,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_SDCARD_DDRCLK133_defconfig +1 -0
index fcada6d..54eaa9d 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,SDCARD,SYS_CLK_100_DDR_133"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig +1 -0
index 9282e0e..1bca772 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,SPIFLASH,SYS_CLK_100_DDR_100,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_SPIFLASH_DDRCLK100_defconfig +1 -0
index f6ad1e9..e629e08 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,SPIFLASH,SYS_CLK_100_DDR_100"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig +1 -0
index f3c5702..ded40c2 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,SPIFLASH,SYS_CLK_100_DDR_133,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/BSC9132QDS_SPIFLASH_DDRCLK133_defconfig +1 -0
index 7f3554d..537a167 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BSC9132QDS,SPIFLASH,SYS_CLK_100_DDR_133"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/Bananapi_defconfig +1 -0
index d9b1bd6..35bf709 100644
@@ -13,4 +13,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"
 # CONFIG_CMD_FPGA is not set
 CONFIG_NETCONSOLE=y
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Bananapro_defconfig +1 -0
index 9226df5..7e4dbdd 100644
@@ -15,4 +15,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"
 # CONFIG_CMD_FPGA is not set
 CONFIG_NETCONSOLE=y
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/C29XPCIE_NAND_defconfig +1 -0
index fd26cea..54dc0fa 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="C29XPCIE,36BIT,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/C29XPCIE_NOR_SECBOOT_defconfig +1 -0
index bcc2701..be4baad 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="C29XPCIE,36BIT,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig +1 -0
index 2f151fa..310d7be 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="C29XPCIE,36BIT,SPIFLASH,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/C29XPCIE_SPIFLASH_defconfig +1 -0
index 8057f9c..13ec51c 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="C29XPCIE,36BIT,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/C29XPCIE_defconfig +1 -0
index 11610d5..f80cd36 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="C29XPCIE,36BIT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/CHIP_defconfig +1 -0
index c4e8079..015f4f3 100644
@@ -11,4 +11,5 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 CONFIG_AXP_DCDC2_VOLT=1300
 CONFIG_AXP_ALDO3_VOLT=3300
 CONFIG_AXP_ALDO4_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_GADGET=y
configs/CPCI2DP_defconfig +1 -0
index 9f98014..1c821ba 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_CPCI2DP=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/CPCI4052_defconfig +1 -0
index c4fac41..ba4a13e 100644
@@ -5,3 +5,4 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/CSQ_CS908_defconfig +2 -1
index 3ffd34e..c81737a 100644
@@ -12,7 +12,8 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
-CONFIG_AXP_DLDO1_VOLT=3300
 CONFIG_AXP_ALDO1_VOLT=3300
+CONFIG_AXP_DLDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_MUSB_HOST=y
configs/Chuwi_V7_CW0825_defconfig +1 -0
index 3257aae..71545f6 100644
@@ -17,6 +17,7 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_VIDEO_LCD_SPI_CS="PA0"
 CONFIG_VIDEO_LCD_SPI_SCLK="PA1"
configs/Colombus_defconfig +1 -0
index 2ce8cb1..c5d4c2f 100644
@@ -23,4 +23,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII"
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_AXP_ALDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Cubieboard2_defconfig +1 -0
index 4b9d722..34e93d3 100644
@@ -11,4 +11,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8)"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Cubieboard_defconfig +1 -0
index c884115..f29515e 100644
@@ -10,4 +10,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI,SATAPWR=SUNXI_GPB(8)"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Cubietruck_defconfig +4 -4
index bb9c42a..ae4c757 100644
@@ -3,6 +3,9 @@ CONFIG_ARCH_SUNXI=y
 CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=432
 CONFIG_MMC0_CD_PIN="PH1"
+CONFIG_USB0_VBUS_PIN="PH17"
+CONFIG_USB0_VBUS_DET="PH22"
+CONFIG_USB0_ID_DET="PH19"
 CONFIG_VIDEO_VGA=y
 CONFIG_GMAC_TX_DELAY=1
 CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-cubietruck"
@@ -13,9 +16,6 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(12)"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
-CONFIG_USB0_ID_DET="PH19"
-CONFIG_USB0_VBUS_DET="PH22"
-CONFIG_USB0_VBUS_PIN="PH17"
-CONFIG_USB_MUSB_SUNXI=y
 CONFIG_USB_MUSB_GADGET=y
configs/Cyrus_P5020_defconfig +2 -1
index d9bee34..f1439a2 100644
@@ -1,9 +1,10 @@
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_CYRUS=y
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SYS_TEXT_BASE=0xFFF40000,PPC_P5020"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
-# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/Cyrus_P5040_defconfig +2 -1
index c66238a..6a3b049 100644
@@ -1,9 +1,10 @@
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_CYRUS=y
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SYS_TEXT_BASE=0xFFF40000,PPC_P5040"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
-# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/Hummingbird_A31_defconfig +1 -0
index 02bcdbf..bdaa68e 100644
@@ -15,4 +15,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPA(21)"
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_AXP_ALDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Hyundai_A7HD_defconfig +1 -0
index fef3685..cdd61ff 100644
@@ -18,4 +18,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/Linksprite_pcDuino3_Nano_defconfig +1 -0
index 378abce..37be753 100644
@@ -13,4 +13,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(2)"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Linksprite_pcDuino3_defconfig +1 -0
index c3f0421..454a6fd 100644
@@ -11,4 +11,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2)"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Linksprite_pcDuino_defconfig +1 -0
index 9d8d325..0215373 100644
@@ -10,4 +10,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/MIP405T_defconfig +1 -0
index 22b82b1..799a1b6 100644
@@ -3,3 +3,4 @@ CONFIG_4xx=y
 CONFIG_TARGET_MIP405=y
 CONFIG_SYS_EXTRA_OPTIONS="MIP405T"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MIP405_defconfig +1 -0
index f25cf51..3a012e7 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_MIP405=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MK808C_defconfig +1 -0
index 49bb26a..63abc81 100644
@@ -8,4 +8,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/MPC8308RDB_defconfig +1 -0
index cb98324..2aec6d9 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC8308RDB=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8313ERDB_33_defconfig +1 -0
index a984c48..55e0861 100644
@@ -3,3 +3,4 @@ CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC8313ERDB=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_33MHZ"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8313ERDB_66_defconfig +1 -0
index 5b1ee7c..f1f78d5 100644
@@ -3,3 +3,4 @@ CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC8313ERDB=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_66MHZ"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8313ERDB_NAND_33_defconfig +1 -0
index b1052ef..8f08099 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_MPC8313ERDB=y
 CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_33MHZ,NAND"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8313ERDB_NAND_66_defconfig +1 -0
index fe59fe8..3e35d19 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_MPC8313ERDB=y
 CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_66MHZ,NAND"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8315ERDB_defconfig +1 -0
index e618381..3d9dede 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC8315ERDB=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8323ERDB_defconfig +1 -0
index 762ad5b..337a0dd 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC8323ERDB=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC832XEMDS_ATM_defconfig +1 -0
index b4b3724..cd29b89 100644
@@ -3,3 +3,4 @@ CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC832XEMDS=y
 CONFIG_SYS_EXTRA_OPTIONS="PQ_MDS_PIB=1,PQ_MDS_PIB_ATM=1"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC832XEMDS_HOST_33_defconfig +1 -0
index 9a2f338..071fe08 100644
@@ -3,3 +3,4 @@ CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC832XEMDS=y
 CONFIG_SYS_EXTRA_OPTIONS="PCI,PCI_33M,PQ_MDS_PIB=1"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC832XEMDS_HOST_66_defconfig +1 -0
index 66e4269..789c8b1 100644
@@ -3,3 +3,4 @@ CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC832XEMDS=y
 CONFIG_SYS_EXTRA_OPTIONS="PCI,PCI_66M,PQ_MDS_PIB=1"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC832XEMDS_SLAVE_defconfig +1 -0
index 467f220..7f5c55a 100644
@@ -3,3 +3,4 @@ CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC832XEMDS=y
 CONFIG_SYS_EXTRA_OPTIONS="PCI,PCISLAVE"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC832XEMDS_defconfig +1 -0
index 3e24ab1..2ea5868 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC832XEMDS=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8349EMDS_defconfig +1 -0
index 6a907cf..f4d1d45 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC8349EMDS=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8349ITXGP_defconfig +1 -0
index 1a85eea..445beb6 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_MPC8349ITX=y
 CONFIG_SYS_EXTRA_OPTIONS="MPC8349ITXGP,SYS_TEXT_BASE=0xFE000000"
 CONFIG_SYS_PROMPT="MPC8349E-mITX-GP> "
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8349ITX_LOWBOOT_defconfig +1 -0
index 9aabd6a..c260a46 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_MPC8349ITX=y
 CONFIG_SYS_EXTRA_OPTIONS="MPC8349ITX,SYS_TEXT_BASE=0xFE000000"
 CONFIG_SYS_PROMPT="MPC8349E-mITX> "
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8349ITX_defconfig +1 -0
index a5309de..5b234c6 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_MPC8349ITX=y
 CONFIG_SYS_EXTRA_OPTIONS="MPC8349ITX"
 CONFIG_SYS_PROMPT="MPC8349E-mITX> "
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC837XEMDS_HOST_defconfig +1 -0
index 2e472a7..972e0f8 100644
@@ -3,3 +3,4 @@ CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC837XEMDS=y
 CONFIG_SYS_EXTRA_OPTIONS="PCI"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC837XEMDS_defconfig +1 -0
index 21b4506..9ddddde 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC837XEMDS=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC837XERDB_defconfig +1 -0
index 126d0d2..c77fe0c 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC837XERDB=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8536DS_36BIT_defconfig +1 -0
index 6604004..8614166 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="36BIT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/MPC8536DS_SDCARD_defconfig +1 -0
index d1bad84..125e07c 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/MPC8536DS_SPIFLASH_defconfig +1 -0
index ad0ae69..a6a14ad 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/MPC8536DS_defconfig +1 -0
index 2e9ae63..7d9b3a6 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_MPC8536DS=y
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/MPC8540ADS_defconfig +1 -0
index 41af349..1239ba8 100644
@@ -1,3 +1,4 @@
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_MPC8540ADS=y
+CONFIG_SYS_NS16550=y
configs/MPC8541CDS_defconfig +1 -0
index bc9c246..0c5cc13 100644
@@ -1,3 +1,4 @@
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_MPC8541CDS=y
+CONFIG_SYS_NS16550=y
configs/MPC8541CDS_legacy_defconfig +1 -0
index 55478ab..3ae3a3d 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_MPC8541CDS=y
 CONFIG_SYS_EXTRA_OPTIONS="LEGACY"
+CONFIG_SYS_NS16550=y
configs/MPC8544DS_defconfig +1 -0
index ab0c79b..e4e2f9c 100644
@@ -3,3 +3,4 @@ CONFIG_MPC85xx=y
 CONFIG_TARGET_MPC8544DS=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/MPC8548CDS_36BIT_defconfig +1 -0
index 11d67ef..5e635e0 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_MPC8548CDS=y
 CONFIG_SYS_EXTRA_OPTIONS="36BIT"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/MPC8548CDS_defconfig +1 -0
index 6a9ce6a..ac2c090 100644
@@ -3,3 +3,4 @@ CONFIG_MPC85xx=y
 CONFIG_TARGET_MPC8548CDS=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/MPC8548CDS_legacy_defconfig +1 -0
index 381947f..3e1ecd7 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_MPC8548CDS=y
 CONFIG_SYS_EXTRA_OPTIONS="LEGACY"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/MPC8555CDS_defconfig +1 -0
index 3bdbb0c..9a7c16e 100644
@@ -1,3 +1,4 @@
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_MPC8555CDS=y
+CONFIG_SYS_NS16550=y
configs/MPC8555CDS_legacy_defconfig +1 -0
index 8e53ee0..eb6382c 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_MPC8555CDS=y
 CONFIG_SYS_EXTRA_OPTIONS="LEGACY"
+CONFIG_SYS_NS16550=y
configs/MPC8568MDS_defconfig +1 -0
index ac0ec8c..36b5c3b 100644
@@ -1,3 +1,4 @@
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_MPC8568MDS=y
+CONFIG_SYS_NS16550=y
configs/MPC8569MDS_ATM_defconfig +1 -0
index 719ca84..186126b 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_MPC8569MDS=y
 CONFIG_SYS_EXTRA_OPTIONS="ATM"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/MPC8569MDS_defconfig +1 -0
index bb1a4fb..bfb51d2 100644
@@ -3,3 +3,4 @@ CONFIG_MPC85xx=y
 CONFIG_TARGET_MPC8569MDS=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/MPC8572DS_36BIT_defconfig +1 -0
index 5c76524..878404b 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_MPC8572DS=y
 CONFIG_SYS_EXTRA_OPTIONS="36BIT"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/MPC8572DS_defconfig +1 -0
index 2f69b14..8b42ea3 100644
@@ -3,3 +3,4 @@ CONFIG_MPC85xx=y
 CONFIG_TARGET_MPC8572DS=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/MPC8610HPCD_defconfig +1 -0
index f0e1370..bdde5d0 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC86xx=y
 CONFIG_TARGET_MPC8610HPCD=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8641HPCN_36BIT_defconfig +1 -0
index 0aee7ea..46f8077 100644
@@ -3,3 +3,4 @@ CONFIG_MPC86xx=y
 CONFIG_TARGET_MPC8641HPCN=y
 CONFIG_SYS_EXTRA_OPTIONS="PHYS_64BIT"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MPC8641HPCN_defconfig +1 -0
index 2bee038..25056d6 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC86xx=y
 CONFIG_TARGET_MPC8641HPCN=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/MSI_Primo73_defconfig +1 -0
index 5559444..2fa91f4 100644
@@ -13,3 +13,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
configs/MSI_Primo81_defconfig +1 -0
index 3d71bf5..1d2f583 100644
@@ -17,6 +17,7 @@ CONFIG_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_AXP_DLDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_VIDEO_LCD_SSD2828_TX_CLK=27
 CONFIG_VIDEO_LCD_SSD2828_RESET="PA26"
configs/Marsboard_A10_defconfig +1 -0
index 4933659..63837c7 100644
@@ -8,4 +8,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,AHCI"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Mele_A1000G_quad_defconfig +2 -1
index e81e6b6..146f76c 100644
@@ -13,8 +13,9 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_AXP_DCDC1_VOLT=3300
+CONFIG_AXP_ALDO1_VOLT=3300
 CONFIG_AXP_DLDO1_VOLT=3300
 CONFIG_AXP_DLDO4_VOLT=3300
-CONFIG_AXP_ALDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_MUSB_HOST=y
configs/Mele_A1000_defconfig +1 -0
index f076e30..2af690a 100644
@@ -10,4 +10,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,MACPWR=SUNXI_GPH(15),AHCI"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Mele_I7_defconfig +2 -1
index 38cd845..03c7184 100644
@@ -13,7 +13,8 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_AXP_DCDC1_VOLT=3300
+CONFIG_AXP_ALDO1_VOLT=3300
 CONFIG_AXP_DLDO1_VOLT=3300
 CONFIG_AXP_DLDO4_VOLT=3300
-CONFIG_AXP_ALDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Mele_M3_defconfig +1 -0
index d72dcc0..f213043 100644
@@ -14,4 +14,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Mele_M5_defconfig +1 -0
index 0d1ba15..66b3e8a 100644
@@ -13,4 +13,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,STATUSLED=234"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Mele_M9_defconfig +2 -1
index 93a28a6..8f39036 100644
@@ -13,7 +13,8 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC"
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_AXP_DCDC1_VOLT=3300
+CONFIG_AXP_ALDO1_VOLT=3300
 CONFIG_AXP_DLDO1_VOLT=3300
 CONFIG_AXP_DLDO4_VOLT=3300
-CONFIG_AXP_ALDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Merrii_A80_Optimus_defconfig +1 -0
index 53e023a..59a197e 100644
@@ -11,3 +11,4 @@ CONFIG_DEFAULT_DEVICE_TREE="sun9i-a80-optimus"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
configs/Mini-X_defconfig +1 -0
index 53f9bfe..2ed37a5 100644
@@ -9,5 +9,6 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_MUSB_HOST=y
configs/Orangepi_defconfig +1 -0
index 00c671b..e140911 100644
@@ -15,4 +15,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Orangepi_mini_defconfig +1 -0
index a865255..d702ce2 100644
@@ -17,4 +17,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/P1010RDB-PA_36BIT_NAND_SECBOOT_defconfig +1 -0
index 407f0fb..1c1077d 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,36BIT,NAND_SECBOOT,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_36BIT_NAND_defconfig +1 -0
index 737921c..3d82d83 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,36BIT,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_36BIT_NOR_SECBOOT_defconfig +1 -0
index a34436e..3fbc00e 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,36BIT,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_36BIT_NOR_defconfig +1 -0
index c6cc9b5..3ce8d6f 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,36BIT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_36BIT_SDCARD_defconfig +1 -0
index d32ca80..85193ce 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,36BIT,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig +1 -0
index 56cc3c6..1b6012f 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,36BIT,SPIFLASH,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig +1 -0
index da56dfb..5869d58 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,36BIT,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_NAND_SECBOOT_defconfig +1 -0
index fec2697..15cb7fb 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,NAND_SECBOOT,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_NAND_defconfig +1 -0
index e45a541..dc1efe3 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_NOR_SECBOOT_defconfig +1 -0
index 64ed63a..1f6ae2c 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_NOR_defconfig +1 -0
index fe4c8b5..6ff93b1 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_SDCARD_defconfig +1 -0
index 3d41cb0..c81b720 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_SPIFLASH_SECBOOT_defconfig +1 -0
index 6afce00..7f0a31c 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,SPIFLASH,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PA_SPIFLASH_defconfig +1 -0
index faab1ac..bc7d2d2 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PA,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_36BIT_NAND_SECBOOT_defconfig +1 -0
index a76affd..a828d2c 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,36BIT,NAND_SECBOOT,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_36BIT_NAND_defconfig +1 -0
index 64963b6..60a0f1c 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,36BIT,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_36BIT_NOR_SECBOOT_defconfig +1 -0
index ea68ffb..23c9e7e 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,36BIT,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_36BIT_NOR_defconfig +1 -0
index 0a5403d..cb65b64 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,36BIT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_36BIT_SDCARD_defconfig +1 -0
index f7e9050..5ddc700 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,36BIT,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig +1 -0
index b92c3f3..4b454fb 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,36BIT,SPIFLASH,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig +1 -0
index ae9309a..27c8925 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,36BIT,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_NAND_SECBOOT_defconfig +1 -0
index 9b9a8a2..1bb4cc1 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,NAND_SECBOOT,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_NAND_defconfig +1 -0
index 60b3417..ef374bc 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_NOR_SECBOOT_defconfig +1 -0
index 17b9941..511e909 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_NOR_defconfig +1 -0
index f3b3b22..4a5d5a6 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_SDCARD_defconfig +1 -0
index 5d9607c..49c3302 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_SPIFLASH_SECBOOT_defconfig +1 -0
index c88b433..4ca0198 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,SPIFLASH,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1010RDB-PB_SPIFLASH_defconfig +1 -0
index b390406..8f7ab80 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1010RDB_PB,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020MBG-PC_36BIT_SDCARD_defconfig +1 -0
index 7714ac6..a9aeed3 100644
@@ -5,3 +5,4 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="P1020MBG,SDCARD,36BIT"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020MBG-PC_36BIT_defconfig +1 -0
index 29a520b..05bf49f 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_P1_P2_RDB_PC=y
 CONFIG_SYS_EXTRA_OPTIONS="P1020MBG,36BIT"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020MBG-PC_SDCARD_defconfig +1 -0
index c0a0745..fa15eda 100644
@@ -5,3 +5,4 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="P1020MBG,SDCARD"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020MBG-PC_defconfig +1 -0
index bc408b7..5b49f3b 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_P1_P2_RDB_PC=y
 CONFIG_SYS_EXTRA_OPTIONS="P1020MBG"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020RDB-PC_36BIT_NAND_defconfig +1 -0
index b7d1d2e..60aa739 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1020RDB_PC,36BIT,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020RDB-PC_36BIT_SDCARD_defconfig +1 -0
index 6b55479..36d138a 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1020RDB_PC,36BIT,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig +1 -0
index 78db491..d66e57f 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1020RDB_PC,36BIT,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020RDB-PC_36BIT_defconfig +1 -0
index df9dbc9..bfd5ab8 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1020RDB_PC,36BIT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020RDB-PC_NAND_defconfig +1 -0
index c54b31a..b3ebdd0 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1020RDB_PC,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020RDB-PC_SDCARD_defconfig +1 -0
index 3c08d4f..2ec6279 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1020RDB_PC,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020RDB-PC_SPIFLASH_defconfig +1 -0
index 708d5c4..5980497 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1020RDB_PC,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020RDB-PC_defconfig +1 -0
index b7c624f..e4d700a 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1020RDB_PC"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020RDB-PD_NAND_defconfig +1 -0
index 82492c0..e237e51 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1020RDB_PD,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020RDB-PD_SDCARD_defconfig +1 -0
index e694d5b..12c802f 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1020RDB_PD,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020RDB-PD_SPIFLASH_defconfig +1 -0
index 3cf0b8a..b3ecca7 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1020RDB_PD,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020RDB-PD_defconfig +1 -0
index 6ddf70c..3a47640 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1020RDB_PD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020UTM-PC_36BIT_SDCARD_defconfig +1 -0
index b29fcc4..7dfc807 100644
@@ -5,3 +5,4 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="P1020UTM,36BIT,SDCARD"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020UTM-PC_36BIT_defconfig +1 -0
index 63b6471..43d1c3c 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_P1_P2_RDB_PC=y
 CONFIG_SYS_EXTRA_OPTIONS="P1020UTM,36BIT"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020UTM-PC_SDCARD_defconfig +1 -0
index 650ffe5..1906da7 100644
@@ -5,3 +5,4 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="P1020UTM,SDCARD"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1020UTM-PC_defconfig +1 -0
index 56ca99c..a5f9659 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_P1_P2_RDB_PC=y
 CONFIG_SYS_EXTRA_OPTIONS="P1020UTM"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1021RDB-PC_36BIT_NAND_defconfig +1 -0
index d246c7b..d3817ad 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1021RDB,36BIT,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1021RDB-PC_36BIT_SDCARD_defconfig +1 -0
index 1bf813f..5d1628b 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1021RDB,36BIT,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig +1 -0
index d5c8bd2..a19d490 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1021RDB,36BIT,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1021RDB-PC_36BIT_defconfig +1 -0
index a9510dc..0184c0a 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1021RDB,36BIT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1021RDB-PC_NAND_defconfig +1 -0
index a7de239..a81e2b6 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1021RDB,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1021RDB-PC_SDCARD_defconfig +1 -0
index faf36fe..187ad0c 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1021RDB,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1021RDB-PC_SPIFLASH_defconfig +1 -0
index cc9320f..27a6891 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1021RDB,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1021RDB-PC_defconfig +1 -0
index 9ac36f7..b8bca7e 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1021RDB"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1022DS_36BIT_NAND_defconfig +1 -0
index c093ccf..aff2fda 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="36BIT,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1022DS_36BIT_SDCARD_defconfig +1 -0
index 342870d..674f3d5 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="36BIT,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1022DS_36BIT_SPIFLASH_defconfig +1 -0
index 40db7b5..2cd5daf 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="36BIT,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1022DS_36BIT_defconfig +1 -0
index d6f2ee4..156832c 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="36BIT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1022DS_NAND_defconfig +1 -0
index 22e354c..b1d5a33 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1022DS_SDCARD_defconfig +1 -0
index 25ec334..890ac77 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1022DS_SPIFLASH_defconfig +1 -0
index 0227f35..596d800 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1022DS_defconfig +1 -0
index 427c64b..b3c0378 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_P1022DS=y
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1023RDB_defconfig +1 -0
index ab8f6bb..2478f30 100644
@@ -3,3 +3,4 @@ CONFIG_MPC85xx=y
 CONFIG_TARGET_P1023RDB=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1024RDB_36BIT_defconfig +1 -0
index ab32765..2881d7d 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1024RDB,36BIT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1024RDB_NAND_defconfig +1 -0
index 1b4f31c..0dde028 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1024RDB,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1024RDB_SDCARD_defconfig +1 -0
index d647f8a..247ae6f 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1024RDB,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1024RDB_SPIFLASH_defconfig +1 -0
index b5790e1..bae40fa 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1024RDB,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1024RDB_defconfig +1 -0
index 5dd1cbc..c5d0250 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1024RDB"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1025RDB_36BIT_defconfig +1 -0
index 509f116..12ddcab 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1025RDB,36BIT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1025RDB_NAND_defconfig +1 -0
index 6369e39..c881469 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1025RDB,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1025RDB_SDCARD_defconfig +1 -0
index a3cc80a..84ca6cc 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1025RDB,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1025RDB_SPIFLASH_defconfig +1 -0
index b5d56f7..b195aba 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1025RDB,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P1025RDB_defconfig +1 -0
index 05c347e..f6bf41c 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P1025RDB"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2020RDB-PC_36BIT_NAND_defconfig +1 -0
index e86ff8c..d517b0a 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P2020RDB,36BIT,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2020RDB-PC_36BIT_SDCARD_defconfig +1 -0
index d97c6bc..c891631 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P2020RDB,36BIT,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig +1 -0
index 8c15726..47f96d6 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P2020RDB,36BIT,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2020RDB-PC_36BIT_defconfig +1 -0
index b93ce08..b013fa1 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P2020RDB,36BIT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2020RDB-PC_NAND_defconfig +1 -0
index 3184f5e..8f27f15 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P2020RDB,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2020RDB-PC_SDCARD_defconfig +1 -0
index 4328967..0c19f9c 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P2020RDB,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2020RDB-PC_SPIFLASH_defconfig +1 -0
index 55cb86c..a3a3d07 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P2020RDB,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2020RDB-PC_defconfig +1 -0
index b5496fc..4d53398 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="P2020RDB"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2041RDB_NAND_defconfig +1 -0
index a3e8f9c..0cb684b 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,NAND,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2041RDB_SDCARD_defconfig +1 -0
index dc022a1..5d131ed 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SDCARD,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2041RDB_SECURE_BOOT_defconfig +1 -0
index 3fccb2b..d7262f5 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2041RDB_SPIFLASH_defconfig +1 -0
index f748ba3..a038036 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPIFLASH,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2041RDB_SRIO_PCIE_BOOT_defconfig +1 -0
index 4d62252..5551a51 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P2041RDB_defconfig +1 -0
index 9dba9a6..c9cc6ee 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_P2041RDB=y
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P3041DS_NAND_SECURE_BOOT_defconfig +1 -0
index 6e4b88e..391c4eb 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,NAND,SECURE_BOOT,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P3041DS_NAND_defconfig +1 -0
index d075e8f..5e4e93a 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,NAND,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P3041DS_SDCARD_defconfig +1 -0
index 5f1c198..f173072 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SDCARD,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P3041DS_SECURE_BOOT_defconfig +1 -0
index 307f6d7..388a9c4 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P3041DS_SPIFLASH_defconfig +1 -0
index 6112639..7bd9049 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPIFLASH,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P3041DS_SRIO_PCIE_BOOT_defconfig +1 -0
index 24a79ce..6537d33 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P3041DS_defconfig +1 -0
index 0fed50f..1d1ee5f 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_P3041DS=y
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P4080DS_SDCARD_defconfig +1 -0
index 74a1452..c70d4a3 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SDCARD,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P4080DS_SECURE_BOOT_defconfig +1 -0
index 0dd1f32..837af54 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P4080DS_SPIFLASH_defconfig +1 -0
index b7bfc38..df8d0e1 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPIFLASH,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P4080DS_SRIO_PCIE_BOOT_defconfig +1 -0
index 766db5e..17d9f9e 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P4080DS_defconfig +1 -0
index b0a6bdf..abccf20 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_P4080DS=y
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5020DS_NAND_SECURE_BOOT_defconfig +1 -0
index c89ec85..73282b4 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,NAND,SECURE_BOOT,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5020DS_NAND_defconfig +1 -0
index 64ba6e9..486cd8b 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,NAND,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5020DS_SDCARD_defconfig +1 -0
index 796e9a1..5c16ea6 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SDCARD,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5020DS_SECURE_BOOT_defconfig +1 -0
index 27ae488..6853aea 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5020DS_SPIFLASH_defconfig +1 -0
index 65cc600..cf8f5f0 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPIFLASH,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5020DS_SRIO_PCIE_BOOT_defconfig +1 -0
index 65e9d2f..7c509c8 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5020DS_defconfig +1 -0
index bd06987..4c9a90a 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_P5020DS=y
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5040DS_NAND_SECURE_BOOT_defconfig +1 -0
index 3027031..9790351 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,NAND,SECURE_BOOT,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5040DS_NAND_defconfig +1 -0
index b2f5cda..b0ef12d 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,NAND,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5040DS_SDCARD_defconfig +1 -0
index 950df55..b8923ae 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SDCARD,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5040DS_SECURE_BOOT_defconfig +1 -0
index d0bc383..8731974 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5040DS_SPIFLASH_defconfig +1 -0
index 0dbc3eb..a4b7aaa 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPIFLASH,SYS_TEXT_BASE=0xFFF40000"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/P5040DS_defconfig +1 -0
index 5da5a3c..6c73693 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_P5040DS=y
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/PIP405_defconfig +1 -0
index ced7d1a..046a5d8 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_PIP405=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/PLU405_defconfig +1 -0
index a691e24..546376f 100644
@@ -5,3 +5,4 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/PMC405DE_defconfig +1 -0
index 37b2d23..53fccf5 100644
@@ -5,3 +5,4 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/PMC440_defconfig +1 -0
index 96ff54c..984497a 100644
@@ -5,3 +5,4 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/Sinlinx_SinA33_defconfig +1 -0
index 013c35e..049f2f2 100644
@@ -9,3 +9,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
configs/Sinovoip_BPI_M2_defconfig +2 -1
index 17c30a8..a3d7515 100644
@@ -12,7 +12,8 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
-CONFIG_AXP_DLDO1_VOLT=3000
 CONFIG_AXP_ALDO1_VOLT=3300
 CONFIG_AXP_ALDO2_VOLT=1800
+CONFIG_AXP_DLDO1_VOLT=3000
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/T1023RDB_NAND_defconfig +1 -0
index 836bde4..634ab9e 100644
@@ -8,3 +8,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1023RDB_SDCARD_defconfig +1 -0
index 7bc7f54..2ececeb 100644
@@ -8,3 +8,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1023RDB_SECURE_BOOT_defconfig +1 -0
index 6a3ccca..d474b23 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1023RDB_SPIFLASH_defconfig +1 -0
index 83b14a8..841456e 100644
@@ -8,3 +8,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1023RDB_defconfig +1 -0
index c4b72d4..5c6e6eb 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1024QDS_DDR4_SECURE_BOOT_defconfig +1 -0
index f69c49d..8a71c58 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,SYS_FSL_DDR4,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1024QDS_DDR4_defconfig +1 -0
index 174fbca..c8dad93 100644
@@ -3,3 +3,4 @@ CONFIG_MPC85xx=y
 CONFIG_TARGET_T102XQDS=y
 CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,SYS_FSL_DDR4"
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/T1024QDS_NAND_defconfig +1 -0
index caedd39..b22a28b 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1024QDS_SDCARD_defconfig +1 -0
index 844d9a5..edb0d16 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1024QDS_SECURE_BOOT_defconfig +1 -0
index 9f80de0..a0035bf 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1024QDS_SPIFLASH_defconfig +1 -0
index dc5a460..5d28726 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1024QDS_defconfig +1 -0
index 74138c7..0373aef 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1024RDB_NAND_defconfig +1 -0
index 7ae0433..6f9dc18 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,T1024RDB,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1024RDB_SDCARD_defconfig +1 -0
index 3a664f8..c2656ca 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,T1024RDB,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1024RDB_SECURE_BOOT_defconfig +1 -0
index 8f4378b..638388d 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,T1024RDB,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1024RDB_SPIFLASH_defconfig +1 -0
index 36f2208..b64d694 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,T1024RDB,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1024RDB_defconfig +1 -0
index fba47c2..55981da 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,T1024RDB"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040D4RDB_NAND_defconfig +1 -0
index 0af8c8d..6bad226 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040D4RDB,RAMBOOT_PBL,SPL_FSL_PBL,NAND,T104
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040D4RDB_SDCARD_defconfig +1 -0
index dc9ee34..b0167ec 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040D4RDB,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD,T1
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040D4RDB_SECURE_BOOT_defconfig +1 -0
index 6a891a6..bfdeab0 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040D4RDB,T104XD4RDB,SYS_FSL_DDR4,SECURE_BO
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040D4RDB_SPIFLASH_defconfig +1 -0
index 4628576..13b35fb 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040D4RDB,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH,
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040D4RDB_defconfig +1 -0
index 6adc196..534a2c4 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040D4RDB,T104XD4RDB,SYS_FSL_DDR4"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040QDS_DDR4_defconfig +1 -0
index 8c4320b..093158d 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,SYS_FSL_DDR4"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040QDS_SECURE_BOOT_defconfig +1 -0
index 607c280..1639569 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040QDS_defconfig +1 -0
index 1f200f9..80a09d9 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040RDB_NAND_defconfig +1 -0
index 146448d..aad125a 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040RDB,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040RDB_SDCARD_defconfig +1 -0
index f363067..0128b8a 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040RDB,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040RDB_SECURE_BOOT_defconfig +1 -0
index 55d2a5e..9511de1 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,SECURE_BOOT,T1040RDB"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040RDB_SPIFLASH_defconfig +1 -0
index c6fd93a..71ab8fc 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040RDB,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1040RDB_defconfig +1 -0
index 810d1d8..7d8f692 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040RDB"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1042D4RDB_NAND_defconfig +1 -0
index c06e335..d32f9da 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042D4RDB,RAMBOOT_PBL,SPL_FSL_PBL,NAND,T104
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1042D4RDB_SDCARD_defconfig +1 -0
index b86554a..da87143 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042D4RDB,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD,T1
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1042D4RDB_SECURE_BOOT_defconfig +1 -0
index 8130f7c..2cc1fd2 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042D4RDB,T104XD4RDB,SYS_FSL_DDR4,SECURE_BO
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1042D4RDB_SPIFLASH_defconfig +1 -0
index ca7243a..24e535c 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042D4RDB,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH,
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1042D4RDB_defconfig +1 -0
index 4e44c89..12e2d5e 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042D4RDB,T104XD4RDB,SYS_FSL_DDR4"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1042RDB_PI_NAND_defconfig +1 -0
index ff0052a..8fbf3f1 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042RDB_PI,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1042RDB_PI_SDCARD_defconfig +1 -0
index c19bd8b..bf8106a 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042RDB_PI,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1042RDB_PI_SPIFLASH_defconfig +1 -0
index fbce984..1e5f1bb 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042RDB_PI,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1042RDB_PI_defconfig +1 -0
index 6353543..6f25deb 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042RDB_PI"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1042RDB_SECURE_BOOT_defconfig +1 -0
index 39121ca..7b417d8 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,SECURE_BOOT,T1042RDB"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T1042RDB_defconfig +1 -0
index e5888e3..8f16bfc 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042RDB"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2080QDS_NAND_defconfig +1 -0
index 3610370..4aabab5 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2080,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2080QDS_SDCARD_defconfig +1 -0
index 37cb6b7..96187fc 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2080,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2080QDS_SECURE_BOOT_defconfig +1 -0
index 0f27b07..859ab2b 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2080,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2080QDS_SPIFLASH_defconfig +1 -0
index 85a3689..6249df3 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2080,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2080QDS_SRIO_PCIE_BOOT_defconfig +1 -0
index 8f276fa..d85430f 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2080,SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF4000
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2080QDS_defconfig +1 -0
index c681528..bbefaac 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2080"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2080RDB_NAND_defconfig +1 -0
index ab4a7be..31b822f 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2080,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2080RDB_SDCARD_defconfig +1 -0
index 5d0f43a..180fd23 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2080,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2080RDB_SECURE_BOOT_defconfig +1 -0
index 43a76bc..62ac62c 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2080,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2080RDB_SPIFLASH_defconfig +1 -0
index 1b230b1..d948827 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2080,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2080RDB_SRIO_PCIE_BOOT_defconfig +1 -0
index af1a232..1add06a 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2080,SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF4000
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2080RDB_defconfig +1 -0
index cbd1220..86ae17b 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2080"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2081QDS_NAND_defconfig +1 -0
index 9ef946b..35b2a5e 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2081,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2081QDS_SDCARD_defconfig +1 -0
index 8728f2d..a6718de 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2081,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2081QDS_SPIFLASH_defconfig +1 -0
index 95c37dc..74562a5 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2081,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2081QDS_SRIO_PCIE_BOOT_defconfig +1 -0
index 1b0ac47..fb35506 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2081,SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF4000
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T2081QDS_defconfig +1 -0
index 8f3bcf6..4273e7d 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T2081"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T4160QDS_NAND_defconfig +1 -0
index 3a35060..5d61b50 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T4160,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T4160QDS_SDCARD_defconfig +1 -0
index ef7135e..2117ec7 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T4160,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T4160QDS_SECURE_BOOT_defconfig +1 -0
index d08f98c..ccb4f5d 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T4160,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T4160QDS_defconfig +1 -0
index e44af1e..76b776a 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T4160"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T4160RDB_defconfig +1 -0
index 1cc929f..7136a30 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T4160"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T4240QDS_NAND_defconfig +1 -0
index 31e1f53..084c55a 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T4240,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T4240QDS_SDCARD_defconfig +1 -0
index a464136..9952624 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T4240,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T4240QDS_SECURE_BOOT_defconfig +1 -0
index 094f305..ff06aaf 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T4240,SECURE_BOOT"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T4240QDS_SRIO_PCIE_BOOT_defconfig +1 -0
index 60afd9e..2c02ba0 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T4240,SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF4000
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T4240QDS_defconfig +1 -0
index 7fe54bf..8488462 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T4240"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T4240RDB_SDCARD_defconfig +1 -0
index 0d0d26c..b9b65cb 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T4240,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/T4240RDB_defconfig +1 -0
index 01221b0..852ccd9 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T4240"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/TQM834x_defconfig +1 -0
index c980d95..f88beef 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_TQM834X=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/TWR-P1025_defconfig +1 -0
index e6d34e8..e9970df 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_P1_TWR=y
 CONFIG_SYS_EXTRA_OPTIONS="TWR_P1025"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/UCP1020_SPIFLASH_defconfig +1 -0
index 267dc0f..7a6bdf5 100644
@@ -8,3 +8,4 @@ CONFIG_AUTOBOOT_STOP_STR="\x1b"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/UCP1020_defconfig +1 -0
index fa54286..811e0c4 100644
@@ -8,3 +8,4 @@ CONFIG_AUTOBOOT_STOP_STR="\x1b"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/UTOO_P66_defconfig +1 -0
index d36a5dc..6e6eb2a 100644
@@ -24,4 +24,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_REQUIRE_SERIAL_CONSOLE is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/VOM405_defconfig +1 -0
index ba3ade0..53ac1bf 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_VOM405=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/Wexler_TAB7200_defconfig +1 -0
index 5f3d624..a01bd28 100644
@@ -16,5 +16,6 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_MUSB_HOST=y
configs/Wits_Pro_A20_DKT_defconfig +1 -0
index bfc8cba..b24eda0 100644
@@ -16,4 +16,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Wobo_i5_defconfig +1 -0
index fc43cc5..6f683dd 100644
@@ -10,4 +10,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/Yones_Toptech_BD1078_defconfig +1 -0
index 65c1d8e..4e14d8e 100644
@@ -22,4 +22,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/acadia_defconfig +1 -0
index 26221ce..51efe06 100644
@@ -1,3 +1,4 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_ACADIA=y
+CONFIG_SYS_NS16550=y
configs/adp-ag101p_defconfig +1 -0
index 4216cd7..87be263 100644
@@ -2,3 +2,4 @@ CONFIG_NDS32=y
 CONFIG_TARGET_ADP_AG101P=y
 CONFIG_SYS_PROMPT="NDS32 # "
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/am335x_baltos_defconfig +2 -1
index 8e8a897..a52327b 100644
@@ -1,11 +1,12 @@
 CONFIG_ARM=y
 CONFIG_TARGET_AM335X_BALTOS=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_SYS_EXTRA_OPTIONS="NAND"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/am335x_boneblack_defconfig +2 -1
index 6b1a554..48e36f6 100644
@@ -1,11 +1,12 @@
 CONFIG_ARM=y
 CONFIG_TARGET_AM335X_EVM=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_DFU_TFTP=y
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/am335x_boneblack_vboot_defconfig +3 -2
index 011239b..1620628 100644
@@ -1,9 +1,9 @@
 CONFIG_ARM=y
 CONFIG_TARGET_AM335X_EVM=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_DEFAULT_DEVICE_TREE="am335x-boneblack"
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_FIT_SIGNATURE=y
@@ -12,6 +12,7 @@ CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT,ENABLE_VBOOT"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
+CONFIG_DM_MMC=y
 CONFIG_SPI_FLASH=y
 CONFIG_DM_ETH=y
-CONFIG_DM_MMC=y
+CONFIG_SYS_NS16550=y
configs/am335x_evm_defconfig +2 -1
index 96599c6..c4e232b 100644
@@ -1,10 +1,11 @@
 CONFIG_ARM=y
 CONFIG_TARGET_AM335X_EVM=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_EXTRA_OPTIONS="NAND"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/am335x_evm_nor_defconfig +2 -1
index 6a39041..31e6b9a 100644
@@ -1,10 +1,11 @@
 CONFIG_ARM=y
 CONFIG_TARGET_AM335X_EVM=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_NOR=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_EXTRA_OPTIONS="NAND"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/am335x_evm_norboot_defconfig +1 -0
index 9fdffca..fea5913 100644
@@ -5,3 +5,4 @@ CONFIG_NOR_BOOT=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/am335x_evm_spiboot_defconfig +2 -1
index bbeb3c9..ed25f88 100644
@@ -1,10 +1,11 @@
 CONFIG_ARM=y
 CONFIG_TARGET_AM335X_EVM=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_EXTRA_OPTIONS="SPI_BOOT"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/am335x_evm_usbspl_defconfig +2 -1
index c6109f1..0fd9ae9 100644
@@ -1,10 +1,11 @@
 CONFIG_ARM=y
 CONFIG_TARGET_AM335X_EVM=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_EXTRA_OPTIONS="NAND,SPL_USBETH_SUPPORT"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/am335x_gp_evm_defconfig +4 -3
index 03c558c..4c39e5a 100644
@@ -1,15 +1,16 @@
 CONFIG_ARM=y
 CONFIG_TARGET_AM335X_EVM=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_DEFAULT_DEVICE_TREE="am335x-evm"
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_EXTRA_OPTIONS="NAND"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
+CONFIG_DM_MMC=y
 CONFIG_SPI_FLASH=y
-CONFIG_RSA=y
 CONFIG_DM_ETH=y
-CONFIG_DM_MMC=y
+CONFIG_SYS_NS16550=y
+CONFIG_RSA=y
configs/am335x_igep0033_defconfig +2 -1
index a31982a..7982039 100644
@@ -1,8 +1,9 @@
 CONFIG_ARM=y
 CONFIG_TARGET_AM335X_IGEP0033=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/am335x_sl50_defconfig +2 -1
index 608804c..df7af17 100644
@@ -1,9 +1,10 @@
 CONFIG_ARM=y
 CONFIG_TARGET_AM335X_SL50=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/am3517_crane_defconfig +1 -0
index 48a184f..72172cf 100644
@@ -10,3 +10,4 @@ CONFIG_SYS_PROMPT="AM3517_CRANE # "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/am3517_evm_defconfig +1 -0
index 8857b9f..cde84fe 100644
@@ -9,3 +9,4 @@ CONFIG_SYS_PROMPT="AM3517_EVM # "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/am437x_gp_evm_defconfig +5 -5
index 53fb0bf..5e19818 100644
@@ -1,17 +1,17 @@
 CONFIG_ARM=y
 CONFIG_TARGET_AM43XX_EVM=y
+CONFIG_DM_SERIAL=y
+CONFIG_DM_GPIO=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm"
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
-CONFIG_SPL_DISABLE_OF_CONTROL=y
 CONFIG_DM=y
-CONFIG_SPI_FLASH=y
-CONFIG_DM_GPIO=y
-CONFIG_DM_SERIAL=y
 CONFIG_DM_MMC=y
+CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/am437x_sk_evm_defconfig +5 -5
index 02485f8..dc2a094 100644
@@ -1,17 +1,17 @@
 CONFIG_ARM=y
 CONFIG_TARGET_AM43XX_EVM=y
+CONFIG_DM_SERIAL=y
+CONFIG_DM_GPIO=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_DEFAULT_DEVICE_TREE="am437x-sk-evm"
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
-CONFIG_SPL_DISABLE_OF_CONTROL=y
 CONFIG_DM=y
-CONFIG_SPI_FLASH=y
-CONFIG_DM_GPIO=y
-CONFIG_DM_SERIAL=y
 CONFIG_DM_MMC=y
+CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/am43xx_evm_defconfig +1 -0
index f84f57d..c054d6f 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
+CONFIG_SYS_NS16550=y
configs/am43xx_evm_ethboot_defconfig +1 -0
index 2d1a301..2821bbb 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND,SPL_ETH_SUPPORT"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/am43xx_evm_qspiboot_defconfig +1 -0
index ff0109f..7d1e3e6 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,QSPI,QSPI_BOOT"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/am43xx_evm_usbhost_boot_defconfig +1 -0
index 2a6c3dc..9ad2f83 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND,SPL_USB_HOST_SUPPORT"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/am57xx_evm_defconfig +5 -4
index f6566bf..9f342e9 100644
@@ -1,10 +1,12 @@
 CONFIG_ARM=y
 CONFIG_OMAP54XX=y
 CONFIG_TARGET_BEAGLE_X15=y
+CONFIG_DM_SERIAL=y
+CONFIG_DM_GPIO=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15"
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=3"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
@@ -12,8 +14,7 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=3"
 # CONFIG_CMD_NFS is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
+CONFIG_DM_MMC=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
-CONFIG_DM_GPIO=y
-CONFIG_DM_SERIAL=y
-CONFIG_DM_MMC=y
+CONFIG_SYS_NS16550=y
configs/apalis_t30_defconfig +1 -0
index 8971d29..8983e49 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Apalis T30 # "
 # CONFIG_CMD_NFS is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/arches_defconfig +1 -0
index 9084a3a..245e6fa 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_CANYONLANDS=y
 CONFIG_ARCHES=y
 CONFIG_DEFAULT_DEVICE_TREE="arches"
 CONFIG_OF_CONTROL=y
+CONFIG_SYS_NS16550=y
configs/aspenite_defconfig +1 -0
index c606244..812122f 100644
@@ -5,3 +5,4 @@ CONFIG_TARGET_ASPENITE=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/axs101_defconfig +1 -0
index 8e5d2e5..52d5e2f 100644
@@ -18,4 +18,5 @@ CONFIG_DM=y
 CONFIG_CLK=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/axs103_defconfig +1 -0
index cbd63fe..a7f3c38 100644
@@ -17,4 +17,5 @@ CONFIG_DM=y
 CONFIG_CLK=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/ba10_tv_box_defconfig +1 -0
index 1cfb380..a17eff6 100644
@@ -13,5 +13,6 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_MUSB_HOST=y
configs/bamboo_defconfig +1 -0
index 1d66807..6ecdbcc 100644
@@ -1,3 +1,4 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_BAMBOO=y
+CONFIG_SYS_NS16550=y
configs/bayleybay_defconfig +1 -0
index fc40da8..42fe61c 100644
@@ -24,6 +24,7 @@ CONFIG_DM_ETH=y
 CONFIG_E1000=y
 CONFIG_DM_PCI=y
 CONFIG_DM_RTC=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_VIDEO_VESA=y
configs/bcm11130_defconfig +1 -0
index e7a9aa6..f623db3 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_MMC_ENV_DEV=0"
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/bcm11130_nand_defconfig +1 -0
index f50ffea..6125b85 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="NAND"
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/bcm28155_ap_defconfig +1 -0
index c82383e..84d8527 100644
@@ -5,3 +5,4 @@ CONFIG_TARGET_BCM28155_AP=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/bcm28155_w1d_defconfig +1 -0
index bc0d8d2..1f9c34a 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BCM_SF2_ETH,BCM_SF2_ETH_GMAC"
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/bcm911360_entphn-ns_defconfig +1 -0
index 4a7e1bc..58c0ff6 100644
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x20000000,ARMV7_NONSEC"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/bcm911360_entphn_defconfig +1 -0
index a0d291c..2589cb1 100644
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x20000000"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/bcm911360k_defconfig +1 -0
index df88a57..ba430e6 100644
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x40000000"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/bcm958300k-ns_defconfig +1 -0
index d9105a6..14db5a1 100644
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x40000000,ARMV7_NONSEC"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/bcm958300k_defconfig +1 -0
index df88a57..ba430e6 100644
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x40000000"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/bcm958305k_defconfig +1 -0
index df88a57..ba430e6 100644
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x40000000"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/bcm958622hr_defconfig +1 -0
index 2272462..3bf0b0e 100644
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_SDRAM_SIZE=0x01000000"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/beagle_x15_defconfig +1 -0
index 3b3c027..453cff4 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=3"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/beaver_defconfig +1 -0
index 4a6f6e4..348bba9 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Tegra30 (Beaver) # "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/bf527-ezkit_defconfig +1 -1
index 8752267..7638550 100644
@@ -2,5 +2,5 @@ CONFIG_BLACKFIN=y
 CONFIG_TARGET_BF527_EZKIT=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NET_RANDOM_ETHADDR=y
+# CONFIG_NET_TFTP_VARS is not set
 CONFIG_SPI_FLASH=y
-CONFIG_NET_TFTP_VARS=n
configs/birdland_bav335a_defconfig +1 -0
index 244c770..0e3f0b7 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/birdland_bav335b_defconfig +1 -0
index a86b203..fe14cd5 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/bubinga_defconfig +1 -0
index 65ea4d1..1423dc5 100644
@@ -1,3 +1,4 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_BUBINGA=y
+CONFIG_SYS_NS16550=y
configs/caddy2_defconfig +1 -0
index 343432c..a353aa1 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="CADDY2"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/cairo_defconfig +1 -0
index b1df103..1a79d2b 100644
@@ -8,3 +8,4 @@ CONFIG_SYS_PROMPT="Cairo # "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_NET is not set
+CONFIG_SYS_NS16550=y
configs/calimain_defconfig +1 -0
index 271b556..2ca9c70 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_PROMPT="Calimain > "
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_STOP_STR="\x0b"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/canyonlands_defconfig +1 -0
index 44d4fbd..ad7e927 100644
@@ -5,3 +5,4 @@ CONFIG_CANYONLANDS=y
 CONFIG_DEFAULT_DEVICE_TREE="canyonlands"
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
+CONFIG_SYS_NS16550=y
configs/cardhu_defconfig +1 -0
index 722bbeb..ce3d779 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Tegra30 (Cardhu) # "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/chromebook_jerry_defconfig +2 -1
index 3ded392..ffe30a1 100644
@@ -3,9 +3,9 @@ CONFIG_ARCH_ROCKCHIP=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_ROCKCHIP_RK3288=y
 CONFIG_TARGET_CHROMEBOOK_JERRY=y
+CONFIG_SPL_STACK_R_ADDR=0x80000
 CONFIG_DEFAULT_DEVICE_TREE="rk3288-jerry"
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x80000
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PMIC=y
@@ -36,6 +36,7 @@ CONFIG_DEBUG_UART=y
 CONFIG_DEBUG_UART_BASE=0xff690000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_DEBUG_UART_SHIFT=2
+CONFIG_SYS_NS16550=y
 CONFIG_USE_PRIVATE_LIBGCC=y
 CONFIG_CMD_DHRYSTONE=y
 CONFIG_ERRNO_STR=y
configs/chromebook_link_defconfig +1 -2
index 0b75781..6bac486 100644
@@ -23,11 +23,10 @@ CONFIG_SPI_FLASH=y
 CONFIG_DM_PCI=y
 CONFIG_DM_RTC=y
 CONFIG_DEBUG_UART=y
-CONFIG_DEBUG_UART_NS16550=y
 CONFIG_DEBUG_UART_BASE=0x3f8
 CONFIG_DEBUG_UART_CLOCK=1843200
 CONFIG_DEBUG_UART_BOARD_INIT=y
-CONFIG_DM_TPM=y
+CONFIG_SYS_NS16550=y
 CONFIG_TPM_TIS_LPC=y
 CONFIG_VIDEO_VESA=y
 CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
configs/chromebox_panther_defconfig +1 -1
index 663aab0..c2dc472 100644
@@ -21,7 +21,7 @@ CONFIG_CROS_EC_LPC=y
 CONFIG_SPI_FLASH=y
 CONFIG_DM_PCI=y
 CONFIG_DM_RTC=y
-CONFIG_DM_TPM=y
+CONFIG_SYS_NS16550=y
 CONFIG_TPM_TIS_LPC=y
 CONFIG_VIDEO_VESA=y
 CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
configs/cm_t335_defconfig +1 -0
index 7288484..ddd0605 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_PROMPT="CM-T335 # "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/cm_t3517_defconfig +1 -0
index d224b20..95cd40f 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_PROMPT="CM-T3517 # "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/cm_t35_defconfig +1 -0
index 57ab275..a2fbbe3 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_PROMPT="CM-T3x # "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/cm_t43_defconfig +1 -0
index c0cdb48..3da784a 100644
@@ -8,3 +8,4 @@ CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_DM=y
+CONFIG_SYS_NS16550=y
configs/cm_t54_defconfig +1 -0
index f81aac4..c6107e1 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_PROMPT="CM-T54 # "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/colibri_t20_defconfig +1 -0
index 5104e95..2c94dc1 100644
@@ -10,6 +10,7 @@ CONFIG_SYS_PROMPT="Colibri T20 # "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/colibri_t30_defconfig +1 -0
index 738b041..dce5db5 100644
@@ -10,6 +10,7 @@ CONFIG_SYS_PROMPT="Colibri T30 # "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig +2 -3
index 58566c1..fd45728 100644
@@ -5,9 +5,8 @@ CONFIG_SYS_EXTRA_OPTIONS="36BIT,SDCARD,DEVELOP"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_TPM=y
-CONFIG_SPI_FLASH=y
 CONFIG_DM=y
-CONFIG_DM_TPM=y
-CONFIG_TPM_ATMEL_TWI=y
+CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_TPM_AUTH_SESSIONS=y
 CONFIG_TPM=y
configs/controlcenterd_36BIT_SDCARD_defconfig +2 -3
index 56a4910..30e3cde 100644
@@ -5,9 +5,8 @@ CONFIG_SYS_EXTRA_OPTIONS="36BIT,SDCARD"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_TPM=y
-CONFIG_SPI_FLASH=y
 CONFIG_DM=y
-CONFIG_DM_TPM=y
-CONFIG_TPM_ATMEL_TWI=y
+CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_TPM_AUTH_SESSIONS=y
 CONFIG_TPM=y
configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig +1 -2
index cbf43ef..59072cc 100644
@@ -8,7 +8,6 @@ CONFIG_SYS_EXTRA_OPTIONS="TRAILBLAZER,SPIFLASH,DEVELOP"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TPM=y
 CONFIG_DM=y
-CONFIG_DM_TPM=y
-CONFIG_TPM_ATMEL_TWI=y
+CONFIG_SYS_NS16550=y
 CONFIG_TPM_AUTH_SESSIONS=y
 CONFIG_TPM=y
configs/controlcenterd_TRAILBLAZER_defconfig +1 -2
index e897422..b1e3a80 100644
@@ -8,7 +8,6 @@ CONFIG_SYS_EXTRA_OPTIONS="TRAILBLAZER,SPIFLASH"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TPM=y
 CONFIG_DM=y
-CONFIG_DM_TPM=y
-CONFIG_TPM_ATMEL_TWI=y
+CONFIG_SYS_NS16550=y
 CONFIG_TPM_AUTH_SESSIONS=y
 CONFIG_TPM=y
configs/coreboot-x86_defconfig +1 -1
index 438e43b..05ced31 100644
@@ -17,7 +17,7 @@ CONFIG_DM_ETH=y
 CONFIG_E1000=y
 CONFIG_DM_PCI=y
 CONFIG_DM_RTC=y
-CONFIG_DM_TPM=y
+CONFIG_SYS_NS16550=y
 CONFIG_TPM_TIS_LPC=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
configs/crownbay_defconfig +1 -0
index d036c05..86f6793 100644
@@ -23,6 +23,7 @@ CONFIG_E1000=y
 CONFIG_PCH_GBE=y
 CONFIG_DM_PCI=y
 CONFIG_DM_RTC=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_VIDEO_VESA=y
configs/d2net_v2_defconfig +1 -0
index d5f783f..c46e33d 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="D2NET_V2"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/da850_am18xxevm_defconfig +1 -0
index ffdabab..59b9f32 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="DA850_AM18X_EVM,MAC_ADDR_IN_EEPROM,SYS_I2C_EEPROM_ADDR
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/da850evm_defconfig +1 -0
index 3f2c3c8..b703517 100644
@@ -8,3 +8,4 @@ CONFIG_SYS_PROMPT="U-Boot > "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/da850evm_direct_nor_defconfig +1 -0
index 6b0bde2..53746c9 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="MAC_ADDR_IN_SPIFLASH,USE_NOR,DIRECT_NOR_BOOT"
 CONFIG_SYS_PROMPT="U-Boot > "
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/dalmore_defconfig +1 -0
index e63a5c1..9765511 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Tegra114 (Dalmore) # "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_TEGRA114_SPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
configs/db-88f6820-gp_defconfig +1 -0
index 6f612d9..03c2a9c 100644
@@ -8,6 +8,7 @@ CONFIG_SPL=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
configs/db-mv784mp-gp_defconfig +1 -0
index 258e4d6..054c71d 100644
@@ -9,6 +9,7 @@ CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NAND_PXA3XX=y
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
configs/devconcenter_defconfig +1 -0
index ecf766e..f75bb62 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_INTIP=y
 CONFIG_SYS_EXTRA_OPTIONS="DEVCONCENTER"
+CONFIG_SYS_NS16550=y
configs/devkit3250_defconfig +1 -0
index 6465299..a704cd9 100644
@@ -5,3 +5,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_DM=y
+CONFIG_SYS_NS16550=y
configs/devkit8000_defconfig +1 -0
index 60ead72..d782f45 100644
@@ -7,3 +7,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/dlvision-10g_defconfig +1 -0
index 04037ba..fe15a4a 100644
@@ -5,3 +5,4 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_ELF is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/dlvision_defconfig +1 -0
index 97bdd51..b011cb1 100644
@@ -3,3 +3,4 @@ CONFIG_4xx=y
 CONFIG_TARGET_DLVISION=y
 # CONFIG_CMD_ELF is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/dns325_defconfig +1 -0
index c56dc5b..1c4e502 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_DNS325=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/dockstar_defconfig +1 -0
index 819cf1f..43e6423 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_PROMPT="DockStar> "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/dra72_evm_defconfig +1 -0
index cce3255..eb6b6e5 100644
@@ -16,3 +16,4 @@ CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
+CONFIG_SYS_NS16550=y
configs/dra74_evm_defconfig +3 -3
index a57cd7f..7df3bb7 100644
@@ -1,17 +1,17 @@
 CONFIG_ARM=y
 CONFIG_OMAP54XX=y
 CONFIG_TARGET_DRA7XX_EVM=y
+CONFIG_DM_GPIO=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_DEFAULT_DEVICE_TREE="dra7-evm"
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_OF_CONTROL=y
-CONFIG_SPL_DISABLE_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
-CONFIG_DM_GPIO=y
+CONFIG_SYS_NS16550=y
configs/dra7xx_evm_defconfig +2 -1
index f98e7b7..f063706 100644
@@ -1,12 +1,13 @@
 CONFIG_ARM=y
 CONFIG_OMAP54XX=y
 CONFIG_TARGET_DRA7XX_EVM=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
+CONFIG_SYS_NS16550=y
configs/dra7xx_evm_qspiboot_defconfig +2 -1
index f14fa62..4ab1a6a 100644
@@ -1,12 +1,13 @@
 CONFIG_ARM=y
 CONFIG_OMAP54XX=y
 CONFIG_TARGET_DRA7XX_EVM=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_EXTRA_OPTIONS="QSPI_BOOT"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/dra7xx_evm_uart3_defconfig +2 -1
index 8882260..f2fc614 100644
@@ -2,12 +2,13 @@ CONFIG_ARM=y
 CONFIG_OMAP54XX=y
 CONFIG_TARGET_DRA7XX_EVM=y
 CONFIG_CONS_INDEX=3
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_EXTRA_OPTIONS="SPL_YMODEM_SUPPORT"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/draco_defconfig +1 -0
index b5f0a50..71a8b35 100644
@@ -9,3 +9,4 @@ CONFIG_AUTOBOOT_STOP_STR="\x1b\x1b"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/dreamplug_defconfig +5 -4
index ec2a749..0bb5f3a 100644
@@ -1,12 +1,13 @@
 CONFIG_ARM=y
 CONFIG_KIRKWOOD=y
 CONFIG_TARGET_DREAMPLUG=y
+CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_SF=y
+CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
-CONFIG_SPI_FLASH=y
-CONFIG_HUSH_PARSER=y
 CONFIG_CMD_DHCP=y
-CONFIG_CMD_SF=y
 CONFIG_CMD_PING=y
-CONFIG_CMD_USB=y
+CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/duovero_defconfig +1 -0
index cc0e9a3..273e482 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_PROMPT="duovero # "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/e2220-1170_defconfig +1 -0
index a60ba97..b084a86 100644
@@ -10,6 +10,7 @@ CONFIG_SYS_PROMPT="Tegra210 (E2220-1170) # "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_TEGRA114_SPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
configs/ea20_defconfig +1 -0
index 3d5a1c4..8a86228 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_PROMPT="ea20 > "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/eco5pk_defconfig +1 -0
index 759e7e9..01812d6 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_PROMPT="ECO5-PK # "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/edminiv2_defconfig +1 -0
index d2c3f22..6ed785f 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_EDMINIV2=y
 CONFIG_SPL=y
 CONFIG_SYS_PROMPT="EDMiniV2> "
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/firefly-rk3288_defconfig +2 -1
index edb2db2..c11bde4 100644
@@ -3,9 +3,9 @@ CONFIG_ARCH_ROCKCHIP=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_ROCKCHIP_RK3288=y
 CONFIG_TARGET_FIREFLY_RK3288=y
+CONFIG_SPL_STACK_R_ADDR=0x80000
 CONFIG_DEFAULT_DEVICE_TREE="rk3288-firefly"
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x80000
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PMIC=y
@@ -37,6 +37,7 @@ CONFIG_DEBUG_UART=y
 CONFIG_DEBUG_UART_BASE=0xff690000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_DEBUG_UART_SHIFT=2
+CONFIG_SYS_NS16550=y
 CONFIG_USE_PRIVATE_LIBGCC=y
 CONFIG_CMD_DHRYSTONE=y
 CONFIG_ERRNO_STR=y
configs/fx12mm_defconfig +1 -0
index da5df04..c714d0d 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_PROMPT="FX12MM:/# "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/fx12mm_flash_defconfig +1 -0
index 60eee67..ac38412 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xF7F60000,RESET_VECTOR_ADDRESS=0xF7FFFF
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/ga10h_v1_1_defconfig +1 -0
index 34e74af..d7c8f1a 100644
@@ -22,5 +22,6 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_AXP_DLDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_MUSB_HOST=y
configs/galileo_defconfig +1 -0
index 1e1ce95..09dec28 100644
@@ -18,6 +18,7 @@ CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_DM_PCI=y
 CONFIG_DM_RTC=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/gdppc440etx_defconfig +1 -0
index 2dfebbb..9b06cb6 100644
@@ -3,3 +3,4 @@ CONFIG_4xx=y
 CONFIG_TARGET_GDPPC440ETX=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_STOP_STR=" "
+CONFIG_SYS_NS16550=y
configs/glacier_defconfig +1 -0
index d318f82..61444ff 100644
@@ -5,3 +5,4 @@ CONFIG_GLACIER=y
 CONFIG_DEFAULT_DEVICE_TREE="glacier"
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
+CONFIG_SYS_NS16550=y
configs/glacier_ramboot_defconfig +1 -0
index 98bcaf4..11d7da2 100644
@@ -6,3 +6,4 @@ CONFIG_DEFAULT_DEVICE_TREE="glacier"
 CONFIG_SYS_EXTRA_OPTIONS="SYS_RAMBOOT,SYS_TEXT_BASE=0x01000000,SYS_LDSCRIPT=board/amcc/canyonlands/u-boot-ram.lds"
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
+CONFIG_SYS_NS16550=y
configs/goflexhome_defconfig +1 -0
index 3f4cd1d..779daf6 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_PROMPT="GoFlexHome> "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/gplugd_defconfig +1 -0
index ab3f760..1ab51ce 100644
@@ -5,3 +5,4 @@ CONFIG_TARGET_GPLUGD=y
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/gr_xc3s_1500_defconfig +1 -1
index a05b709..543cba5 100644
@@ -1,5 +1,5 @@
 CONFIG_SPARC=y
 CONFIG_TARGET_GR_XC3S_1500=y
 CONFIG_SYS_TEXT_BASE=0x00000000
-# CONFIG_CMD_ELF is not sets
+# CONFIG_CMD_ELF is not set
 # CONFIG_CMD_SETEXPR is not set
configs/gt90h_v4_defconfig +1 -0
index a14de0d..ad37e19 100644
@@ -21,4 +21,5 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_AXP_DLDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/guruplug_defconfig +4 -3
index b7f79a3..7e20dbb 100644
@@ -1,11 +1,12 @@
 CONFIG_ARM=y
 CONFIG_KIRKWOOD=y
 CONFIG_TARGET_GURUPLUG=y
+CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_NAND=y
+CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
-CONFIG_HUSH_PARSER=y
 CONFIG_CMD_DHCP=y
-CONFIG_CMD_NAND=y
 CONFIG_CMD_PING=y
-CONFIG_CMD_USB=y
+CONFIG_SYS_NS16550=y
configs/gwventana_defconfig +1 -1
index 5bb371c..f7e01e5 100644
@@ -2,9 +2,9 @@ CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_GW_VENTANA=y
 CONFIG_DM_SERIAL=y
+CONFIG_SPL_STACK_R_ADDR=0x18000000
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x18000000
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"
 CONFIG_SYS_PROMPT="Ventana > "
 # CONFIG_CMD_IMLS is not set
configs/haleakala_defconfig +1 -0
index 81e3398..234bbea 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_KILAUEA=y
 CONFIG_SYS_EXTRA_OPTIONS="HALEAKALA"
+CONFIG_SYS_NS16550=y
configs/harmony_defconfig +1 -0
index 79e91e0..e44f59d 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_PROMPT="Tegra20 (Harmony) # "
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/hrcon_defconfig +1 -0
index 6b2b5d3..f6c531f 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_HRCON=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/hrcon_dh_defconfig +2 -2
index a059dd9..aad015a 100644
@@ -1,5 +1,5 @@
-CONFIG_SYS_EXTRA_OPTIONS="HRCON_DH"
-
 CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_HRCON=y
+CONFIG_SYS_EXTRA_OPTIONS="HRCON_DH"
+CONFIG_SYS_NS16550=y
configs/i12-tvbox_defconfig +1 -0
index 54fa819..dd28930 100644
@@ -11,4 +11,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,MACPWR=SUNXI_GPH(21)"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/iNet_3F_defconfig +1 -0
index 7ec54a7..f98368a 100644
@@ -17,4 +17,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/iNet_3W_defconfig +1 -0
index 5e68769..45fabe1 100644
@@ -17,4 +17,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/iNet_86VS_defconfig +1 -0
index 3dea793..330bd7e 100644
@@ -16,4 +16,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/ib62x0_defconfig +4 -3
index 19cbfd5..a229f46 100644
@@ -1,12 +1,13 @@
 CONFIG_ARM=y
 CONFIG_KIRKWOOD=y
 CONFIG_TARGET_IB62X0=y
+CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ib62x0 => "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_NAND=y
+CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
-CONFIG_HUSH_PARSER=y
 CONFIG_CMD_DHCP=y
-CONFIG_CMD_NAND=y
 CONFIG_CMD_PING=y
-CONFIG_CMD_USB=y
+CONFIG_SYS_NS16550=y
configs/icon_defconfig +1 -0
index 771a093..36fd884 100644
@@ -1,3 +1,4 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_ICON=y
+CONFIG_SYS_NS16550=y
configs/iconnect_defconfig +1 -0
index af1c1fc..3b4d37e 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_PROMPT="iconnect => "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/ids8313_defconfig +1 -0
index 821c6fa..deafa38 100644
@@ -8,3 +8,4 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Enter password - autoboot in %d seconds...\n"
 CONFIG_AUTOBOOT_DELAY_STR="ids"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/igep0020_defconfig +1 -0
index e45e83c..91ff0df 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="MACH_TYPE=MACH_TYPE_IGEP0020,BOOT_ONENAND"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/igep0020_nand_defconfig +1 -0
index 75fabef..323178e 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="MACH_TYPE=MACH_TYPE_IGEP0020,BOOT_NAND"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/igep0030_defconfig +1 -0
index 1bb7a6f..4dde5ab 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="MACH_TYPE=MACH_TYPE_IGEP0030,BOOT_ONENAND"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/igep0030_nand_defconfig +1 -0
index ed01766..6f981ff 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="MACH_TYPE=MACH_TYPE_IGEP0030,BOOT_NAND"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/igep0032_defconfig +1 -0
index bfa15d7..6097575 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="MACH_TYPE=MACH_TYPE_IGEP0032,BOOT_ONENAND"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/inet1_defconfig +1 -0
index a8b32cb..754ea33 100644
@@ -17,5 +17,6 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_MUSB_HOST=y
configs/inet97fv2_defconfig +1 -0
index 0b03e16..8c6015c 100644
@@ -16,4 +16,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/inet98v_rev2_defconfig +1 -0
index 27b5019..83d70f3 100644
@@ -19,4 +19,5 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/inet9f_rev03_defconfig +1 -0
index 153450f..dc9dfc1 100644
@@ -16,4 +16,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/inetspace_v2_defconfig +1 -0
index f314059..0629396 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="INETSPACE_V2"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/intip_defconfig +1 -0
index 898f544..7893f64 100644
@@ -4,3 +4,4 @@ CONFIG_TARGET_INTIP=y
 CONFIG_SYS_EXTRA_OPTIONS="INTIB"
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_STOP_STR=" "
+CONFIG_SYS_NS16550=y
configs/io64_defconfig +1 -0
index 52829da..b433cdd 100644
@@ -3,3 +3,4 @@ CONFIG_4xx=y
 CONFIG_TARGET_IO64=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_STOP_STR=" "
+CONFIG_SYS_NS16550=y
configs/io_defconfig +1 -0
index 7b71805..17c9c9d 100644
@@ -5,3 +5,4 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_ELF is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/iocon_defconfig +1 -0
index 63f0c37..bc5e026 100644
@@ -5,3 +5,4 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_ELF is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/ipam390_defconfig +1 -0
index a353beb..b02b496 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_PROMPT="U-Boot > "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/jesurun_q5_defconfig +1 -0
index 9cb8b1d..1c8f1a7 100644
@@ -11,5 +11,6 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_EMAC,MACPWR=SUNXI_GPH(19)"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_MUSB_HOST=y
configs/jetson-tk1_defconfig +1 -0
index 6df5c7e..a393fe1 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Tegra124 (Jetson TK1) # "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_TEGRA114_SPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
configs/k2e_evm_defconfig +1 -0
index c0d8210..66690ba 100644
@@ -11,3 +11,4 @@ CONFIG_SYS_PROMPT="K2E EVM # "
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/k2g_evm_defconfig +3 -3
index c6efe80..236ebc5 100644
@@ -1,13 +1,13 @@
 CONFIG_ARM=y
 CONFIG_ARCH_KEYSTONE=y
 CONFIG_TARGET_K2G_EVM=y
+CONFIG_DM_SERIAL=y
 CONFIG_DEFAULT_DEVICE_TREE="k2g-evm"
 CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
-CONFIG_SPL_DISABLE_OF_CONTROL=y
-CONFIG_SPI_FLASH=y
 CONFIG_DM=y
-CONFIG_DM_SERIAL=y
+CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/k2hk_evm_defconfig +1 -0
index d5a4ef2..b84d507 100644
@@ -11,3 +11,4 @@ CONFIG_SYS_PROMPT="K2HK EVM # "
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/k2l_evm_defconfig +1 -0
index 47fcad3..6ecb409 100644
@@ -11,3 +11,4 @@ CONFIG_SYS_PROMPT="K2L EVM # "
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/katmai_defconfig +1 -0
index 8492314..a2c4294 100644
@@ -1,3 +1,4 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_KATMAI=y
+CONFIG_SYS_NS16550=y
configs/kilauea_defconfig +1 -0
index 0054cc6..5c77b0c 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_KILAUEA=y
 CONFIG_SYS_EXTRA_OPTIONS="KILAUEA"
+CONFIG_SYS_NS16550=y
configs/km_kirkwood_128m16_defconfig +1 -0
index b903f6e..8354c8b 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="KM_KIRKWOOD_128M16"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/km_kirkwood_defconfig +1 -0
index 7fc1112..9b2ea23 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="KM_KIRKWOOD"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/km_kirkwood_pci_defconfig +1 -0
index a310fb7..463fd4e 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="KM_KIRKWOOD_PCI"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/kmcoge4_defconfig +1 -0
index 519b39d..47a3e38 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="KMCOGE4"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/kmcoge5ne_defconfig +1 -0
index a8b5275..6623162 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_KM8360=y
 CONFIG_SYS_EXTRA_OPTIONS="KMCOGE5NE"
+CONFIG_SYS_NS16550=y
configs/kmcoge5un_defconfig +1 -0
index 95c61f1..4faff30 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="KM_COGE5UN"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/kmeter1_defconfig +1 -0
index 3374ab0..98c4cc9 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_KM8360=y
 CONFIG_SYS_EXTRA_OPTIONS="KMETER1"
+CONFIG_SYS_NS16550=y
configs/kmlion1_defconfig +1 -0
index f948b2b..d402e25 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="KMLION1"
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/kmnusa_defconfig +1 -0
index 158fe39..d66b1c3 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="KM_NUSA"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/kmopti2_defconfig +1 -0
index 11c53b5..6d7896e 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_TUXX1=y
 CONFIG_SYS_EXTRA_OPTIONS="KMOPTI2"
+CONFIG_SYS_NS16550=y
configs/kmsugp1_defconfig +1 -0
index d754ac0..fed4722 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="KM_SUGP1"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/kmsupx5_defconfig +1 -0
index fd4bb9a..6cc721b 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_TUXX1=y
 CONFIG_SYS_EXTRA_OPTIONS="KMSUPX5"
+CONFIG_SYS_NS16550=y
configs/kmsuv31_defconfig +1 -0
index 5f56925..66dff14 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="KM_SUV31"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/kmvect1_defconfig +1 -0
index 512d12c..c2ee6be 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_SUVD3=y
 CONFIG_SYS_EXTRA_OPTIONS="KMVECT1"
+CONFIG_SYS_NS16550=y
configs/kwb_defconfig +1 -0
index 0bbe0a7..e25b2a3 100644
@@ -18,3 +18,4 @@ CONFIG_SYS_PROMPT="U-Boot (BuR V2.0)# "
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/ls1021aqds_ddr4_nor_defconfig +1 -0
index 940da92..2f16339 100644
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/ls1021aqds_nand_defconfig +1 -0
index 613fc28..fe84419 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,NAND_BOOT"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/ls1021aqds_nor_SECURE_BOOT_defconfig +1 -0
index 97d08f1..025a8f2 100644
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/ls1021aqds_nor_defconfig +1 -0
index af76fa0..6878df4 100644
@@ -3,3 +3,4 @@ CONFIG_TARGET_LS1021AQDS=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/ls1021aqds_qspi_defconfig +1 -0
index 44c7f50..4beab8e 100644
@@ -10,3 +10,4 @@ CONFIG_DM=y
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/ls1021aqds_sdcard_defconfig +1 -0
index 0fb637e..3249b48 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/ls1021atwr_nor_SECURE_BOOT_defconfig +1 -0
index 0d2c9a0..bf19c33 100644
@@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/ls1021atwr_nor_defconfig +1 -0
index 0a4b3ea..aa874fd 100644
@@ -3,3 +3,4 @@ CONFIG_TARGET_LS1021ATWR=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/ls1021atwr_qspi_defconfig +1 -0
index 5bb52bb..9ca0ea7 100644
@@ -10,3 +10,4 @@ CONFIG_DM=y
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/ls1021atwr_sdcard_ifc_defconfig +1 -0
index 2136ab2..f6d4b4a 100644
@@ -4,3 +4,4 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT"
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/ls1021atwr_sdcard_qspi_defconfig +3 -2
index 458578b..3d80fde 100644
@@ -1,11 +1,12 @@
 CONFIG_ARM=y
 CONFIG_TARGET_LS1021ATWR=y
+CONFIG_DM_SPI=y
+CONFIG_DEFAULT_DEVICE_TREE="ls1021a-twr"
 CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT,SD_BOOT_QSPI"
-CONFIG_DEFAULT_DEVICE_TREE="ls1021a-twr"
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_SPI_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
-CONFIG_DM_SPI=y
+CONFIG_SYS_NS16550=y
configs/ls1043ardb_defconfig +2 -2
index ae84d2e..3feac91 100644
@@ -1,4 +1,4 @@
-CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4"
 CONFIG_ARM=y
 CONFIG_TARGET_LS1043ARDB=y
-CONFIG_FSL_LAYERSCAPE=y
+CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4"
+CONFIG_SYS_NS16550=y
configs/ls1043ardb_nand_defconfig +3 -2
index fffaca0..605dbc0 100644
@@ -1,4 +1,5 @@
-CONFIG_SPL=y
-CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,NAND_BOOT,SYS_FSL_DDR4"
 CONFIG_ARM=y
 CONFIG_TARGET_LS1043ARDB=y
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,NAND_BOOT,SYS_FSL_DDR4"
+CONFIG_SYS_NS16550=y
configs/ls1043ardb_sdcard_defconfig +3 -2
index 5fe0470..ea925c3 100644
@@ -1,4 +1,5 @@
-CONFIG_SPL=y
-CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT,SYS_FSL_DDR4"
 CONFIG_ARM=y
 CONFIG_TARGET_LS1043ARDB=y
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT,SYS_FSL_DDR4"
+CONFIG_SYS_NS16550=y
configs/ls2085a_emu_defconfig +1 -0
index 9c82e17..0505d09 100644
@@ -12,3 +12,4 @@ CONFIG_SYS_EXTRA_OPTIONS="EMU,SYS_FSL_DDR4"
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 # CONFIG_CMD_MISC is not set
+CONFIG_SYS_NS16550=y
configs/ls2085a_simu_defconfig +1 -0
index 9d04218..220a65a 100644
@@ -13,3 +13,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SIMU"
 # CONFIG_CMD_NFS is not set
 # CONFIG_CMD_MISC is not set
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_SYS_NS16550=y
configs/ls2085aqds_defconfig +1 -0
index 78b121d..5b4f7eb 100644
@@ -11,4 +11,5 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
 CONFIG_FSL_DSPI=y
configs/ls2085aqds_nand_defconfig +1 -0
index ce2a81c..c010e58 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4,NAND"
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/ls2085ardb_defconfig +1 -0
index d0f16f2..764e48f 100644
@@ -11,4 +11,5 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
 CONFIG_FSL_DSPI=y
configs/ls2085ardb_nand_defconfig +1 -0
index 25a6f71..76d4d34 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4,NAND"
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/lschlv2_defconfig +1 -0
index a086de8..9fd89a6 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="LSCHLV2"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/lsxhl_defconfig +1 -0
index 7d48abd..03d2ad5 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_EXTRA_OPTIONS="LSXHL"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/luan_defconfig +1 -0
index d42b4a9..7babe26 100644
@@ -1,3 +1,4 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_LUAN=y
+CONFIG_SYS_NS16550=y
configs/lwmon5_defconfig +1 -0
index 0a6da68..5cbca3b 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_LWMON5=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/makalu_defconfig +1 -0
index ed9b82d..1b71638 100644
@@ -1,3 +1,4 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_MAKALU=y
+CONFIG_SYS_NS16550=y
configs/malta_defconfig +1 -0
index 3056c48..2ebd58b 100644
@@ -5,4 +5,5 @@ CONFIG_TARGET_MALTA=y
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/maltael_defconfig +1 -0
index 858a852..d24d217 100644
@@ -6,4 +6,5 @@ CONFIG_SYS_LITTLE_ENDIAN=y
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/maxbcm_defconfig +1 -0
index d49def1..42b2084 100644
@@ -8,3 +8,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
+CONFIG_SYS_NS16550=y
configs/mcx_defconfig +1 -0
index fe80d6c..0c3d86b 100644
@@ -8,3 +8,4 @@ CONFIG_SYS_PROMPT="mcx # "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/medcom-wide_defconfig +1 -0
index df9560e..5d2d504 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_PROMPT="Tegra20 (Medcom-Wide) # "
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/mgcoge3un_defconfig +1 -0
index cd5f358..2355c70 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="KM_MGCOGE3UN"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/minnowmax_defconfig +1 -1
index 0f500e6..4d527ff 100644
@@ -23,9 +23,9 @@ CONFIG_DM_ETH=y
 CONFIG_DM_PCI=y
 CONFIG_DM_RTC=y
 CONFIG_DEBUG_UART=y
-CONFIG_DEBUG_UART_NS16550=y
 CONFIG_DEBUG_UART_BASE=0x3f8
 CONFIG_DEBUG_UART_CLOCK=1843200
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_VIDEO_VESA=y
configs/mixtile_loftq_defconfig +1 -0
index ce81309..fcf6f8b 100644
@@ -14,4 +14,5 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPA(21)"
 # CONFIG_CMD_FPGA is not set
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_AXP_ALDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/mk802_a10s_defconfig +2 -1
index aff8dfc..54d947b 100644
@@ -10,5 +10,6 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
-CONFIG_USB_EHCI_HCD=y
 CONFIG_AXP152_POWER=y
+CONFIG_SYS_NS16550=y
+CONFIG_USB_EHCI_HCD=y
configs/mk802_defconfig +2 -1
index bed8f23..bc131bb 100644
@@ -9,5 +9,6 @@ CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
-CONFIG_USB_EHCI_HCD=y
 CONFIG_SUNXI_NO_PMIC=y
+CONFIG_SYS_NS16550=y
+CONFIG_USB_EHCI_HCD=y
configs/mk802ii_defconfig +1 -0
index de1b73f..23e1591 100644
@@ -7,4 +7,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_EHCI_HCD=y
configs/mpc8308_p1m_defconfig +1 -0
index 8c67eab..c31d948 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_MPC8308_P1M=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/mt_ventoux_defconfig +1 -0
index 27f2ecd..7cd14ea 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_PROMPT="mt_ventoux => "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/nas220_defconfig +1 -0
index 6748a6e..eae74a0 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_PROMPT="nas220> "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/neo_defconfig +1 -0
index 1ef57ad..a500b5f 100644
@@ -3,3 +3,4 @@ CONFIG_4xx=y
 CONFIG_TARGET_NEO=y
 # CONFIG_CMD_ELF is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/net2big_v2_defconfig +1 -0
index 09df520..9f52638 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="NET2BIG_V2"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/netspace_lite_v2_defconfig +1 -0
index 862a9ae..6cfc593 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="NETSPACE_LITE_V2"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/netspace_max_v2_defconfig +1 -0
index 1829995..967261e 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="NETSPACE_MAX_V2"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/netspace_mini_v2_defconfig +1 -0
index 35cb154..d06b12e 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="NETSPACE_MINI_V2"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/netspace_v2_defconfig +1 -0
index a13452b..ad4fd36 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="NETSPACE_V2"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/nokia_rx51_defconfig +1 -0
index b3d9682..67918f7 100644
@@ -11,3 +11,4 @@ CONFIG_AUTOBOOT_KEYED=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/nyan-big_defconfig +1 -1
index 4f31c1c..423cfb6 100644
@@ -18,8 +18,8 @@ CONFIG_CMD_CROS_EC=y
 CONFIG_CROS_EC=y
 CONFIG_CROS_EC_SPI=y
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_TEGRA114_SPI=y
-CONFIG_DM_TPM=y
 CONFIG_TPM_TIS_INFINEON=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
configs/odroid-xu3_defconfig +5 -5
index 4ab91fa..362e6c6 100644
@@ -7,14 +7,14 @@ CONFIG_DEFAULT_DEVICE_TREE="exynos5422-odroidxu3"
 CONFIG_SYS_PROMPT="ODROID-XU3 # "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_PMIC=y
+CONFIG_ADC=y
+CONFIG_ADC_EXYNOS=y
 CONFIG_DM_I2C_COMPAT=y
 CONFIG_DM_PMIC=y
-CONFIG_CMD_PMIC=y
-CONFIG_ERRNO_STR=y
-CONFIG_DM_REGULATOR=y
 CONFIG_PMIC_S2MPS11=y
+CONFIG_DM_REGULATOR=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_VIDEO_BRIDGE=y
-CONFIG_ADC=y
-CONFIG_ADC_EXYNOS=y
+CONFIG_ERRNO_STR=y
configs/omap3_beagle_defconfig +1 -0
index dde076a..27b4f67 100644
@@ -5,3 +5,4 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="NAND"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_SYS_NS16550=y
configs/omap3_evm_defconfig +1 -0
index 168b9a8..89fdf80 100644
@@ -8,3 +8,4 @@ CONFIG_SYS_PROMPT="OMAP3_EVM # "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/omap3_evm_quick_mmc_defconfig +1 -0
index 1b6aa7c..1af2b45 100644
@@ -24,3 +24,4 @@ CONFIG_SYS_PROMPT="OMAP3_EVM # "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 # CONFIG_CMD_MISC is not set
+CONFIG_SYS_NS16550=y
configs/omap3_evm_quick_nand_defconfig +1 -0
index 48c2bb1..b53a9c2 100644
@@ -24,3 +24,4 @@ CONFIG_SYS_PROMPT="OMAP3_EVM # "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 # CONFIG_CMD_MISC is not set
+CONFIG_SYS_NS16550=y
configs/omap3_ha_defconfig +1 -0
index f22b50e..04b3215 100644
@@ -8,3 +8,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_BOARD_OMAP3_HA"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/omap3_logic_defconfig +1 -0
index 3f8a154..a343a3d 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_PROMPT="OMAP Logic # "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
configs/omap3_overo_defconfig +1 -0
index 3350212..299e2d6 100644
@@ -9,3 +9,4 @@ CONFIG_SYS_PROMPT="Overo # "
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/omap3_pandora_defconfig +1 -0
index e165145..1b7d81e 100644
@@ -9,3 +9,4 @@ CONFIG_SYS_PROMPT="Pandora # "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/omap3_zoom1_defconfig +1 -0
index 9efd6de..d45119b 100644
@@ -6,3 +6,4 @@ CONFIG_TARGET_OMAP3_ZOOM1=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/omap4_panda_defconfig +1 -0
index 1be285d..1bc284d 100644
@@ -6,3 +6,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/omap4_sdp4430_defconfig +1 -0
index b369d1d..60abc77 100644
@@ -7,3 +7,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
configs/omap5_uevm_defconfig +1 -0
index 15221ad..a9982d4 100644
@@ -5,3 +5,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/omapl138_lcdk_defconfig +1 -0
index 8aa410d..582badf 100644
@@ -7,3 +7,4 @@ CONFIG_SYS_PROMPT="U-Boot > "
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/openrd_base_defconfig +1 -0
index 1686139..ea7861d 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BOARD_IS_OPENRD_BASE"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/openrd_client_defconfig +1 -0
index c342315..886698b 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BOARD_IS_OPENRD_CLIENT"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/openrd_ultimate_defconfig +1 -0
index 530ba4d..4989319 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="BOARD_IS_OPENRD_ULTIMATE"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/openrisc-generic_defconfig +1 -0
index 54cd832..47ed8df 100644
@@ -3,3 +3,4 @@ CONFIG_TARGET_OPENRISC_GENERIC=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/p2371-0000_defconfig +1 -0
index 136f6c5..5d05315 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_PROMPT="Tegra210 (P2371-0000) # "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_TEGRA114_SPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
configs/p2371-2180_defconfig +1 -0
index 8cd2fcc..0d51d41 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_PROMPT="Tegra210 (P2371-2180) # "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_TEGRA114_SPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
configs/p2571_defconfig +1 -0
index 5a592e9..e482ff2 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_PROMPT="Tegra210 (P2571) # "
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
 CONFIG_TEGRA114_SPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
configs/paz00_defconfig +1 -0
index 5d076f7..c704b67 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_PROMPT="Tegra20 (Paz00) MOD # "
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/pcm051_rev1_defconfig +1 -0
index 2f1022c..9c7e08c 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="REV1"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/pcm051_rev3_defconfig +1 -0
index 61d94b8..af3f134 100644
@@ -6,3 +6,4 @@ CONFIG_SYS_EXTRA_OPTIONS="REV3"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/pcm052_defconfig +0 -1
index e8dc402..9125645 100644
@@ -3,4 +3,3 @@ CONFIG_TARGET_PCM052=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND"
 CONFIG_NAND_VF610_NFC=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
-CONFIG_SYS_NAND_VF610_NFC_45_ECC_BYTES=y
configs/peach-pi_defconfig +0 -1
index 6eff072..411ef1a 100644
@@ -29,7 +29,6 @@ CONFIG_I2S=y
 CONFIG_I2S_SAMSUNG=y
 CONFIG_SOUND_MAX98095=y
 CONFIG_SOUND_WM8994=y
-CONFIG_DM_TPM=y
 CONFIG_TPM_TIS_INFINEON=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
configs/peach-pit_defconfig +0 -1
index 24bc161..5c34c31 100644
@@ -29,7 +29,6 @@ CONFIG_I2S=y
 CONFIG_I2S_SAMSUNG=y
 CONFIG_SOUND_MAX98095=y
 CONFIG_SOUND_WM8994=y
-CONFIG_DM_TPM=y
 CONFIG_TPM_TIS_INFINEON=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
configs/pengwyn_defconfig +1 -0
index 38add54..1900cf4 100644
@@ -4,3 +4,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/pepper_defconfig +1 -0
index f86b1b7..bd7db24 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_PROMPT="pepper# "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/plutux_defconfig +1 -0
index b6b07d8..96615d9 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_PROMPT="Tegra20 (Plutux) # "
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/pogo_e02_defconfig +1 -0
index 234833b..1a31256 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_PROMPT="PogoE02> "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/portl2_defconfig +1 -0
index 3ff9ebb..6291730 100644
@@ -5,3 +5,4 @@ CONFIG_SYS_EXTRA_OPTIONS="KM_PORTL2"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/pov_protab2_ips9_defconfig +1 -0
index 9aa5280..0a2660e 100644
@@ -17,4 +17,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/pxm2_defconfig +1 -0
index b1b709f..b06fe69 100644
@@ -9,3 +9,4 @@ CONFIG_AUTOBOOT_STOP_STR="\x1b\x1b"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/q8_a13_tablet_defconfig +1 -0
index b467b62..8fd3924 100644
@@ -19,4 +19,5 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2"
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/q8_a23_tablet_800x480_defconfig +1 -0
index 7391464..6b7823f 100644
@@ -21,4 +21,5 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_AXP_DLDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/q8_a33_tablet_1024x600_defconfig +1 -0
index 16f8600..7b1f61a 100644
@@ -21,4 +21,5 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_AXP_DLDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/q8_a33_tablet_800x480_defconfig +1 -0
index 6378918..60d2d13 100644
@@ -21,4 +21,5 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_AXP_DLDO1_VOLT=3300
+CONFIG_SYS_NS16550=y
 CONFIG_USB_MUSB_HOST=y
configs/qemu-ppce500_defconfig +1 -0
index b05c722..d28532c 100644
@@ -5,3 +5,4 @@ CONFIG_TARGET_QEMU_PPCE500=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
+CONFIG_SYS_NS16550=y
configs/qemu-x86_defconfig +1 -0
index 366ccc4..92e79de 100644
@@ -19,6 +19,7 @@ CONFIG_DM_ETH=y
 CONFIG_E1000=y
 CONFIG_DM_PCI=y
 CONFIG_DM_RTC=y
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_VIDEO_VESA=y
configs/qemu_mips64_defconfig +1 -0
index 4187430..2bc92a5 100644
@@ -4,4 +4,5 @@ CONFIG_CPU_MIPS64_R1=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/qemu_mips64el_defconfig +1 -0
index c8bcbb7..d8a9c71 100644
@@ -5,4 +5,5 @@ CONFIG_CPU_MIPS64_R1=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/qemu_mips_defconfig +1 -0
index 337ecea..e855906 100644
@@ -3,4 +3,5 @@ CONFIG_TARGET_QEMU_MIPS=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/qemu_mipsel_defconfig +1 -0
index bfb3bcc..d851075 100644
@@ -4,4 +4,5 @@ CONFIG_SYS_LITTLE_ENDIAN=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/r7-tv-dongle_defconfig +2 -1
index fcc681f..6e6a1b0 100644
@@ -9,5 +9,6 @@ CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
-CONFIG_USB_EHCI_HCD=y
 CONFIG_AXP152_POWER=y
+CONFIG_SYS_NS16550=y
+CONFIG_USB_EHCI_HCD=y
configs/rainier_defconfig +1 -0
index 1713592..cffc355 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_SEQUOIA=y
 CONFIG_SYS_EXTRA_OPTIONS="RAINIER"
+CONFIG_SYS_NS16550=y
configs/rainier_ramboot_defconfig +1 -0
index ba22d9d..9766835 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_SEQUOIA=y
 CONFIG_SYS_EXTRA_OPTIONS="RAINIER,SYS_RAMBOOT,SYS_TEXT_BASE=0x01000000,SYS_LDSCRIPT=board/amcc/sequoia/u-boot-ram.lds"
+CONFIG_SYS_NS16550=y
configs/rastaban_defconfig +1 -0
index 1d8064a..d34efca 100644
@@ -9,3 +9,4 @@ CONFIG_AUTOBOOT_STOP_STR="\x1b\x1b"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/redwood_defconfig +1 -0
index ad87d0e..3b7cebb 100644
@@ -1,3 +1,4 @@
 CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_REDWOOD=y
+CONFIG_SYS_NS16550=y
configs/rut_defconfig +1 -0
index 8bb8d88..15cd854 100644
@@ -9,3 +9,4 @@ CONFIG_AUTOBOOT_STOP_STR="\x1b\x1b"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_SYS_NS16550=y
configs/sandbox_defconfig +4 -5
index 94c8e68..6acddf0 100644
@@ -6,6 +6,7 @@ CONFIG_FIT_SIGNATURE=y
 # CONFIG_CMD_ELF is not set
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_REMOTEPROC=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_SOUND=y
 CONFIG_BOOTSTAGE=y
@@ -19,6 +20,8 @@ CONFIG_OF_HOSTFILE=y
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_DEVRES=y
+CONFIG_ADC=y
+CONFIG_ADC_SANDBOX=y
 CONFIG_CLK=y
 CONFIG_SANDBOX_GPIO=y
 CONFIG_SYS_I2C_SANDBOX=y
@@ -43,12 +46,12 @@ CONFIG_DM_PMIC_SANDBOX=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_SANDBOX=y
 CONFIG_RAM=y
+CONFIG_REMOTEPROC_SANDBOX=y
 CONFIG_DM_RTC=y
 CONFIG_SANDBOX_SERIAL=y
 CONFIG_SOUND=y
 CONFIG_SOUND_SANDBOX=y
 CONFIG_SANDBOX_SPI=y
-CONFIG_DM_TPM=y
 CONFIG_TPM_TIS_SANDBOX=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
@@ -63,7 +66,3 @@ CONFIG_UNIT_TEST=y
 CONFIG_UT_TIME=y
 CONFIG_UT_DM=y
 CONFIG_UT_ENV=y
-CONFIG_REMOTEPROC_SANDBOX=y
-CONFIG_CMD_REMOTEPROC=y
-CONFIG_ADC=y
-CONFIG_ADC_SANDBOX=y
configs/sbc8349_PCI_33_defconfig +1 -0
index c03a807..068b1b6 100644
@@ -3,3 +3,4 @@ CONFIG_MPC83xx=y
 CONFIG_TARGET_SBC8349=y
 CONFIG_SYS_EXTRA_OPTIONS="PCI,PCI_33M"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/sbc8349_PCI_66_defconfig +1 -0
index 030c2d6..9939155 100644
@@ -3,3 +3,4 @@ CONFIG_MPC83xx=y
 CONFIG_TARGET_SBC8349=y
 CONFIG_SYS_EXTRA_OPTIONS="PCI,PCI_66M"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/sbc8349_defconfig +1 -0
index 01392aa..f1e356d 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC83xx=y
 CONFIG_TARGET_SBC8349=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/sbc8548_PCI_33_PCIE_defconfig +1 -0
index b6e8766..bf1f0a5 100644
@@ -3,3 +3,4 @@ CONFIG_MPC85xx=y
 CONFIG_TARGET_SBC8548=y
 CONFIG_SYS_EXTRA_OPTIONS="PCI,33,PCIE"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/sbc8548_PCI_33_defconfig +1 -0
index f3c4ced..789333e 100644
@@ -3,3 +3,4 @@ CONFIG_MPC85xx=y
 CONFIG_TARGET_SBC8548=y
 CONFIG_SYS_EXTRA_OPTIONS="PCI,33"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/sbc8548_PCI_66_PCIE_defconfig +1 -0
index bb0ad95..e0f3752 100644
@@ -3,3 +3,4 @@ CONFIG_MPC85xx=y
 CONFIG_TARGET_SBC8548=y
 CONFIG_SYS_EXTRA_OPTIONS="PCI,66,PCIE"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/sbc8548_PCI_66_defconfig +1 -0
index d601416..132e66d 100644
@@ -3,3 +3,4 @@ CONFIG_MPC85xx=y
 CONFIG_TARGET_SBC8548=y
 CONFIG_SYS_EXTRA_OPTIONS="PCI,66"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/sbc8548_defconfig +1 -0
index 3e3b507..b8d9d5a 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_SBC8548=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/sbc8641d_defconfig +1 -0
index b67c7c0..a37b18e 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_MPC86xx=y
 CONFIG_TARGET_SBC8641D=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_SYS_NS16550=y
configs/seaboard_defconfig +1 -0
index a5023c9..828d898 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_PROMPT="Tegra20 (SeaBoard) # "
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/sequoia_defconfig +1 -0
index bbaec61..39190a3 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_SEQUOIA=y
 CONFIG_SYS_EXTRA_OPTIONS="SEQUOIA"
+CONFIG_SYS_NS16550=y
configs/sequoia_ramboot_defconfig +1 -0
index 5b2c6f4..b86b230 100644
@@ -2,3 +2,4 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_SEQUOIA=y
 CONFIG_SYS_EXTRA_OPTIONS="SEQUOIA,SYS_RAMBOOT,SYS_TEXT_BASE=0x01000000,SYS_LDSCRIPT=board/amcc/sequoia/u-boot-ram.lds"
+CONFIG_SYS_NS16550=y
configs/sheevaplug_defconfig +4 -3
index 5a37eea..9b41460 100644
@@ -1,11 +1,12 @@
 CONFIG_ARM=y
 CONFIG_KIRKWOOD=y
 CONFIG_TARGET_SHEEVAPLUG=y
+CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_NAND=y
+CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
-CONFIG_HUSH_PARSER=y
 CONFIG_CMD_DHCP=y
-CONFIG_CMD_NAND=y
 CONFIG_CMD_PING=y
-CONFIG_CMD_USB=y
+CONFIG_SYS_NS16550=y
configs/sniper_defconfig +1 -0
index 7afaa49..0474deb 100644
@@ -6,5 +6,6 @@ CONFIG_SYS_PROMPT="Sniper # "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_GADGET=y
configs/snow_defconfig +0 -1
index 0c9ca8b..3721ece 100644
@@ -38,7 +38,6 @@ CONFIG_I2S=y
 CONFIG_I2S_SAMSUNG=y
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

configs/socfpga_arria5_defconfig +2 -1
index afdf237..8913a64 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_cyclone5_defconfig +2 -1
index fcd12d9..a465f88 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_de0_nano_soc_defconfig +2 -1
index 5dc74b7..567edd3 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_mcvevk_defconfig +2 -1
index b90bce7..844aadb 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_sockit_defconfig +2 -1
index 11a4786..086b04d 100644

Lines of this file are not shown. View the raw message.

configs/socfpga_socrates_defconfig +2 -1
index 04bacd0..e92a373 100644

Lines of this file are not shown. View the raw message.

configs/socrates_defconfig +1 -0
index 37af82e..19cc388 100644

Lines of this file are not shown. View the raw message.

configs/spring_defconfig +0 -1
index 47bc643..2495322 100644

Lines of this file are not shown. View the raw message.

configs/strider_con_defconfig +2 -1
index 74ef69e..59fdc7b 100644

Lines of this file are not shown. View the raw message.

configs/strider_cpu_defconfig +2 -1
index fc0a823..a0584b8 100644

Lines of this file are not shown. View the raw message.

configs/sunxi_Gemei_G9_defconfig +1 -0
index 6d39dec..0ae18b0 100644

Lines of this file are not shown. View the raw message.

configs/suvd3_defconfig +1 -0
index e477b0e..b0b8390 100644

Lines of this file are not shown. View the raw message.

configs/sycamore_defconfig +1 -0
index 844e67f..29b3d2b 100644

Lines of this file are not shown. View the raw message.

configs/t3corp_defconfig +1 -0
index c61508a..75eeda6 100644

Lines of this file are not shown. View the raw message.

configs/tao3530_defconfig +1 -0
index b2977f3..af4292b 100644

Lines of this file are not shown. View the raw message.

configs/tb100_defconfig +1 -0
index ca34bbb..27ea43f 100644

Lines of this file are not shown. View the raw message.

configs/tec-ng_defconfig +1 -0
index de74dc9..4f526e1 100644

Lines of this file are not shown. View the raw message.

configs/tec_defconfig +1 -0
index 2163ec8..787d961 100644

Lines of this file are not shown. View the raw message.

configs/thuban_defconfig +1 -0
index 6b8e6b1..78b1536 100644

Lines of this file are not shown. View the raw message.

configs/ti814x_evm_defconfig +1 -0
index 781e270..0c9a9d1 100644

Lines of this file are not shown. View the raw message.

configs/ti816x_evm_defconfig +1 -0
index 294d775..78f11f5 100644

Lines of this file are not shown. View the raw message.

configs/tricorder_defconfig +1 -0
index bc30837..c32ef86 100644

Lines of this file are not shown. View the raw message.

configs/tricorder_flash_defconfig +1 -0
index 4619fc9..1cf3928 100644

Lines of this file are not shown. View the raw message.

configs/trimslice_defconfig +1 -0
index 18292e2..316ed0c 100644

Lines of this file are not shown. View the raw message.

configs/tseries_mmc_defconfig +1 -0
index b4a4873..9286608 100644

Lines of this file are not shown. View the raw message.

configs/tseries_nand_defconfig +1 -0
index 8177a51..d074586 100644

Lines of this file are not shown. View the raw message.

configs/tseries_spi_defconfig +1 -0
index 1c2a0ba..d92c7ad 100644

Lines of this file are not shown. View the raw message.

configs/tuge1_defconfig +1 -0
index d4a422c..1030dc7 100644

Lines of this file are not shown. View the raw message.

configs/tuxx1_defconfig +1 -0
index c8db21a..7675fb3 100644

Lines of this file are not shown. View the raw message.

configs/twister_defconfig +1 -0
index b817a55..9a1f151 100644

Lines of this file are not shown. View the raw message.

configs/vct_platinum_defconfig +1 -0
index 0c30ae9..4b0b5b4 100644

Lines of this file are not shown. View the raw message.

configs/vct_platinum_onenand_defconfig +1 -0
index e26c2f6..62d8878 100644

Lines of this file are not shown. View the raw message.

configs/vct_platinum_onenand_small_defconfig +1 -0
index 47985cd..7b379be 100644

Lines of this file are not shown. View the raw message.

configs/vct_platinum_small_defconfig +1 -0
index f85d3f7..78d215d 100644

Lines of this file are not shown. View the raw message.

configs/vct_platinumavc_defconfig +1 -0
index 103434c..92a3027 100644

Lines of this file are not shown. View the raw message.

configs/vct_platinumavc_onenand_defconfig +1 -0
index e387b82..87767bd 100644

Lines of this file are not shown. View the raw message.

configs/vct_platinumavc_onenand_small_defconfig +1 -0
index 77dd414..be70588 100644

Lines of this file are not shown. View the raw message.

configs/vct_platinumavc_small_defconfig +1 -0
index 8fe82fc..b7e0a78 100644

Lines of this file are not shown. View the raw message.

configs/vct_premium_defconfig +1 -0
index 2ae4975..7ca6e34 100644

Lines of this file are not shown. View the raw message.

configs/vct_premium_onenand_defconfig +1 -0
index 9768dbc..88555d9 100644

Lines of this file are not shown. View the raw message.

configs/vct_premium_onenand_small_defconfig +1 -0
index ac6f422..a3a93b8 100644

Lines of this file are not shown. View the raw message.

configs/vct_premium_small_defconfig +1 -0
index 3297434..fddc04d 100644

Lines of this file are not shown. View the raw message.

configs/ve8313_defconfig +1 -0
index 627bb3c..5a8ba8e 100644

Lines of this file are not shown. View the raw message.

configs/venice2_defconfig +1 -0
index 263ec63..da76ee2 100644

Lines of this file are not shown. View the raw message.

configs/ventana_defconfig +1 -0
index 79c125e..4694307 100644

Lines of this file are not shown. View the raw message.

configs/vexpress_aemv8a_dram_defconfig +2 -2
index e9fc870..72d405f 100644

Lines of this file are not shown. View the raw message.

configs/vme8349_defconfig +1 -0
index 117a154..7a91da3 100644

Lines of this file are not shown. View the raw message.

configs/walnut_defconfig +1 -0
index 844e67f..29b3d2b 100644

Lines of this file are not shown. View the raw message.

configs/whistler_defconfig +1 -0
index 969f73c..8ae8950 100644

Lines of this file are not shown. View the raw message.

configs/work_92105_defconfig +1 -0
index 0169f30..a1c8b6f 100644

Lines of this file are not shown. View the raw message.

configs/xpedite1000_defconfig +1 -0
index 73d5ff2..3bccacb 100644

Lines of this file are not shown. View the raw message.

configs/xpedite517x_defconfig +1 -0
index 45d0ae1..07c4642 100644

Lines of this file are not shown. View the raw message.

configs/xpedite520x_defconfig +1 -0
index 797c166..6a25b47 100644

Lines of this file are not shown. View the raw message.

configs/xpedite537x_defconfig +1 -0
index 2db7f65..611f1b1 100644

Lines of this file are not shown. View the raw message.

configs/xpedite550x_defconfig +1 -0
index 2740957..8f6b433 100644

Lines of this file are not shown. View the raw message.

configs/yellowstone_defconfig +1 -0
index 7b1a630..7f4144c 100644

Lines of this file are not shown. View the raw message.

configs/yosemite_defconfig +1 -0
index 00ec425..cd852c2 100644

Lines of this file are not shown. View the raw message.

configs/yucca_defconfig +1 -0
index 6c8e20a..c3e7a7a 100644

Lines of this file are not shown. View the raw message.

configs/zynq_microzed_defconfig +0 -1
index 74ca3a9..650fc07 100644

Lines of this file are not shown. View the raw message.

configs/zynq_picozed_defconfig +0 -1
index 3a42efb..a10bc85 100644

Lines of this file are not shown. View the raw message.

configs/zynq_zc702_defconfig +0 -1
index 3e488be..66ddaa7 100644

Lines of this file are not shown. View the raw message.

configs/zynq_zc706_defconfig +0 -1
index edd3635..28ad34e 100644

Lines of this file are not shown. View the raw message.

configs/zynq_zc770_xm010_defconfig +0 -1
index 69a0a9c..97c107b 100644

Lines of this file are not shown. View the raw message.

configs/zynq_zc770_xm011_defconfig +0 -1
index 2a61fe3..accea08 100644

Lines of this file are not shown. View the raw message.

configs/zynq_zc770_xm012_defconfig +0 -1
index eb98a39..2155ca1 100644

Lines of this file are not shown. View the raw message.

configs/zynq_zc770_xm013_defconfig +0 -1
index 8d65c05..e25e327 100644

Lines of this file are not shown. View the raw message.

configs/zynq_zed_defconfig +0 -1
index df5e25a..d78a6da 100644

Lines of this file are not shown. View the raw message.

configs/zynq_zybo_defconfig +0 -1
index b7531d6..56fedcc 100644

Lines of this file are not shown. View the raw message.

drivers/serial/Kconfig +10 -0
index fe407b7..82ad90d 100644

Lines of this file are not shown. View the raw message.

include/configs/B4860QDS.h +0 -1
index c83e5ce..50a5751 100644

Lines of this file are not shown. View the raw message.

include/configs/BSC9131RDB.h +0 -1
index 2754016..7b34470 100644

Lines of this file are not shown. View the raw message.

include/configs/BSC9132QDS.h +0 -1
index 54dcf3b..a3a853d 100644

Lines of this file are not shown. View the raw message.

include/configs/C29XPCIE.h +0 -1
index 94f991b..9f86f1e 100644

Lines of this file are not shown. View the raw message.

include/configs/CPCI2DP.h +0 -1
index e00ab04..c3a7714 100644

Lines of this file are not shown. View the raw message.

include/configs/CPCI4052.h +0 -1
index 332a1df..1e5285c 100644

Lines of this file are not shown. View the raw message.

include/configs/MIP405.h +0 -1
index ec62c8a..b545c34 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8308RDB.h +0 -1
index 551b72d..87afa31 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8313ERDB.h +0 -1
index 7db67c2..1510786 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8315ERDB.h +0 -1
index eb50be6..ba952e3 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8323ERDB.h +0 -1
index 59d5e56..a1d45d8 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC832XEMDS.h +0 -1
index 5ab7d5f..b3322ae 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8349EMDS.h +0 -1
index 988a900..71dcc6c 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8349ITX.h +0 -1
index 091ca17..ded73b4 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC837XEMDS.h +0 -1
index 7d1262d..df47888 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC837XERDB.h +0 -1
index ab68e63..e77848e 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8536DS.h +0 -1
index 29c27fa..954ba3f 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8540ADS.h +0 -1
index 157ca69..921180f 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8541CDS.h +0 -1
index 68ea5d8..d5805c1 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8544DS.h +0 -1
index 166fcda..47e530b 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8548CDS.h +0 -1
index 517b449..a84ebfd 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8555CDS.h +0 -1
index 184f514..84b8174 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8568MDS.h +0 -1
index f6e43ce..03ba806 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8569MDS.h +0 -1
index 6f614b0..f86d10f 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8572DS.h +0 -1
index 19da477..e3a803e 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8610HPCD.h +0 -1
index 4ce04a8..8160b28 100644

Lines of this file are not shown. View the raw message.

include/configs/MPC8641HPCN.h +0 -1
index 6f1535e..71c4b8d 100644

Lines of this file are not shown. View the raw message.

include/configs/P1010RDB.h +0 -1
index 81b0855..49105dc 100644

Lines of this file are not shown. View the raw message.

include/configs/P1022DS.h +0 -1
index a9d825b..093f2e4 100644

Lines of this file are not shown. View the raw message.

include/configs/P1023RDB.h +0 -1
index 4d87198..bc479f6 100644

Lines of this file are not shown. View the raw message.

include/configs/P2041RDB.h +0 -1
index 2c4c8b5..a145714 100644

Lines of this file are not shown. View the raw message.

include/configs/PIP405.h +0 -1
index 45eecc4..1426849 100644

Lines of this file are not shown. View the raw message.

include/configs/PLU405.h +0 -1
index d668a15..4eb5fe1 100644

Lines of this file are not shown. View the raw message.

include/configs/PMC405DE.h +0 -1
index 0fdd7e2..ce0c49f 100644

Lines of this file are not shown. View the raw message.

include/configs/PMC440.h +0 -1
index 0227649..5488c68 100644

Lines of this file are not shown. View the raw message.

include/configs/T102xQDS.h +0 -1
index 52942ed..d3185fc 100644

Lines of this file are not shown. View the raw message.

include/configs/T102xRDB.h +0 -1
index 39fa5e2..ed4ad9a 100644

Lines of this file are not shown. View the raw message.

include/configs/T1040QDS.h +0 -1
index fc263df..b373ef7 100644

Lines of this file are not shown. View the raw message.

include/configs/T104xRDB.h +0 -1
index 840be04..da78b90 100644

Lines of this file are not shown. View the raw message.

include/configs/T208xQDS.h +0 -1
index a81f1e6..7aa916f 100644

Lines of this file are not shown. View the raw message.

include/configs/T208xRDB.h +0 -1
index 8b76234..db581ae 100644

Lines of this file are not shown. View the raw message.

include/configs/T4240RDB.h +0 -1
index 2e875d2..2cf1b4e 100644

Lines of this file are not shown. View the raw message.

include/configs/TQM834x.h +0 -1
index 0b046d1..5221fbb 100644

Lines of this file are not shown. View the raw message.

include/configs/UCP1020.h +0 -1
index 8611473..9d3d33c 100644

Lines of this file are not shown. View the raw message.

include/configs/VOM405.h +0 -1
index 60f266c..6cbf1b7 100644

Lines of this file are not shown. View the raw message.

include/configs/adp-ag101p.h +0 -1
index 849b08e..2499b39 100644

Lines of this file are not shown. View the raw message.

include/configs/am3517_crane.h +0 -1
index 0bf0af7..4ed8e00 100644

Lines of this file are not shown. View the raw message.

include/configs/am3517_evm.h +0 -1
index 9aa14f4..23457d6 100644

Lines of this file are not shown. View the raw message.

include/configs/am43xx_evm.h +0 -1
index 75b8f53..c1da750 100644

Lines of this file are not shown. View the raw message.

include/configs/amcc-common.h +0 -1
index e87c0cb..78d8044 100644

Lines of this file are not shown. View the raw message.

include/configs/axs101.h +0 -1
index 9a7e0dc..9e90b69 100644

Lines of this file are not shown. View the raw message.

include/configs/bcm28155_ap.h +0 -1
index 6ea6fb0..53c97d6 100644

Lines of this file are not shown. View the raw message.

include/configs/bcm_ep_board.h +0 -1
index c3ebb4d..305864f 100644

Lines of this file are not shown. View the raw message.

include/configs/bur_am335x_common.h +0 -1
index 1d96a2d..56492d1 100644

Lines of this file are not shown. View the raw message.

include/configs/calimain.h +0 -1
index a5b2f9e..33715a5 100644

Lines of this file are not shown. View the raw message.

include/configs/cm_t35.h +0 -1
index e951b2d..fc6f1b8 100644

Lines of this file are not shown. View the raw message.

include/configs/cm_t3517.h +0 -1
index 8a10e9c..f5feeb8 100644

Lines of this file are not shown. View the raw message.

include/configs/cm_t43.h +0 -1
index f8c39bf..02a1a76 100644

Lines of this file are not shown. View the raw message.

include/configs/controlcenterd.h +0 -1
index 600bb83..6eb1b52 100644

Lines of this file are not shown. View the raw message.

include/configs/corenet_ds.h +0 -1
index 9210216..12ada71 100644

Lines of this file are not shown. View the raw message.

include/configs/cyrus.h +0 -1
index 5d25fb1..848cec4 100644

Lines of this file are not shown. View the raw message.

include/configs/da850evm.h +0 -1
index 5aa643a..d90141c 100644

Lines of this file are not shown. View the raw message.

include/configs/ea20.h +0 -1
index b230d9c..6a2ff16 100644

Lines of this file are not shown. View the raw message.

include/configs/edminiv2.h +0 -1
index 7fb1894..1dfa721 100644

Lines of this file are not shown. View the raw message.

include/configs/efi-x86.h +0 -1
index 1c955d9..258a83f 100644

Lines of this file are not shown. View the raw message.

include/configs/gdppc440etx.h +0 -1
index b514278..8d79ea8 100644

Lines of this file are not shown. View the raw message.

include/configs/hrcon.h +0 -1
index 84d0928..801be68 100644

Lines of this file are not shown. View the raw message.

include/configs/ids8313.h +0 -1
index ecb7f10..0a5a9f1 100644

Lines of this file are not shown. View the raw message.

include/configs/ipam390.h +0 -1
index 583f7b3..3c4a70c 100644

Lines of this file are not shown. View the raw message.

include/configs/km/km83xx-common.h +0 -1
index cebe210..f3ab3c4 100644

Lines of this file are not shown. View the raw message.

include/configs/km/km_arm.h +0 -1
index b89af53..38e9350 100644

Lines of this file are not shown. View the raw message.

include/configs/km/kmp204x-common.h +0 -1
index 8a3c74e..8b75bb9 100644

Lines of this file are not shown. View the raw message.

include/configs/ls1021aqds.h +0 -1
index 562e78f..bf0614c 100644

Lines of this file are not shown. View the raw message.

include/configs/ls1021atwr.h +0 -1
index fdbbfc1..a5d5a3b 100644

Lines of this file are not shown. View the raw message.

include/configs/ls1043a_common.h +0 -1
index 1f22dd3..6b9856a 100644

Lines of this file are not shown. View the raw message.

include/configs/ls2085a_common.h +0 -1
index 0011e72..f9bca44 100644

Lines of this file are not shown. View the raw message.

include/configs/lwmon5.h +0 -1
index 66d9710..69172bb 100644

Lines of this file are not shown. View the raw message.

include/configs/malta.h +0 -1
index 4d3751a..3faac37 100644

Lines of this file are not shown. View the raw message.

include/configs/mcx.h +0 -1
index 6240666..a33c54f 100644

Lines of this file are not shown. View the raw message.

include/configs/microblaze-generic.h +0 -1
index 8ce1c49..9e8bef8 100644

Lines of this file are not shown. View the raw message.

include/configs/mpc8308_p1m.h +0 -1
index 1a627fc..a90083f 100644

Lines of this file are not shown. View the raw message.

include/configs/mv-common.h +0 -1
index 575e53e..2071cf5 100644

Lines of this file are not shown. View the raw message.

include/configs/neo.h +0 -1
index a60b3f7..bc01416 100644

Lines of this file are not shown. View the raw message.

include/configs/nokia_rx51.h +0 -1
index 52369be..812b676 100644

Lines of this file are not shown. View the raw message.

include/configs/omap3_evm_common.h +0 -1
index 7e7f6f2..2004d14 100644

Lines of this file are not shown. View the raw message.

include/configs/omapl138_lcdk.h +0 -1
index 80d57f4..c1f26c0 100644

Lines of this file are not shown. View the raw message.

include/configs/openrisc-generic.h +0 -1
index d53e419..c854189 100644

Lines of this file are not shown. View the raw message.

include/configs/p1_p2_rdb_pc.h +0 -1
index 433c409..381b176 100644

Lines of this file are not shown. View the raw message.

include/configs/p1_twr.h +0 -1
index d83daa0..d2af2a0 100644

Lines of this file are not shown. View the raw message.

include/configs/qemu-mips.h +0 -1
index 9395bda..5a043d5 100644

Lines of this file are not shown. View the raw message.

include/configs/qemu-mips64.h +0 -1
index 53ff802..070b5de 100644

Lines of this file are not shown. View the raw message.

include/configs/qemu-ppce500.h +0 -1
index f45789f..2dfea33 100644

Lines of this file are not shown. View the raw message.

include/configs/rk3288_common.h +0 -1
index 36408b9..d56886d 100644

Lines of this file are not shown. View the raw message.

include/configs/sbc8349.h +0 -1
index c8b14e9..25ec7bc 100644

Lines of this file are not shown. View the raw message.

include/configs/sbc8548.h +0 -1
index 1c309a4..9783804 100644

Lines of this file are not shown. View the raw message.

include/configs/sbc8641d.h +0 -1
index 0b22ce0..f88d685 100644

Lines of this file are not shown. View the raw message.

include/configs/siemens-am33x-common.h +0 -1
index 6c374eb..ccf4afb 100644

Lines of this file are not shown. View the raw message.

include/configs/sniper.h +0 -1
index 559311f..08046b5 100644

Lines of this file are not shown. View the raw message.

include/configs/socfpga_common.h +0 -1
index 3374683..f6808b5 100644

Lines of this file are not shown. View the raw message.

include/configs/socrates.h +0 -1
index 019cf30..f8bddca 100644

Lines of this file are not shown. View the raw message.

include/configs/strider.h +0 -1
index fb7b7f9..8771cdc 100644

Lines of this file are not shown. View the raw message.

include/configs/sunxi-common.h +0 -1
index 394fdb2..871e41b 100644

Lines of this file are not shown. View the raw message.

include/configs/t4qds.h +0 -1
index 5754369..5788a70 100644

Lines of this file are not shown. View the raw message.

include/configs/tam3517-common.h +0 -1
index f993433..d59fd98 100644

Lines of this file are not shown. View the raw message.

include/configs/tao3530.h +0 -1
index 97fe796..c1bd179 100644

Lines of this file are not shown. View the raw message.

include/configs/tb100.h +0 -1
index 0b9ad1c..8660ed4 100644

Lines of this file are not shown. View the raw message.

include/configs/tegra-common.h +0 -1
index cd84fd8..19de0e2 100644

Lines of this file are not shown. View the raw message.

include/configs/ti814x_evm.h +0 -1
index 7fa35a1..e726040 100644

Lines of this file are not shown. View the raw message.

include/configs/ti816x_evm.h +0 -1
index 01d8233..ba652ca 100644

Lines of this file are not shown. View the raw message.

include/configs/ti_am335x_common.h +0 -1
index 3beb9db..edbd820 100644

Lines of this file are not shown. View the raw message.

include/configs/ti_armv7_keystone2.h +0 -1
index 0d36e87..98e9282 100644

Lines of this file are not shown. View the raw message.

include/configs/ti_omap3_common.h +0 -1
index 4d53b4c..1c71cb6 100644

Lines of this file are not shown. View the raw message.

include/configs/ti_omap4_common.h +0 -1
index 4b7b493..08130eb 100644

Lines of this file are not shown. View the raw message.

include/configs/ti_omap5_common.h +0 -1
index 94d6ef0..2d492f8 100644

Lines of this file are not shown. View the raw message.

include/configs/tricorder.h +0 -1
index 0ab69e6..ca28e47 100644

Lines of this file are not shown. View the raw message.

include/configs/uniphier.h +0 -1
index 1e71703..0562598 100644

Lines of this file are not shown. View the raw message.

include/configs/vct.h +0 -1
index 92726c8..872f2f0 100644

Lines of this file are not shown. View the raw message.

include/configs/ve8313.h +0 -1
index f5df4fb..bc2d441 100644

Lines of this file are not shown. View the raw message.

include/configs/vme8349.h +0 -1
index 7f5f089..714ebee 100644

Lines of this file are not shown. View the raw message.

include/configs/x86-common.h +0 -1
index ab9fa0b..44c1317 100644

Lines of this file are not shown. View the raw message.

include/configs/xilinx-ppc.h +0 -1
index 1abd0ef..eb400d0 100644

Lines of this file are not shown. View the raw message.

include/configs/xpedite1000.h +0 -1
index 005f149..5bc926f 100644

Lines of this file are not shown. View the raw message.

include/configs/xpedite517x.h +0 -1
index 3e09635..96b357b 100644

Lines of this file are not shown. View the raw message.

include/configs/xpedite520x.h +0 -1
index 39bdb88..b2d6a1e 100644

Lines of this file are not shown. View the raw message.

include/configs/xpedite537x.h +0 -1
index c687555..8b4d4d9 100644

Lines of this file are not shown. View the raw message.

include/configs/xpedite550x.h +0 -1
index f971f8b..c7e25d9 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.5.0

Part of the diff is not shown here. View the raw message.

#54 lore raw

PATCH v2 13/13 nios2: 10m50: change to ns16550 uart

In reply to Thomas Chou

Change to ns16550 uart for 10m50 devboard based on a new Altera release.

---
 arch/nios2/dts/10m50_devboard.dts | 2 +-
 configs/10m50_defconfig           | 2 +-
 include/configs/10m50_devboard.h  | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
arch/nios2/dts/10m50_devboard.dts +1 -1
index e89dbb2..05eac30 100644
@@ -262,6 +262,6 @@
 
 	chosen {
 		bootargs = "debug console=ttyS0,115200";
-		stdout-path = &uart_0;
+		stdout-path = &a_16550_uart_0;
 	};
 };
configs/10m50_defconfig +1 -1
index af2cef7..9e858bc 100644
@@ -21,6 +21,6 @@ CONFIG_MTD=y
 CONFIG_ALTERA_QSPI=y
 CONFIG_DM_ETH=y
 CONFIG_ALTERA_TSE=y
-CONFIG_ALTERA_UART=y
+CONFIG_SYS_NS16550=y
 CONFIG_TIMER=y
 CONFIG_ALTERA_TIMER=y
include/configs/10m50_devboard.h +1 -0
index ab7dd08..715b1b4 100644
@@ -20,6 +20,7 @@
  */
 #define CONFIG_BAUDRATE			115200
 #define CONFIG_SYS_CONSOLE_INFO_QUIET	/* Suppress console info */
+#define CONFIG_SYS_NS16550_MEM32
 
 /*
  * Flash
Signature · 1 line
2.5.0
#55 lore raw

v3 cover ns16550: add generic binding to unify the drivers

In reply to Thomas Chou

Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific.

The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock().

v2
use default in driver Kconfig as suggested by Bin Meng. remove extra #ifdef CONFIG_NS16550_SERIAL.
zap CONFIG_NS16550_SERIAL.
move CONFIG_SYS_NS16550 to Kconfig.
v3
rebase to u-boot master.
change log message of "ns16550: change map_sysmem to map_physmem".

Thomas Chou (13):
debug_uart: restore ns16550 as default
ns16550: change map_sysmem to map_physmem
ns16550: add generic binding to unify the drivers
ns16550: unify serial_x86
ns16550: unify serial_ppc
ns16550: unify serial_rockchip
ns16550: unify serial_keystone
ns16550: unify serial_dw
ns16550: unify serial_tegra
ns16550: unify serial_omap
ns16550: zap CONFIG_NS16550_SERIAL
ns16550: move CONFIG_SYS_NS16550 to Kconfig
nios2: 10m50: change to ns16550 uart

 arch/arm/dts/rk3288.dtsi                           |  5 ++
 arch/arm/include/asm/arch-lpc32xx/config.h         |  1 -
 arch/arm/mach-rockchip/Kconfig                     |  3 --
 arch/arm/mach-tegra/board.c                        | 14 ++++++
 arch/nios2/dts/10m50_devboard.dts                  |  2 +-
 arch/powerpc/include/asm/config.h                  |  4 ++
 arch/x86/dts/serial.dtsi                           |  2 +-
 board/isee/igep00x0/igep00x0.c                     |  2 +-
 board/lge/sniper/sniper.c                          |  2 +-
 board/logicpd/omap3som/omap3logic.c                |  2 +-
 board/logicpd/zoom1/zoom1.c                        |  2 +-
 board/overo/overo.c                                |  2 +-
 board/quipos/cairo/cairo.c                         |  2 +-
 board/ti/beagle/beagle.c                           |  2 +-
 board/timll/devkit8000/devkit8000.c                |  2 +-
 configs/10m50_defconfig                            |  2 +-
 configs/A10-OLinuXino-Lime_defconfig               |  1 +
 configs/A10s-OLinuXino-M_defconfig                 |  1 +
 configs/A13-OLinuXinoM_defconfig                   |  1 +
 configs/A13-OLinuXino_defconfig                    |  4 +-
 configs/A20-OLinuXino-Lime2_defconfig              |  1 +
 configs/A20-OLinuXino-Lime_defconfig               |  1 +
 configs/A20-OLinuXino_MICRO_defconfig              |  1 +
 configs/A20-Olimex-SOM-EVB_defconfig               |  1 +
 configs/Ainol_AW1_defconfig                        |  1 +
 configs/Ampe_A76_defconfig                         |  1 +
 configs/Auxtek-T003_defconfig                      |  1 +
 configs/Auxtek-T004_defconfig                      |  1 +
 configs/B4420QDS_NAND_defconfig                    |  1 +
 configs/B4420QDS_SPIFLASH_defconfig                |  1 +
 configs/B4420QDS_defconfig                         |  1 +
 configs/B4860QDS_NAND_defconfig                    |  1 +
 configs/B4860QDS_SECURE_BOOT_defconfig             |  1 +
 configs/B4860QDS_SPIFLASH_defconfig                |  1 +
 configs/B4860QDS_SRIO_PCIE_BOOT_defconfig          |  1 +
 configs/B4860QDS_defconfig                         |  1 +
 configs/BSC9131RDB_NAND_SYSCLK100_defconfig        |  1 +
 configs/BSC9131RDB_NAND_defconfig                  |  1 +
 configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig    |  1 +
 configs/BSC9131RDB_SPIFLASH_defconfig              |  1 +
 configs/BSC9132QDS_NAND_DDRCLK100_SECURE_defconfig |  1 +
 configs/BSC9132QDS_NAND_DDRCLK100_defconfig        |  1 +
 configs/BSC9132QDS_NAND_DDRCLK133_SECURE_defconfig |  1 +
 configs/BSC9132QDS_NAND_DDRCLK133_defconfig        |  1 +
 configs/BSC9132QDS_NOR_DDRCLK100_SECURE_defconfig  |  1 +
 configs/BSC9132QDS_NOR_DDRCLK100_defconfig         |  1 +
 configs/BSC9132QDS_NOR_DDRCLK133_SECURE_defconfig  |  1 +
 configs/BSC9132QDS_NOR_DDRCLK133_defconfig         |  1 +
 .../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig   |  1 +
 configs/BSC9132QDS_SDCARD_DDRCLK100_defconfig      |  1 +
 .../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig   |  1 +
 configs/BSC9132QDS_SDCARD_DDRCLK133_defconfig      |  1 +
 .../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig |  1 +
 configs/BSC9132QDS_SPIFLASH_DDRCLK100_defconfig    |  1 +
 .../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig |  1 +
 configs/BSC9132QDS_SPIFLASH_DDRCLK133_defconfig    |  1 +
 configs/Bananapi_defconfig                         |  1 +
 configs/Bananapro_defconfig                        |  1 +
 configs/C29XPCIE_NAND_defconfig                    |  1 +
 configs/C29XPCIE_NOR_SECBOOT_defconfig             |  1 +
 configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig        |  1 +
 configs/C29XPCIE_SPIFLASH_defconfig                |  1 +
 configs/C29XPCIE_defconfig                         |  1 +
 configs/CHIP_defconfig                             |  1 +
 configs/CPCI2DP_defconfig                          |  1 +
 configs/CPCI4052_defconfig                         |  1 +
 configs/CSQ_CS908_defconfig                        |  1 +
 configs/Chuwi_V7_CW0825_defconfig                  |  1 +
 configs/Colombus_defconfig                         |  1 +
 configs/Cubieboard2_defconfig                      |  1 +
 configs/Cubieboard_defconfig                       |  1 +
 configs/Cubietruck_defconfig                       |  8 ++--
 configs/Cyrus_P5020_defconfig                      |  1 +
 configs/Cyrus_P5040_defconfig                      |  1 +
 configs/Hummingbird_A31_defconfig                  |  1 +
 configs/Hyundai_A7HD_defconfig                     |  1 +
 configs/Linksprite_pcDuino3_Nano_defconfig         |  1 +
 configs/Linksprite_pcDuino3_defconfig              |  1 +
 configs/Linksprite_pcDuino_defconfig               |  1 +
 configs/MIP405T_defconfig                          |  1 +
 configs/MIP405_defconfig                           |  1 +
 configs/MK808C_defconfig                           |  1 +
 configs/MPC8308RDB_defconfig                       |  1 +
 configs/MPC8313ERDB_33_defconfig                   |  1 +
 configs/MPC8313ERDB_66_defconfig                   |  1 +
 configs/MPC8313ERDB_NAND_33_defconfig              |  1 +
 configs/MPC8313ERDB_NAND_66_defconfig              |  1 +
 configs/MPC8315ERDB_defconfig                      |  1 +
 configs/MPC8323ERDB_defconfig                      |  1 +
 configs/MPC832XEMDS_ATM_defconfig                  |  1 +
 configs/MPC832XEMDS_HOST_33_defconfig              |  1 +
 configs/MPC832XEMDS_HOST_66_defconfig              |  1 +
 configs/MPC832XEMDS_SLAVE_defconfig                |  1 +
 configs/MPC832XEMDS_defconfig                      |  1 +
 configs/MPC8349EMDS_defconfig                      |  1 +
 configs/MPC8349ITXGP_defconfig                     |  1 +
 configs/MPC8349ITX_LOWBOOT_defconfig               |  1 +
 configs/MPC8349ITX_defconfig                       |  1 +
 configs/MPC837XEMDS_HOST_defconfig                 |  1 +
 configs/MPC837XEMDS_defconfig                      |  1 +
 configs/MPC837XERDB_defconfig                      |  1 +
 configs/MPC8536DS_36BIT_defconfig                  |  1 +
 configs/MPC8536DS_SDCARD_defconfig                 |  1 +
 configs/MPC8536DS_SPIFLASH_defconfig               |  1 +
 configs/MPC8536DS_defconfig                        |  1 +
 configs/MPC8540ADS_defconfig                       |  1 +
 configs/MPC8541CDS_defconfig                       |  1 +
 configs/MPC8541CDS_legacy_defconfig                |  1 +
 configs/MPC8544DS_defconfig                        |  1 +
 configs/MPC8548CDS_36BIT_defconfig                 |  1 +
 configs/MPC8548CDS_defconfig                       |  1 +
 configs/MPC8548CDS_legacy_defconfig                |  1 +
 configs/MPC8555CDS_defconfig                       |  1 +
 configs/MPC8555CDS_legacy_defconfig                |  1 +
 configs/MPC8568MDS_defconfig                       |  1 +
 configs/MPC8569MDS_ATM_defconfig                   |  1 +
 configs/MPC8569MDS_defconfig                       |  1 +
 configs/MPC8572DS_36BIT_defconfig                  |  1 +
 configs/MPC8572DS_defconfig                        |  1 +
 configs/MPC8610HPCD_defconfig                      |  1 +
 configs/MPC8641HPCN_36BIT_defconfig                |  1 +
 configs/MPC8641HPCN_defconfig                      |  1 +
 configs/MSI_Primo73_defconfig                      |  1 +
 configs/MSI_Primo81_defconfig                      |  1 +
 configs/Marsboard_A10_defconfig                    |  1 +
 configs/Mele_A1000G_quad_defconfig                 |  1 +
 configs/Mele_A1000_defconfig                       |  1 +
 configs/Mele_I7_defconfig                          |  1 +
 configs/Mele_M3_defconfig                          |  1 +
 configs/Mele_M5_defconfig                          |  1 +
 configs/Mele_M9_defconfig                          |  1 +
 configs/Merrii_A80_Optimus_defconfig               |  1 +
 configs/Mini-X_defconfig                           |  1 +
 configs/Orangepi_defconfig                         |  1 +
 configs/Orangepi_mini_defconfig                    |  1 +
 configs/P1010RDB-PA_36BIT_NAND_SECBOOT_defconfig   |  1 +
 configs/P1010RDB-PA_36BIT_NAND_defconfig           |  1 +
 configs/P1010RDB-PA_36BIT_NOR_SECBOOT_defconfig    |  1 +
 configs/P1010RDB-PA_36BIT_NOR_defconfig            |  1 +
 configs/P1010RDB-PA_36BIT_SDCARD_defconfig         |  1 +
 .../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig   |  1 +
 configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig       |  1 +
 configs/P1010RDB-PA_NAND_SECBOOT_defconfig         |  1 +
 configs/P1010RDB-PA_NAND_defconfig                 |  1 +
 configs/P1010RDB-PA_NOR_SECBOOT_defconfig          |  1 +
 configs/P1010RDB-PA_NOR_defconfig                  |  1 +
 configs/P1010RDB-PA_SDCARD_defconfig               |  1 +
 configs/P1010RDB-PA_SPIFLASH_SECBOOT_defconfig     |  1 +
 configs/P1010RDB-PA_SPIFLASH_defconfig             |  1 +
 configs/P1010RDB-PB_36BIT_NAND_SECBOOT_defconfig   |  1 +
 configs/P1010RDB-PB_36BIT_NAND_defconfig           |  1 +
 configs/P1010RDB-PB_36BIT_NOR_SECBOOT_defconfig    |  1 +
 configs/P1010RDB-PB_36BIT_NOR_defconfig            |  1 +
 configs/P1010RDB-PB_36BIT_SDCARD_defconfig         |  1 +
 .../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig   |  1 +
 configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig       |  1 +
 configs/P1010RDB-PB_NAND_SECBOOT_defconfig         |  1 +
 configs/P1010RDB-PB_NAND_defconfig                 |  1 +
 configs/P1010RDB-PB_NOR_SECBOOT_defconfig          |  1 +
 configs/P1010RDB-PB_NOR_defconfig                  |  1 +
 configs/P1010RDB-PB_SDCARD_defconfig               |  1 +
 configs/P1010RDB-PB_SPIFLASH_SECBOOT_defconfig     |  1 +
 configs/P1010RDB-PB_SPIFLASH_defconfig             |  1 +
 configs/P1020MBG-PC_36BIT_SDCARD_defconfig         |  1 +
 configs/P1020MBG-PC_36BIT_defconfig                |  1 +
 configs/P1020MBG-PC_SDCARD_defconfig               |  1 +
 configs/P1020MBG-PC_defconfig                      |  1 +
 configs/P1020RDB-PC_36BIT_NAND_defconfig           |  1 +
 configs/P1020RDB-PC_36BIT_SDCARD_defconfig         |  1 +
 configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig       |  1 +
 configs/P1020RDB-PC_36BIT_defconfig                |  1 +
 configs/P1020RDB-PC_NAND_defconfig                 |  1 +
 configs/P1020RDB-PC_SDCARD_defconfig               |  1 +
 configs/P1020RDB-PC_SPIFLASH_defconfig             |  1 +
 configs/P1020RDB-PC_defconfig                      |  1 +
 configs/P1020RDB-PD_NAND_defconfig                 |  1 +
 configs/P1020RDB-PD_SDCARD_defconfig               |  1 +
 configs/P1020RDB-PD_SPIFLASH_defconfig             |  1 +
 configs/P1020RDB-PD_defconfig                      |  1 +
 configs/P1020UTM-PC_36BIT_SDCARD_defconfig         |  1 +
 configs/P1020UTM-PC_36BIT_defconfig                |  1 +
 configs/P1020UTM-PC_SDCARD_defconfig               |  1 +
 configs/P1020UTM-PC_defconfig                      |  1 +
 configs/P1021RDB-PC_36BIT_NAND_defconfig           |  1 +
 configs/P1021RDB-PC_36BIT_SDCARD_defconfig         |  1 +
 configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig       |  1 +
 configs/P1021RDB-PC_36BIT_defconfig                |  1 +
 configs/P1021RDB-PC_NAND_defconfig                 |  1 +
 configs/P1021RDB-PC_SDCARD_defconfig               |  1 +
 configs/P1021RDB-PC_SPIFLASH_defconfig             |  1 +
 configs/P1021RDB-PC_defconfig                      |  1 +
 configs/P1022DS_36BIT_NAND_defconfig               |  1 +
 configs/P1022DS_36BIT_SDCARD_defconfig             |  1 +
 configs/P1022DS_36BIT_SPIFLASH_defconfig           |  1 +
 configs/P1022DS_36BIT_defconfig                    |  1 +
 configs/P1022DS_NAND_defconfig                     |  1 +
 configs/P1022DS_SDCARD_defconfig                   |  1 +
 configs/P1022DS_SPIFLASH_defconfig                 |  1 +
 configs/P1022DS_defconfig                          |  1 +
 configs/P1023RDB_defconfig                         |  1 +
 configs/P1024RDB_36BIT_defconfig                   |  1 +
 configs/P1024RDB_NAND_defconfig                    |  1 +
 configs/P1024RDB_SDCARD_defconfig                  |  1 +
 configs/P1024RDB_SPIFLASH_defconfig                |  1 +
 configs/P1024RDB_defconfig                         |  1 +
 configs/P1025RDB_36BIT_defconfig                   |  1 +
 configs/P1025RDB_NAND_defconfig                    |  1 +
 configs/P1025RDB_SDCARD_defconfig                  |  1 +
 configs/P1025RDB_SPIFLASH_defconfig                |  1 +
 configs/P1025RDB_defconfig                         |  1 +
 configs/P2020RDB-PC_36BIT_NAND_defconfig           |  1 +
 configs/P2020RDB-PC_36BIT_SDCARD_defconfig         |  1 +
 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig       |  1 +
 configs/P2020RDB-PC_36BIT_defconfig                |  1 +
 configs/P2020RDB-PC_NAND_defconfig                 |  1 +
 configs/P2020RDB-PC_SDCARD_defconfig               |  1 +
 configs/P2020RDB-PC_SPIFLASH_defconfig             |  1 +
 configs/P2020RDB-PC_defconfig                      |  1 +
 configs/P2041RDB_NAND_defconfig                    |  1 +
 configs/P2041RDB_SDCARD_defconfig                  |  1 +
 configs/P2041RDB_SECURE_BOOT_defconfig             |  1 +
 configs/P2041RDB_SPIFLASH_defconfig                |  1 +
 configs/P2041RDB_SRIO_PCIE_BOOT_defconfig          |  1 +
 configs/P2041RDB_defconfig                         |  1 +
 configs/P3041DS_NAND_SECURE_BOOT_defconfig         |  1 +
 configs/P3041DS_NAND_defconfig                     |  1 +
 configs/P3041DS_SDCARD_defconfig                   |  1 +
 configs/P3041DS_SECURE_BOOT_defconfig              |  1 +
 configs/P3041DS_SPIFLASH_defconfig                 |  1 +
 configs/P3041DS_SRIO_PCIE_BOOT_defconfig           |  1 +
 configs/P3041DS_defconfig                          |  1 +
 configs/P4080DS_SDCARD_defconfig                   |  1 +
 configs/P4080DS_SECURE_BOOT_defconfig              |  1 +
 configs/P4080DS_SPIFLASH_defconfig                 |  1 +
 configs/P4080DS_SRIO_PCIE_BOOT_defconfig           |  1 +
 configs/P4080DS_defconfig                          |  1 +
 configs/P5020DS_NAND_SECURE_BOOT_defconfig         |  1 +
 configs/P5020DS_NAND_defconfig                     |  1 +
 configs/P5020DS_SDCARD_defconfig                   |  1 +
 configs/P5020DS_SECURE_BOOT_defconfig              |  1 +
 configs/P5020DS_SPIFLASH_defconfig                 |  1 +
 configs/P5020DS_SRIO_PCIE_BOOT_defconfig           |  1 +
 configs/P5020DS_defconfig                          |  1 +
 configs/P5040DS_NAND_SECURE_BOOT_defconfig         |  1 +
 configs/P5040DS_NAND_defconfig                     |  1 +
 configs/P5040DS_SDCARD_defconfig                   |  1 +
 configs/P5040DS_SECURE_BOOT_defconfig              |  1 +
 configs/P5040DS_SPIFLASH_defconfig                 |  1 +
 configs/P5040DS_defconfig                          |  1 +
 configs/PIP405_defconfig                           |  1 +
 configs/PLU405_defconfig                           |  1 +
 configs/PMC405DE_defconfig                         |  1 +
 configs/PMC440_defconfig                           |  1 +
 configs/Sinlinx_SinA33_defconfig                   |  1 +
 configs/Sinovoip_BPI_M2_defconfig                  |  1 +
 configs/T1023RDB_NAND_defconfig                    |  1 +
 configs/T1023RDB_SDCARD_defconfig                  |  1 +
 configs/T1023RDB_SECURE_BOOT_defconfig             |  1 +
 configs/T1023RDB_SPIFLASH_defconfig                |  1 +
 configs/T1023RDB_defconfig                         |  1 +
 configs/T1024QDS_DDR4_SECURE_BOOT_defconfig        |  1 +
 configs/T1024QDS_DDR4_defconfig                    |  1 +
 configs/T1024QDS_NAND_defconfig                    |  1 +
 configs/T1024QDS_SDCARD_defconfig                  |  1 +
 configs/T1024QDS_SECURE_BOOT_defconfig             |  1 +
 configs/T1024QDS_SPIFLASH_defconfig                |  1 +
 configs/T1024QDS_defconfig                         |  1 +
 configs/T1024RDB_NAND_defconfig                    |  1 +
 configs/T1024RDB_SDCARD_defconfig                  |  1 +
 configs/T1024RDB_SECURE_BOOT_defconfig             |  1 +
 configs/T1024RDB_SPIFLASH_defconfig                |  1 +
 configs/T1024RDB_defconfig                         |  1 +
 configs/T1040D4RDB_NAND_defconfig                  |  1 +
 configs/T1040D4RDB_SDCARD_defconfig                |  1 +
 configs/T1040D4RDB_SECURE_BOOT_defconfig           |  1 +
 configs/T1040D4RDB_SPIFLASH_defconfig              |  1 +
 configs/T1040D4RDB_defconfig                       |  1 +
 configs/T1040QDS_DDR4_defconfig                    |  1 +
 configs/T1040QDS_SECURE_BOOT_defconfig             |  1 +
 configs/T1040QDS_defconfig                         |  1 +
 configs/T1040RDB_NAND_defconfig                    |  1 +
 configs/T1040RDB_SDCARD_defconfig                  |  1 +
 configs/T1040RDB_SECURE_BOOT_defconfig             |  1 +
 configs/T1040RDB_SPIFLASH_defconfig                |  1 +
 configs/T1040RDB_defconfig                         |  1 +
 configs/T1042D4RDB_NAND_defconfig                  |  1 +
 configs/T1042D4RDB_SDCARD_defconfig                |  1 +
 configs/T1042D4RDB_SECURE_BOOT_defconfig           |  1 +
 configs/T1042D4RDB_SPIFLASH_defconfig              |  1 +
 configs/T1042D4RDB_defconfig                       |  1 +
 configs/T1042RDB_PI_NAND_defconfig                 |  1 +
 configs/T1042RDB_PI_SDCARD_defconfig               |  1 +
 configs/T1042RDB_PI_SPIFLASH_defconfig             |  1 +
 configs/T1042RDB_PI_defconfig                      |  1 +
 configs/T1042RDB_SECURE_BOOT_defconfig             |  1 +
 configs/T1042RDB_defconfig                         |  1 +
 configs/T2080QDS_NAND_defconfig                    |  1 +
 configs/T2080QDS_SDCARD_defconfig                  |  1 +
 configs/T2080QDS_SECURE_BOOT_defconfig             |  1 +
 configs/T2080QDS_SPIFLASH_defconfig                |  1 +
 configs/T2080QDS_SRIO_PCIE_BOOT_defconfig          |  1 +
 configs/T2080QDS_defconfig                         |  1 +
 configs/T2080RDB_NAND_defconfig                    |  1 +
 configs/T2080RDB_SDCARD_defconfig                  |  1 +
 configs/T2080RDB_SECURE_BOOT_defconfig             |  1 +
 configs/T2080RDB_SPIFLASH_defconfig                |  1 +
 configs/T2080RDB_SRIO_PCIE_BOOT_defconfig          |  1 +
 configs/T2080RDB_defconfig                         |  1 +
 configs/T2081QDS_NAND_defconfig                    |  1 +
 configs/T2081QDS_SDCARD_defconfig                  |  1 +
 configs/T2081QDS_SPIFLASH_defconfig                |  1 +
 configs/T2081QDS_SRIO_PCIE_BOOT_defconfig          |  1 +
 configs/T2081QDS_defconfig                         |  1 +
 configs/T4160QDS_NAND_defconfig                    |  1 +
 configs/T4160QDS_SDCARD_defconfig                  |  1 +
 configs/T4160QDS_SECURE_BOOT_defconfig             |  1 +
 configs/T4160QDS_defconfig                         |  1 +
 configs/T4160RDB_defconfig                         |  1 +
 configs/T4240QDS_NAND_defconfig                    |  1 +
 configs/T4240QDS_SDCARD_defconfig                  |  1 +
 configs/T4240QDS_SECURE_BOOT_defconfig             |  1 +
 configs/T4240QDS_SRIO_PCIE_BOOT_defconfig          |  1 +
 configs/T4240QDS_defconfig                         |  1 +
 configs/T4240RDB_SDCARD_defconfig                  |  1 +
 configs/T4240RDB_defconfig                         |  1 +
 configs/TQM834x_defconfig                          |  1 +
 configs/TWR-P1025_defconfig                        |  1 +
 configs/UCP1020_SPIFLASH_defconfig                 |  1 +
 configs/UCP1020_defconfig                          |  1 +
 configs/UTOO_P66_defconfig                         |  1 +
 configs/VOM405_defconfig                           |  1 +
 configs/Wexler_TAB7200_defconfig                   |  1 +
 configs/Wits_Pro_A20_DKT_defconfig                 |  1 +
 configs/Wobo_i5_defconfig                          |  1 +
 configs/Yones_Toptech_BD1078_defconfig             |  1 +
 configs/acadia_defconfig                           |  1 +
 configs/adp-ag101p_defconfig                       |  1 +
 configs/am335x_baltos_defconfig                    |  1 +
 configs/am335x_boneblack_defconfig                 |  1 +
 configs/am335x_boneblack_vboot_defconfig           |  1 +
 configs/am335x_evm_defconfig                       |  1 +
 configs/am335x_evm_nor_defconfig                   |  1 +
 configs/am335x_evm_norboot_defconfig               |  1 +
 configs/am335x_evm_spiboot_defconfig               |  1 +
 configs/am335x_evm_usbspl_defconfig                |  1 +
 configs/am335x_gp_evm_defconfig                    |  1 +
 configs/am335x_igep0033_defconfig                  |  1 +
 configs/am335x_sl50_defconfig                      |  1 +
 configs/am3517_crane_defconfig                     |  1 +
 configs/am3517_evm_defconfig                       |  1 +
 configs/am437x_gp_evm_defconfig                    |  1 +
 configs/am437x_sk_evm_defconfig                    |  1 +
 configs/am43xx_evm_defconfig                       |  1 +
 configs/am43xx_evm_ethboot_defconfig               |  1 +
 configs/am43xx_evm_qspiboot_defconfig              |  1 +
 configs/am43xx_evm_usbhost_boot_defconfig          |  1 +
 configs/am57xx_evm_defconfig                       |  1 +
 configs/am57xx_evm_nodt_defconfig                  |  1 +
 configs/apalis_t30_defconfig                       |  1 +
 configs/arches_defconfig                           |  1 +
 configs/aspenite_defconfig                         |  1 +
 configs/axs101_defconfig                           |  1 +
 configs/axs103_defconfig                           |  1 +
 configs/ba10_tv_box_defconfig                      |  1 +
 configs/bamboo_defconfig                           |  1 +
 configs/bayleybay_defconfig                        |  1 +
 configs/bcm11130_defconfig                         |  1 +
 configs/bcm11130_nand_defconfig                    |  1 +
 configs/bcm28155_ap_defconfig                      |  1 +
 configs/bcm28155_w1d_defconfig                     |  1 +
 configs/bcm911360_entphn-ns_defconfig              |  1 +
 configs/bcm911360_entphn_defconfig                 |  1 +
 configs/bcm911360k_defconfig                       |  1 +
 configs/bcm958300k-ns_defconfig                    |  1 +
 configs/bcm958300k_defconfig                       |  1 +
 configs/bcm958305k_defconfig                       |  1 +
 configs/bcm958622hr_defconfig                      |  1 +
 configs/beaver_defconfig                           |  1 +
 configs/bf527-ezkit_defconfig                      |  2 +-
 configs/birdland_bav335a_defconfig                 |  1 +
 configs/birdland_bav335b_defconfig                 |  1 +
 configs/bubinga_defconfig                          |  1 +
 configs/caddy2_defconfig                           |  1 +
 configs/cairo_defconfig                            |  1 +
 configs/calimain_defconfig                         |  1 +
 configs/canyonlands_defconfig                      |  1 +
 configs/cardhu_defconfig                           |  1 +
 configs/chromebook_jerry_defconfig                 |  1 +
 configs/chromebook_link_defconfig                  |  2 +-
 configs/chromebox_panther_defconfig                |  1 +
 configs/cm_t335_defconfig                          |  1 +
 configs/cm_t3517_defconfig                         |  1 +
 configs/cm_t35_defconfig                           |  1 +
 configs/cm_t43_defconfig                           |  1 +
 configs/cm_t54_defconfig                           |  1 +
 configs/colibri_t20_defconfig                      |  1 +
 configs/colibri_t30_defconfig                      |  1 +
 .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  |  1 +
 configs/controlcenterd_36BIT_SDCARD_defconfig      |  1 +
 .../controlcenterd_TRAILBLAZER_DEVELOP_defconfig   |  1 +
 configs/controlcenterd_TRAILBLAZER_defconfig       |  1 +
 configs/coreboot-x86_defconfig                     |  1 +
 configs/crownbay_defconfig                         |  1 +
 configs/d2net_v2_defconfig                         |  1 +
 configs/da850_am18xxevm_defconfig                  |  1 +
 configs/da850evm_defconfig                         |  1 +
 configs/da850evm_direct_nor_defconfig              |  1 +
 configs/dalmore_defconfig                          |  1 +
 configs/db-88f6820-gp_defconfig                    |  1 +
 configs/db-mv784mp-gp_defconfig                    |  1 +
 configs/devconcenter_defconfig                     |  1 +
 configs/devkit3250_defconfig                       |  1 +
 configs/devkit8000_defconfig                       |  1 +
 configs/dlvision-10g_defconfig                     |  1 +
 configs/dlvision_defconfig                         |  1 +
 configs/dns325_defconfig                           |  1 +
 configs/dockstar_defconfig                         |  1 +
 configs/dra72_evm_defconfig                        |  1 +
 configs/dra74_evm_defconfig                        |  1 +
 configs/dra7xx_evm_defconfig                       |  1 +
 configs/dra7xx_evm_qspiboot_defconfig              |  1 +
 configs/dra7xx_evm_uart3_defconfig                 |  1 +
 configs/draco_defconfig                            |  1 +
 configs/dreamplug_defconfig                        |  9 ++--
 configs/duovero_defconfig                          |  1 +
 configs/e2220-1170_defconfig                       |  1 +
 configs/ea20_defconfig                             |  1 +
 configs/eco5pk_defconfig                           |  1 +
 configs/edminiv2_defconfig                         |  1 +
 configs/efi-x86_defconfig                          |  1 -
 configs/firefly-rk3288_defconfig                   |  1 +
 configs/fx12mm_defconfig                           |  1 +
 configs/fx12mm_flash_defconfig                     |  1 +
 configs/ga10h_v1_1_defconfig                       |  1 +
 configs/galileo_defconfig                          |  1 +
 configs/gdppc440etx_defconfig                      |  1 +
 configs/glacier_defconfig                          |  1 +
 configs/glacier_ramboot_defconfig                  |  1 +
 configs/goflexhome_defconfig                       |  1 +
 configs/gplugd_defconfig                           |  1 +
 configs/gt90h_v4_defconfig                         |  1 +
 configs/guruplug_defconfig                         |  7 +--
 configs/haleakala_defconfig                        |  1 +
 configs/harmony_defconfig                          |  1 +
 configs/hrcon_defconfig                            |  1 +
 configs/hrcon_dh_defconfig                         |  4 +-
 configs/i12-tvbox_defconfig                        |  1 +
 configs/iNet_3F_defconfig                          |  1 +
 configs/iNet_3W_defconfig                          |  1 +
 configs/iNet_86VS_defconfig                        |  1 +
 configs/ib62x0_defconfig                           |  7 +--
 configs/icon_defconfig                             |  1 +
 configs/iconnect_defconfig                         |  1 +
 configs/ids8313_defconfig                          |  1 +
 configs/igep0020_defconfig                         |  1 +
 configs/igep0020_nand_defconfig                    |  1 +
 configs/igep0030_defconfig                         |  1 +
 configs/igep0030_nand_defconfig                    |  1 +
 configs/igep0032_defconfig                         |  1 +
 configs/inet1_defconfig                            |  1 +
 configs/inet97fv2_defconfig                        |  1 +
 configs/inet98v_rev2_defconfig                     |  1 +
 configs/inet9f_rev03_defconfig                     |  1 +
 configs/inetspace_v2_defconfig                     |  1 +
 configs/intip_defconfig                            |  1 +
 configs/io64_defconfig                             |  1 +
 configs/io_defconfig                               |  1 +
 configs/iocon_defconfig                            |  1 +
 configs/ipam390_defconfig                          |  1 +
 configs/jesurun_q5_defconfig                       |  1 +
 configs/jetson-tk1_defconfig                       |  1 +
 configs/k2e_evm_defconfig                          |  1 +
 configs/k2g_evm_defconfig                          |  1 +
 configs/k2hk_evm_defconfig                         |  1 +
 configs/k2l_evm_defconfig                          |  1 +
 configs/katmai_defconfig                           |  1 +
 configs/kilauea_defconfig                          |  1 +
 configs/km_kirkwood_128m16_defconfig               |  1 +
 configs/km_kirkwood_defconfig                      |  1 +
 configs/km_kirkwood_pci_defconfig                  |  1 +
 configs/kmcoge4_defconfig                          |  1 +
 configs/kmcoge5ne_defconfig                        |  1 +
 configs/kmcoge5un_defconfig                        |  1 +
 configs/kmeter1_defconfig                          |  1 +
 configs/kmlion1_defconfig                          |  1 +
 configs/kmnusa_defconfig                           |  1 +
 configs/kmopti2_defconfig                          |  1 +
 configs/kmsugp1_defconfig                          |  1 +
 configs/kmsupx5_defconfig                          |  1 +
 configs/kmsuv31_defconfig                          |  1 +
 configs/kmtegr1_defconfig                          |  3 +-
 configs/kmtepr2_defconfig                          |  3 +-
 configs/kmvect1_defconfig                          |  1 +
 configs/kwb_defconfig                              |  1 +
 configs/ls1021aqds_ddr4_nor_defconfig              |  1 +
 configs/ls1021aqds_nand_defconfig                  |  1 +
 configs/ls1021aqds_nor_SECURE_BOOT_defconfig       |  1 +
 configs/ls1021aqds_nor_defconfig                   |  1 +
 configs/ls1021aqds_qspi_defconfig                  |  1 +
 configs/ls1021aqds_sdcard_defconfig                |  1 +
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig       |  1 +
 configs/ls1021atwr_nor_defconfig                   |  1 +
 configs/ls1021atwr_qspi_defconfig                  |  1 +
 configs/ls1021atwr_sdcard_ifc_defconfig            |  1 +
 configs/ls1021atwr_sdcard_qspi_defconfig           |  1 +
 configs/ls1043ardb_defconfig                       |  1 +
 configs/ls1043ardb_nand_defconfig                  |  1 +
 configs/ls1043ardb_sdcard_defconfig                |  1 +
 configs/ls2085a_emu_defconfig                      |  1 +
 configs/ls2085a_simu_defconfig                     |  1 +
 configs/ls2085aqds_defconfig                       |  1 +
 configs/ls2085aqds_nand_defconfig                  |  1 +
 configs/ls2085ardb_defconfig                       |  1 +
 configs/ls2085ardb_nand_defconfig                  |  1 +
 configs/lschlv2_defconfig                          |  1 +
 configs/lsxhl_defconfig                            |  1 +
 configs/luan_defconfig                             |  1 +
 configs/lwmon5_defconfig                           |  1 +
 configs/makalu_defconfig                           |  1 +
 configs/malta_defconfig                            |  1 +
 configs/maltael_defconfig                          |  1 +
 configs/maxbcm_defconfig                           |  1 +
 configs/mcx_defconfig                              |  1 +
 configs/medcom-wide_defconfig                      |  1 +
 configs/mgcoge3un_defconfig                        |  1 +
 configs/minnowmax_defconfig                        |  2 +-
 configs/mixtile_loftq_defconfig                    |  1 +
 configs/mk802_a10s_defconfig                       |  1 +
 configs/mk802_defconfig                            |  1 +
 configs/mk802ii_defconfig                          |  1 +
 configs/mpc8308_p1m_defconfig                      |  1 +
 configs/mt_ventoux_defconfig                       |  1 +
 configs/nas220_defconfig                           |  1 +
 configs/neo_defconfig                              |  1 +
 configs/net2big_v2_defconfig                       |  1 +
 configs/netspace_lite_v2_defconfig                 |  1 +
 configs/netspace_max_v2_defconfig                  |  1 +
 configs/netspace_mini_v2_defconfig                 |  1 +
 configs/netspace_v2_defconfig                      |  1 +
 configs/nokia_rx51_defconfig                       |  1 +
 configs/nyan-big_defconfig                         |  1 +
 configs/omap3_beagle_defconfig                     |  1 +
 configs/omap3_evm_defconfig                        |  1 +
 configs/omap3_evm_quick_mmc_defconfig              |  1 +
 configs/omap3_evm_quick_nand_defconfig             |  1 +
 configs/omap3_ha_defconfig                         |  1 +
 configs/omap3_logic_defconfig                      |  1 +
 configs/omap3_overo_defconfig                      |  1 +
 configs/omap3_pandora_defconfig                    |  1 +
 configs/omap3_zoom1_defconfig                      |  1 +
 configs/omap4_panda_defconfig                      |  1 +
 configs/omap4_sdp4430_defconfig                    |  1 +
 configs/omap5_uevm_defconfig                       |  1 +
 configs/omapl138_lcdk_defconfig                    |  1 +
 configs/openrd_base_defconfig                      |  1 +
 configs/openrd_client_defconfig                    |  1 +
 configs/openrd_ultimate_defconfig                  |  1 +
 configs/openrisc-generic_defconfig                 |  1 +
 configs/p2371-0000_defconfig                       |  1 +
 configs/p2371-2180_defconfig                       |  1 +
 configs/p2571_defconfig                            |  1 +
 configs/paz00_defconfig                            |  1 +
 configs/pcm051_rev1_defconfig                      |  1 +
 configs/pcm051_rev3_defconfig                      |  1 +
 configs/pengwyn_defconfig                          |  1 +
 configs/pepper_defconfig                           |  1 +
 configs/plutux_defconfig                           |  1 +
 configs/pogo_e02_defconfig                         |  1 +
 configs/portl2_defconfig                           |  1 +
 configs/pov_protab2_ips9_defconfig                 |  1 +
 configs/pxm2_defconfig                             |  1 +
 configs/q8_a13_tablet_defconfig                    |  1 +
 configs/q8_a23_tablet_800x480_defconfig            |  1 +
 configs/q8_a33_tablet_1024x600_defconfig           |  1 +
 configs/q8_a33_tablet_800x480_defconfig            |  1 +
 configs/qemu-ppce500_defconfig                     |  1 +
 configs/qemu-x86_defconfig                         |  1 +
 configs/qemu_mips64_defconfig                      |  1 +
 configs/qemu_mips64el_defconfig                    |  1 +
 configs/qemu_mips_defconfig                        |  1 +
 configs/qemu_mipsel_defconfig                      |  1 +
 configs/r7-tv-dongle_defconfig                     |  1 +
 configs/rainier_defconfig                          |  1 +
 configs/rainier_ramboot_defconfig                  |  1 +
 configs/rastaban_defconfig                         |  1 +
 configs/redwood_defconfig                          |  1 +
 configs/rut_defconfig                              |  1 +
 configs/sbc8349_PCI_33_defconfig                   |  1 +
 configs/sbc8349_PCI_66_defconfig                   |  1 +
 configs/sbc8349_defconfig                          |  1 +
 configs/sbc8548_PCI_33_PCIE_defconfig              |  1 +
 configs/sbc8548_PCI_33_defconfig                   |  1 +
 configs/sbc8548_PCI_66_PCIE_defconfig              |  1 +
 configs/sbc8548_PCI_66_defconfig                   |  1 +
 configs/sbc8548_defconfig                          |  1 +
 configs/sbc8641d_defconfig                         |  1 +
 configs/seaboard_defconfig                         |  1 +
 configs/sequoia_defconfig                          |  1 +
 configs/sequoia_ramboot_defconfig                  |  1 +
 configs/sheevaplug_defconfig                       |  7 +--
 configs/sniper_defconfig                           |  1 +
 configs/socfpga_arria5_defconfig                   |  1 +
 configs/socfpga_cyclone5_defconfig                 |  1 +
 configs/socfpga_de0_nano_soc_defconfig             |  1 +
 configs/socfpga_mcvevk_defconfig                   |  1 +
 configs/socfpga_sockit_defconfig                   |  1 +
 configs/socfpga_socrates_defconfig                 |  1 +
 configs/socrates_defconfig                         |  1 +
 configs/strider_con_defconfig                      |  3 +-
 configs/strider_cpu_defconfig                      |  3 +-
 configs/sunxi_Gemei_G9_defconfig                   |  1 +
 configs/suvd3_defconfig                            |  1 +
 configs/sycamore_defconfig                         |  1 +
 configs/t3corp_defconfig                           |  1 +
 configs/tao3530_defconfig                          |  1 +
 configs/tb100_defconfig                            |  1 +
 configs/tec-ng_defconfig                           |  1 +
 configs/tec_defconfig                              |  1 +
 configs/thuban_defconfig                           |  1 +
 configs/ti814x_evm_defconfig                       |  1 +
 configs/ti816x_evm_defconfig                       |  1 +
 configs/tricorder_defconfig                        |  1 +
 configs/tricorder_flash_defconfig                  |  1 +
 configs/trimslice_defconfig                        |  1 +
 configs/tseries_mmc_defconfig                      |  1 +
 configs/tseries_nand_defconfig                     |  1 +
 configs/tseries_spi_defconfig                      |  1 +
 configs/tuge1_defconfig                            |  1 +
 configs/tuxx1_defconfig                            |  1 +
 configs/twister_defconfig                          |  1 +
 configs/vct_platinum_defconfig                     |  1 +
 configs/vct_platinum_onenand_defconfig             |  1 +
 configs/vct_platinum_onenand_small_defconfig       |  1 +
 configs/vct_platinum_small_defconfig               |  1 +
 configs/vct_platinumavc_defconfig                  |  1 +
 configs/vct_platinumavc_onenand_defconfig          |  1 +
 configs/vct_platinumavc_onenand_small_defconfig    |  1 +
 configs/vct_platinumavc_small_defconfig            |  1 +
 configs/vct_premium_defconfig                      |  1 +
 configs/vct_premium_onenand_defconfig              |  1 +
 configs/vct_premium_onenand_small_defconfig        |  1 +
 configs/vct_premium_small_defconfig                |  1 +
 configs/ve8313_defconfig                           |  1 +
 configs/venice2_defconfig                          |  1 +
 configs/ventana_defconfig                          |  1 +
 configs/vme8349_defconfig                          |  1 +
 configs/walnut_defconfig                           |  1 +
 configs/whistler_defconfig                         |  1 +
 configs/work_92105_defconfig                       |  1 +
 configs/xpedite1000_defconfig                      |  1 +
 configs/xpedite517x_defconfig                      |  1 +
 configs/xpedite520x_defconfig                      |  1 +
 configs/xpedite537x_defconfig                      |  1 +
 configs/xpedite550x_defconfig                      |  1 +
 configs/yellowstone_defconfig                      |  1 +
 configs/yosemite_defconfig                         |  1 +
 configs/yucca_defconfig                            |  1 +
 drivers/serial/Kconfig                             | 26 ++++-------
 drivers/serial/Makefile                            |  7 ---
 drivers/serial/ns16550.c                           | 45 ++++++++++++++++--
 drivers/serial/serial_dw.c                         | 39 ----------------
 drivers/serial/serial_keystone.c                   | 48 -------------------
 drivers/serial/serial_omap.c                       | 54 ----------------------
 drivers/serial/serial_ppc.c                        | 40 ----------------
 drivers/serial/serial_rockchip.c                   | 43 -----------------
 drivers/serial/serial_tegra.c                      | 54 ----------------------
 drivers/serial/serial_x86.c                        | 44 ------------------
 include/configs/10m50_devboard.h                   |  1 +
 include/configs/B4860QDS.h                         |  1 -
 include/configs/BSC9131RDB.h                       |  1 -
 include/configs/BSC9132QDS.h                       |  1 -
 include/configs/C29XPCIE.h                         |  1 -
 include/configs/CPCI2DP.h                          |  1 -
 include/configs/CPCI4052.h                         |  1 -
 include/configs/MIP405.h                           |  1 -
 include/configs/MPC8308RDB.h                       |  1 -
 include/configs/MPC8313ERDB.h                      |  1 -
 include/configs/MPC8315ERDB.h                      |  1 -
 include/configs/MPC8323ERDB.h                      |  1 -
 include/configs/MPC832XEMDS.h                      |  1 -
 include/configs/MPC8349EMDS.h                      |  1 -
 include/configs/MPC8349ITX.h                       |  1 -
 include/configs/MPC837XEMDS.h                      |  1 -
 include/configs/MPC837XERDB.h                      |  1 -
 include/configs/MPC8536DS.h                        |  1 -
 include/configs/MPC8540ADS.h                       |  1 -
 include/configs/MPC8541CDS.h                       |  1 -
 include/configs/MPC8544DS.h                        |  1 -
 include/configs/MPC8548CDS.h                       |  1 -
 include/configs/MPC8555CDS.h                       |  1 -
 include/configs/MPC8568MDS.h                       |  1 -
 include/configs/MPC8569MDS.h                       |  1 -
 include/configs/MPC8572DS.h                        |  1 -
 include/configs/MPC8610HPCD.h                      |  1 -
 include/configs/MPC8641HPCN.h                      |  1 -
 include/configs/P1010RDB.h                         |  1 -
 include/configs/P1022DS.h                          |  1 -
 include/configs/P1023RDB.h                         |  1 -
 include/configs/P2041RDB.h                         |  1 -
 include/configs/PIP405.h                           |  1 -
 include/configs/PLU405.h                           |  1 -
 include/configs/PMC405DE.h                         |  1 -
 include/configs/PMC440.h                           |  1 -
 include/configs/T102xQDS.h                         |  1 -
 include/configs/T102xRDB.h                         |  1 -
 include/configs/T1040QDS.h                         |  1 -
 include/configs/T104xRDB.h                         |  1 -
 include/configs/T208xQDS.h                         |  1 -
 include/configs/T208xRDB.h                         |  1 -
 include/configs/T4240RDB.h                         |  1 -
 include/configs/TQM834x.h                          |  1 -
 include/configs/UCP1020.h                          |  1 -
 include/configs/VOM405.h                           |  1 -
 include/configs/adp-ag101p.h                       |  1 -
 include/configs/am3517_crane.h                     |  1 -
 include/configs/am3517_evm.h                       |  1 -
 include/configs/am43xx_evm.h                       |  5 +-
 include/configs/amcc-common.h                      |  1 -
 include/configs/axs101.h                           |  1 -
 include/configs/bcm28155_ap.h                      |  1 -
 include/configs/bcm_ep_board.h                     |  1 -
 include/configs/bur_am335x_common.h                |  1 -
 include/configs/calimain.h                         |  1 -
 include/configs/cm_t35.h                           |  1 -
 include/configs/cm_t3517.h                         |  1 -
 include/configs/cm_t43.h                           |  2 -
 include/configs/controlcenterd.h                   |  1 -
 include/configs/corenet_ds.h                       |  1 -
 include/configs/cyrus.h                            |  1 -
 include/configs/da850evm.h                         |  1 -
 include/configs/ea20.h                             |  1 -
 include/configs/edminiv2.h                         |  1 -
 include/configs/efi-x86.h                          |  1 -
 include/configs/gdppc440etx.h                      |  1 -
 include/configs/hrcon.h                            |  1 -
 include/configs/ids8313.h                          |  1 -
 include/configs/ipam390.h                          |  1 -
 include/configs/km/km83xx-common.h                 |  1 -
 include/configs/km/km_arm.h                        |  1 -
 include/configs/km/kmp204x-common.h                |  1 -
 include/configs/ls1021aqds.h                       |  1 -
 include/configs/ls1021atwr.h                       |  1 -
 include/configs/ls1043a_common.h                   |  1 -
 include/configs/ls2085a_common.h                   |  1 -
 include/configs/lwmon5.h                           |  1 -
 include/configs/malta.h                            |  1 -
 include/configs/mcx.h                              |  1 -
 include/configs/microblaze-generic.h               |  1 -
 include/configs/mpc8308_p1m.h                      |  1 -
 include/configs/mv-common.h                        |  5 --
 include/configs/neo.h                              |  1 -
 include/configs/nokia_rx51.h                       |  1 -
 include/configs/omap3_evm_common.h                 |  1 -
 include/configs/omap3_pandora.h                    |  2 +-
 include/configs/omapl138_lcdk.h                    |  1 -
 include/configs/openrisc-generic.h                 |  1 -
 include/configs/p1_p2_rdb_pc.h                     |  1 -
 include/configs/p1_twr.h                           |  1 -
 include/configs/qemu-mips.h                        |  1 -
 include/configs/qemu-mips64.h                      |  1 -
 include/configs/qemu-ppce500.h                     |  1 -
 include/configs/rk3288_common.h                    |  1 -
 include/configs/sbc8349.h                          |  1 -
 include/configs/sbc8548.h                          |  1 -
 include/configs/sbc8641d.h                         |  1 -
 include/configs/siemens-am33x-common.h             |  1 -
 include/configs/sniper.h                           |  7 +--
 include/configs/socfpga_common.h                   |  1 -
 include/configs/socrates.h                         |  1 -
 include/configs/strider.h                          |  1 -
 include/configs/sunxi-common.h                     |  5 +-
 include/configs/t4qds.h                            |  1 -
 include/configs/tam3517-common.h                   |  1 -
 include/configs/tao3530.h                          |  1 -
 include/configs/tb100.h                            |  2 -
 include/configs/tegra-common.h                     |  3 +-
 include/configs/ti814x_evm.h                       |  1 -
 include/configs/ti816x_evm.h                       |  1 -
 include/configs/ti_am335x_common.h                 |  5 --
 include/configs/ti_armv7_keystone2.h               |  3 --
 include/configs/ti_omap3_common.h                  |  7 +--
 include/configs/ti_omap4_common.h                  |  5 +-
 include/configs/ti_omap5_common.h                  |  5 +-
 include/configs/tricorder.h                        |  1 -
 include/configs/uniphier.h                         |  1 -
 include/configs/vct.h                              |  1 -
 include/configs/ve8313.h                           |  1 -
 include/configs/vme8349.h                          |  1 -
 include/configs/x86-common.h                       |  1 -
 include/configs/xilinx-ppc.h                       |  1 -
 include/configs/xpedite1000.h                      |  1 -
 include/configs/xpedite517x.h                      |  1 -
 include/configs/xpedite520x.h                      |  1 -
 include/configs/xpedite537x.h                      |  1 -
 include/configs/xpedite550x.h                      |  1 -
 795 files changed, 757 insertions(+), 554 deletions(-)
 delete mode 100644 drivers/serial/serial_dw.c
 delete mode 100644 drivers/serial/serial_keystone.c
 delete mode 100644 drivers/serial/serial_omap.c
 delete mode 100644 drivers/serial/serial_ppc.c
 delete mode 100644 drivers/serial/serial_rockchip.c
 delete mode 100644 drivers/serial/serial_tegra.c
 delete mode 100644 drivers/serial/serial_x86.c
Signature · 1 line
2.5.0
#56 lore raw

PATCH v3 1/13 debug_uart: restore ns16550 as default

Since commit 220e8021af96 ("nios2: convert altera_jtag_uart to driver model"), the default debug uart was changed. Most people use ns16550 UART, so restore it as default.

---
 drivers/serial/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/serial/Kconfig +1 -0
index eba96f4..2a50771 100644
@@ -53,6 +53,7 @@ config DEBUG_UART
 choice
 	prompt "Select which UART will provide the debug UART"
 	depends on DEBUG_UART
+	default DEBUG_UART_NS16550
 
 config DEBUG_UART_ALTERA_JTAGUART
 	bool "Altera JTAG UART"
Signature · 1 line
2.5.0
#57 lore raw

PATCH v3 1/13 debug_uart: restore ns16550 as default

Quoted 10 lines · Thomas Chou

Since commit 220e8021af96 ("nios2: convert altera_jtag_uart to driver model"), the default debug uart was changed. Most people use ns16550 UART, so restore it as default.

Quoted 3 lines
---
 drivers/serial/Kconfig | 1 +
 1 file changed, 1 insertion(+)
#58 lore raw

PATCH v3 1/13 debug_uart: restore ns16550 as default

In reply to Thomas Chou
Quoted 11 lines · Thomas Chou

Since commit 220e8021af96 ("nios2: convert altera_jtag_uart to driver model"), the default debug uart was changed. Most people use ns16550 UART, so restore it as default.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151122/0b00ef30/attachment.sig>
#59 lore raw

PATCH v3 2/13 ns16550: change map_sysmem to map_physmem

In reply to Thomas Chou

Change map_sysmem() to map_physmem(,,MAP_NOCACHE). Though map_sysmem() can be used to map system memory, it might be wrong to use it for I/O ports. The map_physmem() serves the same purpose to translate physical address to virtual address with the additional flag to take care of cache property. Most drivers use map_physmem() since I/O ports access should be uncached. As ns16550 is a driver, it should use map_physmem() rather than map_sysmem().

---
 drivers/serial/ns16550.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/serial/ns16550.c +2 -3
index 6433844..8d028de 100644
@@ -8,7 +8,6 @@
 #include <dm.h>
 #include <errno.h>
 #include <fdtdec.h>
-#include <mapmem.h>
 #include <ns16550.h>
 #include <serial.h>
 #include <watchdog.h>
@@ -97,7 +96,7 @@ static void ns16550_writeb(NS16550_t port, int offset, int value)
 	unsigned char *addr;
 
 	offset *= 1 << plat->reg_shift;
-	addr = map_sysmem(plat->base, 0) + offset;
+	addr = map_physmem(plat->base, 0, MAP_NOCACHE) + offset;
 	/*
 	 * As far as we know it doesn't make sense to support selection of
 	 * these options at run-time, so use the existing CONFIG options.
@@ -111,7 +110,7 @@ static int ns16550_readb(NS16550_t port, int offset)
 	unsigned char *addr;
 
 	offset *= 1 << plat->reg_shift;
-	addr = map_sysmem(plat->base, 0) + offset;
+	addr = map_physmem(plat->base, 0, MAP_NOCACHE) + offset;
 
 	return serial_in_shift(addr, plat->reg_shift);
 }
Signature · 1 line
2.5.0
#60 lore raw

PATCH v3 2/13 ns16550: change map_sysmem to map_physmem

Quoted 8 lines · Thomas Chou

Change map_sysmem() to map_physmem(,,MAP_NOCACHE). Though map_sysmem() can be used to map system memory, it might be wrong to use it for I/O ports. The map_physmem() serves the same purpose to translate physical address to virtual address with the additional flag to take care of cache property. Most drivers use map_physmem() since I/O ports access should be uncached. As ns16550 is a driver, it should use map_physmem() rather than map_sysmem().

Quoted 4 lines
---
 drivers/serial/ns16550.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
#61 lore raw

PATCH v3 2/13 ns16550: change map_sysmem to map_physmem

In reply to Thomas Chou
Quoted 10 lines · Thomas Chou

Change map_sysmem() to map_physmem(,,MAP_NOCACHE). Though map_sysmem() can be used to map system memory, it might be wrong to use it for I/O ports. The map_physmem() serves the same purpose to translate physical address to virtual address with the additional flag to take care of cache property. Most drivers use map_physmem() since I/O ports access should be uncached. As ns16550 is a driver, it should use map_physmem() rather than map_sysmem().

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151122/aaf809b5/attachment.sig>
#62 lore raw

PATCH v3 3/13 ns16550: add generic binding to unify the drivers

In reply to Thomas Chou

Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific.

The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock().

---
 drivers/serial/Kconfig   | 11 +++++++++++
 drivers/serial/ns16550.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)
drivers/serial/Kconfig +11 -0
index 2a50771..0f0e92d 100644
@@ -195,6 +195,17 @@ config ROCKCHIP_SERIAL
 	  your board config header. The clock input is automatically set to
 	  use the oscillator (24MHz).
 
+config NS16550_SERIAL
+	bool "NS16550 UART or compatible"
+	depends on DM_SERIAL
+	help
+	  Support NS16550 UART or compatible with driver model. 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
drivers/serial/ns16550.c +44 -0

60 lines not on this page · raw message

Signature · 1 line
2.5.0
#63 lore raw

PATCH v3 3/13 ns16550: add generic binding to unify the drivers

Quoted 12 lines · Thomas Chou

Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific.

The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock().

Quoted 8 lines
---
 drivers/serial/Kconfig   | 11 +++++++++++
 drivers/serial/ns16550.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)
#64 lore raw

PATCH v3 3/13 ns16550: add generic binding to unify the drivers

In reply to Thomas Chou
Quoted 12 lines · Thomas Chou

Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific.

The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock().

Quoted 5 lines

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151122/81cb73b2/attachment.sig>
#65 lore raw

PATCH v3 4/13 ns16550: unify serial_x86

In reply to Thomas Chou

Unify serial_x86, and use the generic binding.

---
 arch/x86/dts/serial.dtsi    |  2 +-
 configs/efi-x86_defconfig   |  2 +-
 drivers/serial/Kconfig      | 11 +----------
 drivers/serial/Makefile     |  1 -
 drivers/serial/serial_x86.c | 44 --------------------------------------------
 5 files changed, 3 insertions(+), 57 deletions(-)
 delete mode 100644 drivers/serial/serial_x86.c
arch/x86/dts/serial.dtsi +1 -1
index 6865eed..54c3faf 100644
@@ -1,6 +1,6 @@
 / {
 	serial: serial {
-		compatible = "x86-uart";
+		compatible = "ns16550";
 		reg = <0x3f8 8>;
 		reg-shift = <0>;
 		clock-frequency = <1843200>;
configs/efi-x86_defconfig +1 -1
index fa53e4a..ffbb879 100644
@@ -3,6 +3,7 @@ CONFIG_VENDOR_EFI=y
 CONFIG_DEFAULT_DEVICE_TREE="efi"
 CONFIG_TARGET_EFI=y
 CONFIG_TSC_CALIBRATION_BYPASS=y
+# CONFIG_NS16550_SERIAL is not set
 # CONFIG_CMD_BOOTM is not set
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_NET is not set
@@ -13,5 +14,4 @@ CONFIG_DEBUG_UART=y
 CONFIG_DEBUG_EFI_CONSOLE=y
 CONFIG_DEBUG_UART_BASE=0
 CONFIG_DEBUG_UART_CLOCK=0
-# CONFIG_X86_SERIAL is not set
 CONFIG_EFI=y
drivers/serial/Kconfig +1 -10
index 0f0e92d..93faa4c 100644
@@ -198,6 +198,7 @@ config ROCKCHIP_SERIAL
 config NS16550_SERIAL
 	bool "NS16550 UART or compatible"
 	depends on DM_SERIAL
+	default y if X86
 	help
 	  Support NS16550 UART or compatible with driver model. This can be
 	  enabled in the device tree with the correct input clock frequency.
@@ -233,14 +234,4 @@ config UNIPHIER_SERIAL
 	  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.
-
 endmenu
drivers/serial/Makefile +0 -1
index 1818c7c..9036a8e 100644
@@ -46,7 +46,6 @@ obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
 obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
 obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
-obj-$(CONFIG_X86_SERIAL) += serial_x86.o
 obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
 
 ifndef CONFIG_SPL_BUILD
drivers/serial/serial_x86.c deleted +0 -44

44 lines not on this page · raw message

Signature · 1 line
2.5.0
#66 lore raw

PATCH v3 4/13 ns16550: unify serial_x86

Quoted 5 lines · Thomas Chou

Unify serial_x86, and use the generic binding.

Quoted 8 lines
---
 arch/x86/dts/serial.dtsi    |  2 +-
 configs/efi-x86_defconfig   |  2 +-
 drivers/serial/Kconfig      | 11 +----------
 drivers/serial/Makefile     |  1 -
 drivers/serial/serial_x86.c | 44 --------------------------------------------
 5 files changed, 3 insertions(+), 57 deletions(-)
 delete mode 100644 drivers/serial/serial_x86.c
#67 lore raw

PATCH v3 4/13 ns16550: unify serial_x86

In reply to Thomas Chou
Quoted 6 lines · Thomas Chou

Unify serial_x86, and use the generic binding.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151122/5f53fcff/attachment.sig>
#68 lore raw

PATCH v3 5/13 ns16550: unify serial_ppc

In reply to Thomas Chou

Unify serial_ppc, and use the generic binding.

---
 arch/powerpc/include/asm/config.h |  4 ++++
 drivers/serial/Kconfig            |  2 +-
 drivers/serial/Makefile           |  1 -
 drivers/serial/serial_ppc.c       | 40 ---------------------------------------
 4 files changed, 5 insertions(+), 42 deletions(-)
 delete mode 100644 drivers/serial/serial_ppc.c
arch/powerpc/include/asm/config.h +4 -0
index 65496d0..7391066 100644
@@ -104,4 +104,8 @@
 /* All PPC boards must swap IDE bytes */
 #define CONFIG_IDE_SWAP_IO
 
+#if defined(CONFIG_DM_SERIAL)
+#define CONFIG_SYS_NS16550_CLK		get_serial_clock()
+#endif
+
 #endif /* _ASM_CONFIG_H_ */
drivers/serial/Kconfig +1 -1
index 93faa4c..b41f508 100644
@@ -198,7 +198,7 @@ config ROCKCHIP_SERIAL
 config NS16550_SERIAL
 	bool "NS16550 UART or compatible"
 	depends on DM_SERIAL
-	default y if X86
+	default y if X86 || PPC
 	help
 	  Support NS16550 UART or compatible with driver model. This can be
 	  enabled in the device tree with the correct input clock frequency.
drivers/serial/Makefile +0 -1
index 9036a8e..9f61113 100644
@@ -8,7 +8,6 @@
 ifdef CONFIG_DM_SERIAL
 obj-y += serial-uclass.o
 obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o
-obj-$(CONFIG_PPC) += serial_ppc.o
 else
 obj-y += serial.o
 obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
drivers/serial/serial_ppc.c deleted +0 -40
deleted file mode 100644
index 47141c6..0000000
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2014 Google, Inc
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <dm.h>
-#include <ns16550.h>
-#include <serial.h>
-
-static const struct udevice_id ppc_serial_ids[] = {
-	{ .compatible = "ns16550" },
-	{ }
-};
-
-static int ppc_serial_ofdata_to_platdata(struct udevice *dev)
-{
-	struct ns16550_platdata *plat = dev_get_platdata(dev);
-	int ret;
-
-	ret = ns16550_serial_ofdata_to_platdata(dev);
-	if (ret)
-		return ret;
-	plat->clock = get_serial_clock();
-
-	return 0;
-}
-
-U_BOOT_DRIVER(serial_ns16550) = {
-	.name	= "serial_ppc",
-	.id	= UCLASS_SERIAL,
-	.of_match = ppc_serial_ids,
-	.ofdata_to_platdata = ppc_serial_ofdata_to_platdata,
-	.platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
-	.priv_auto_alloc_size = sizeof(struct NS16550),
-	.probe = ns16550_serial_probe,
-	.ops	= &ns16550_serial_ops,
-	.flags	= DM_FLAG_PRE_RELOC,
-};
Signature · 1 line
2.5.0
#69 lore raw

PATCH v3 5/13 ns16550: unify serial_ppc

Hi Thomas,

Quoted 71 lines · Thomas Chou

Unify serial_ppc, and use the generic binding.

---
 arch/powerpc/include/asm/config.h |  4 ++++
 drivers/serial/Kconfig            |  2 +-
 drivers/serial/Makefile           |  1 -
 drivers/serial/serial_ppc.c       | 40 ---------------------------------------
 4 files changed, 5 insertions(+), 42 deletions(-)
 delete mode 100644 drivers/serial/serial_ppc.c
arch/powerpc/include/asm/config.h +4 -0
index 65496d0..7391066 100644
@@ -104,4 +104,8 @@
 /* All PPC boards must swap IDE bytes */
 #define CONFIG_IDE_SWAP_IO
 
+#if defined(CONFIG_DM_SERIAL)
+#define CONFIG_SYS_NS16550_CLK         get_serial_clock()
+#endif
+
 #endif /* _ASM_CONFIG_H_ */
drivers/serial/Kconfig +1 -1
index 93faa4c..b41f508 100644
@@ -198,7 +198,7 @@ config ROCKCHIP_SERIAL
 config NS16550_SERIAL
        bool "NS16550 UART or compatible"
        depends on DM_SERIAL
-       default y if X86
+       default y if X86 || PPC
        help
          Support NS16550 UART or compatible with driver model. This can be
          enabled in the device tree with the correct input clock frequency.
drivers/serial/Makefile +0 -1
index 9036a8e..9f61113 100644
@@ -8,7 +8,6 @@
 ifdef CONFIG_DM_SERIAL
 obj-y += serial-uclass.o
 obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o
-obj-$(CONFIG_PPC) += serial_ppc.o
 else
 obj-y += serial.o
 obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
drivers/serial/serial_ppc.c deleted +0 -15
deleted file mode 100644
index 47141c6..0000000
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2014 Google, Inc
- *
- * SPDX-License-Identifier:    GPL-2.0+
- */
-
-#include <common.h>
-#include <dm.h>
-#include <ns16550.h>
-#include <serial.h>
-
-static const struct udevice_id ppc_serial_ids[] = {
-       { .compatible = "ns16550" },
-       { }
-};

drivers/serial/serial_ppc.c line 25

Quoted 10 lines
drivers/serial/serial_ppc.c deleted +0 -10
-
-static int ppc_serial_ofdata_to_platdata(struct udevice *dev)
-{
-       struct ns16550_platdata *plat = dev_get_platdata(dev);
-       int ret;
-
-       ret = ns16550_serial_ofdata_to_platdata(dev);
-       if (ret)
-               return ret;
-       plat->clock = get_serial_clock();

You are dropping this call. We certainly don't want it for driver model, but I suspect it will break some PPC boards if they don't have the clock-frequency in the device tree. Do they?

Quoted 16 lines
drivers/serial/serial_ppc.c deleted +0 -16
-
-       return 0;
-}
-
-U_BOOT_DRIVER(serial_ns16550) = {
-       .name   = "serial_ppc",
-       .id     = UCLASS_SERIAL,
-       .of_match = ppc_serial_ids,
-       .ofdata_to_platdata = ppc_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
-       .priv_auto_alloc_size = sizeof(struct NS16550),
-       .probe = ns16550_serial_probe,
-       .ops    = &ns16550_serial_ops,
-       .flags  = DM_FLAG_PRE_RELOC,
-};
--
Quoted 2 lines

2.5.0

Regards,
Simon

#70 lore raw

PATCH v3 5/13 ns16550: unify serial_ppc

Hi Simon,

Quoted 23 lines · Simon Glass

Hi Thomas,

Quoted 20 lines · Thomas Chou

Unify serial_ppc, and use the generic binding.

---
  arch/powerpc/include/asm/config.h |  4 ++++
  drivers/serial/Kconfig            |  2 +-
  drivers/serial/Makefile           |  1 -
  drivers/serial/serial_ppc.c       | 40 ---------------------------------------
  4 files changed, 5 insertions(+), 42 deletions(-)

delete mode 100644 drivers/serial/serial_ppc.c

arch/powerpc/include/asm/config.h +0 -0
index 65496d0..7391066 100644
@@ -104,4 +104,8 @@
  /* All PPC boards must swap IDE bytes */
  #define CONFIG_IDE_SWAP_IO
 
Quoted 4 lines

arch/powerpc/include/asm/config.h line 110

Quoted 4 lines
arch/powerpc/include/asm/config.h +4 -0
+#if defined(CONFIG_DM_SERIAL)
+#define CONFIG_SYS_NS16550_CLK         get_serial_clock()
+#endif
+

I move the get_serial_clock here.

Quoted 53 lines
Quoted 53 lines
arch/powerpc/include/asm/config.h +0 -0
  #endif /* _ASM_CONFIG_H_ */
drivers/serial/Kconfig +1 -1
index 93faa4c..b41f508 100644
@@ -198,7 +198,7 @@ config ROCKCHIP_SERIAL
  config NS16550_SERIAL
         bool "NS16550 UART or compatible"
         depends on DM_SERIAL
-       default y if X86
+       default y if X86 || PPC
         help
           Support NS16550 UART or compatible with driver model. This can be
           enabled in the device tree with the correct input clock frequency.
drivers/serial/Makefile +0 -1
index 9036a8e..9f61113 100644
@@ -8,7 +8,6 @@
  ifdef CONFIG_DM_SERIAL
  obj-y += serial-uclass.o
  obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o
-obj-$(CONFIG_PPC) += serial_ppc.o
  else
  obj-y += serial.o
  obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
drivers/serial/serial_ppc.c deleted +0 -21
deleted file mode 100644
index 47141c6..0000000
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2014 Google, Inc
- *
- * SPDX-License-Identifier:    GPL-2.0+
- */
-
-#include <common.h>
-#include <dm.h>
-#include <ns16550.h>
-#include <serial.h>
-
-static const struct udevice_id ppc_serial_ids[] = {
-       { .compatible = "ns16550" },
-       { }
-};
-
-static int ppc_serial_ofdata_to_platdata(struct udevice *dev)
-{
-       struct ns16550_platdata *plat = dev_get_platdata(dev);
-       int ret;
-
Quoted 8 lines

drivers/serial/serial_ppc.c line 25

Quoted 4 lines
drivers/serial/serial_ppc.c deleted +0 -4
-       ret = ns16550_serial_ofdata_to_platdata(dev);
-       if (ret)
-               return ret;
-       plat->clock = get_serial_clock();

You are dropping this call. We certainly don't want it for driver model, but I suspect it will break some PPC boards if they don't have the clock-frequency in the device tree. Do they?

I moved it to a macro.
#define CONFIG_SYS_NS16550_CLK get_serial_clock()

Best regards,
Thomas

#71 lore raw

PATCH v3 5/13 ns16550: unify serial_ppc

Hi Thomas,

Quoted 102 lines · Thomas Chou

Hi Simon,

Quoted 25 lines · Simon Glass

Hi Thomas,

Quoted 21 lines · Thomas Chou

Unify serial_ppc, and use the generic binding.

---
  arch/powerpc/include/asm/config.h |  4 ++++
  drivers/serial/Kconfig            |  2 +-
  drivers/serial/Makefile           |  1 -
  drivers/serial/serial_ppc.c       | 40 ---------------------------------------
  4 files changed, 5 insertions(+), 42 deletions(-)

delete mode 100644 drivers/serial/serial_ppc.c

arch/powerpc/include/asm/config.h +0 -0
index 65496d0..7391066 100644
@@ -104,4 +104,8 @@
  /* All PPC boards must swap IDE bytes */
  #define CONFIG_IDE_SWAP_IO
 
Quoted 4 lines

arch/powerpc/include/asm/config.h line 110

Quoted 4 lines
arch/powerpc/include/asm/config.h +4 -0
+#if defined(CONFIG_DM_SERIAL)
+#define CONFIG_SYS_NS16550_CLK         get_serial_clock()
+#endif
+

I move the get_serial_clock here.

Quoted 54 lines
Quoted 54 lines
arch/powerpc/include/asm/config.h +0 -0
  #endif /* _ASM_CONFIG_H_ */
drivers/serial/Kconfig +1 -1
index 93faa4c..b41f508 100644
@@ -198,7 +198,7 @@ config ROCKCHIP_SERIAL
  config NS16550_SERIAL
         bool "NS16550 UART or compatible"
         depends on DM_SERIAL
-       default y if X86
+       default y if X86 || PPC
         help
           Support NS16550 UART or compatible with driver model. This can be
           enabled in the device tree with the correct input clock frequency.
drivers/serial/Makefile +0 -1
index 9036a8e..9f61113 100644
@@ -8,7 +8,6 @@
  ifdef CONFIG_DM_SERIAL
  obj-y += serial-uclass.o
  obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o
-obj-$(CONFIG_PPC) += serial_ppc.o
  else
  obj-y += serial.o
  obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
drivers/serial/serial_ppc.c deleted +0 -22
deleted file mode 100644
index 47141c6..0000000
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2014 Google, Inc
- *
- * SPDX-License-Identifier:    GPL-2.0+
- */
-
-#include <common.h>
-#include <dm.h>
-#include <ns16550.h>
-#include <serial.h>
-
-static const struct udevice_id ppc_serial_ids[] = {
-       { .compatible = "ns16550" },
-       { }
-};
-
-static int ppc_serial_ofdata_to_platdata(struct udevice *dev)
-{
-       struct ns16550_platdata *plat = dev_get_platdata(dev);
-       int ret;
-
-       ret = ns16550_serial_ofdata_to_platdata(dev);
Quoted 8 lines

drivers/serial/serial_ppc.c line 25

Quoted 3 lines
drivers/serial/serial_ppc.c deleted +0 -3
-       if (ret)
-               return ret;
-       plat->clock = get_serial_clock();

You are dropping this call. We certainly don't want it for driver model, but I suspect it will break some PPC boards if they don't have the clock-frequency in the device tree. Do they?

Quoted 2 lines

I moved it to a macro.
#define CONFIG_SYS_NS16550_CLK get_serial_clock()

Ah, we shouldn't do that with driver model. This should be in some sort of clock driver. Perhaps we should leave this serial driver along for now?

Regards,
Simon

#72 lore raw

PATCH v3 5/13 ns16550: unify serial_ppc

Hi Simon,

Quoted 6 lines · Simon Glass
Quoted 2 lines

I moved it to a macro.
#define CONFIG_SYS_NS16550_CLK get_serial_clock()

Ah, we shouldn't do that with driver model. This should be in some sort of clock driver. Perhaps we should leave this serial driver along for now?

I understand a clock driver should be used for driver model. But I would suggest that we use this get_serial_clock macro until the clock driver for powerpc is ready to get UART clock. This will help things moving forwards to driver model.

Best regards,
Thomas

#73 lore raw

PATCH v3 5/13 ns16550: unify serial_ppc

Quoted 6 lines · Thomas Chou

Hi Simon,

Quoted 3 lines · Simon Glass
Quoted 2 lines

I moved it to a macro.
#define CONFIG_SYS_NS16550_CLK get_serial_clock()

Quoted 8 lines
Quoted 3 lines

Ah, we shouldn't do that with driver model. This should be in some sort of clock driver. Perhaps we should leave this serial driver along for now?

I understand a clock driver should be used for driver model. But I would suggest that we use this get_serial_clock macro until the clock driver for powerpc is ready to get UART clock. This will help things moving forwards to driver model.

Yes, how do you want to proceed here Simon? I have all of these (and a few other things) build-tested now and will be doing some quick sanity run time testing later. Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151121/d738a446/attachment.sig>
#74 lore raw

PATCH v3 5/13 ns16550: unify serial_ppc

Hi Tom,

Quoted 11 lines · Tom Rini
Quoted 10 lines · Thomas Chou

Hi Simon,

Quoted 6 lines · Simon Glass
Quoted 2 lines

I moved it to a macro.
#define CONFIG_SYS_NS16550_CLK get_serial_clock()

Ah, we shouldn't do that with driver model. This should be in some sort of clock driver. Perhaps we should leave this serial driver along for now?

Quoted 8 lines
Quoted 4 lines

I understand a clock driver should be used for driver model. But I would suggest that we use this get_serial_clock macro until the clock driver for powerpc is ready to get UART clock. This will help things moving forwards to driver model.

Yes, how do you want to proceed here Simon? I have all of these (and a few other things) build-tested now and will be doing some quick sanity run time testing later. Thanks!

My first thought would be to leave serial_ppc.c out of the conversion, but that would be tricky given how the series is structured (with the temporary CONFIG).

Perhaps a TODO on the #define above since it should be cleaned up, and we want to make sure no one copies it.

Since you have it ready I think it should go in, with the TODO if you can manage it.

Regards,
Simon

#75 lore raw

PATCH v3 5/13 ns16550: unify serial_ppc

Quoted 27 lines · Simon Glass

Hi Tom,

Quoted 11 lines · Tom Rini
Quoted 10 lines · Thomas Chou

Hi Simon,

Quoted 6 lines · Simon Glass
Quoted 2 lines

I moved it to a macro.
#define CONFIG_SYS_NS16550_CLK get_serial_clock()

Ah, we shouldn't do that with driver model. This should be in some sort of clock driver. Perhaps we should leave this serial driver along for now?

Quoted 8 lines
Quoted 4 lines

I understand a clock driver should be used for driver model. But I would suggest that we use this get_serial_clock macro until the clock driver for powerpc is ready to get UART clock. This will help things moving forwards to driver model.

Yes, how do you want to proceed here Simon? I have all of these (and a few other things) build-tested now and will be doing some quick sanity run time testing later. Thanks!

My first thought would be to leave serial_ppc.c out of the conversion, but that would be tricky given how the series is structured (with the temporary CONFIG).

Quoted 5 lines

Perhaps a TODO on the #define above since it should be cleaned up, and we want to make sure no one copies it.

Since you have it ready I think it should go in, with the TODO if you can manage it.

OK, I'll add the TODO comment.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151121/901714d7/attachment.sig>
#76 lore raw

PATCH v3 5/13 ns16550: unify serial_ppc

In reply to Thomas Chou
Quoted 4 lines · Thomas Chou

Unify serial_ppc, and use the generic binding.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151122/fa1f0178/attachment.sig>
#77 lore raw

PATCH v3 6/13 ns16550: unify serial_rockchip

In reply to Thomas Chou

Unify serial_rockchip, and use the generic binding.

---
 arch/arm/dts/rk3288.dtsi         |  5 +++++
 arch/arm/mach-rockchip/Kconfig   |  3 ---
 drivers/serial/Kconfig           | 11 +---------
 drivers/serial/Makefile          |  1 -
 drivers/serial/serial_rockchip.c | 43 ----------------------------------------
 5 files changed, 6 insertions(+), 57 deletions(-)
 delete mode 100644 drivers/serial/serial_rockchip.c
arch/arm/dts/rk3288.dtsi +5 -0
index 0f49709..ac367f8 100644
@@ -324,6 +324,7 @@
 		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
 		reg-shift = <2>;
 		reg-io-width = <4>;
+		clock-frequency = <24000000>;
 		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
 		clock-names = "baudclk", "apb_pclk";
 		pinctrl-names = "default";
@@ -337,6 +338,7 @@
 		interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
 		reg-shift = <2>;
 		reg-io-width = <4>;
+		clock-frequency = <24000000>;
 		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
 		clock-names = "baudclk", "apb_pclk";
 		pinctrl-names = "default";
@@ -350,6 +352,7 @@
 		interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
 		reg-shift = <2>;
 		reg-io-width = <4>;
+		clock-frequency = <24000000>;
 		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
 		clock-names = "baudclk", "apb_pclk";
 		pinctrl-names = "default";
@@ -362,6 +365,7 @@
 		interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
 		reg-shift = <2>;
 		reg-io-width = <4>;
+		clock-frequency = <24000000>;
 		clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
 		clock-names = "baudclk", "apb_pclk";
 		pinctrl-names = "default";
@@ -375,6 +379,7 @@
 		interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
 		reg-shift = <2>;
 		reg-io-width = <4>;
+		clock-frequency = <24000000>;
 		clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
 		clock-names = "baudclk", "apb_pclk";
 		pinctrl-names = "default";
arch/arm/mach-rockchip/Kconfig +0 -3
index ab50f4e..3f7dc8e 100644
@@ -33,9 +33,6 @@ config DM_I2C
 config DM_GPIO
 	default y
 
-config ROCKCHIP_SERIAL
-	default y
-
 source "arch/arm/mach-rockchip/rk3288/Kconfig"
 
 endif
drivers/serial/Kconfig +1 -10
index b41f508..1239416 100644
@@ -186,19 +186,10 @@ 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 ROCKCHIP_SERIAL
-	bool "Rockchip on-chip UART support"
-	depends on ARCH_ROCKCHIP && DM_SERIAL
-	help
-	  Select this to enable a debug UART for Rockchip devices. This uses
-	  the ns16550 driver. You will need to #define CONFIG_SYS_NS16550 in
-	  your board config header. The clock input is automatically set to
-	  use the oscillator (24MHz).
-
 config NS16550_SERIAL
 	bool "NS16550 UART or compatible"
 	depends on DM_SERIAL
-	default y if X86 || PPC
+	default y if X86 || PPC || ARCH_ROCKCHIP
 	help
 	  Support NS16550 UART or compatible with driver model. This can be
 	  enabled in the device tree with the correct input clock frequency.
drivers/serial/Makefile +0 -1
index 9f61113..debc175 100644
@@ -40,7 +40,6 @@ obj-$(CONFIG_ZYNQ_SERIAL) += serial_zynq.o
 obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o
 obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o
 obj-$(CONFIG_MXS_AUART) += mxs_auart.o
-obj-$(CONFIG_ROCKCHIP_SERIAL) += serial_rockchip.o
 obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
 obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
drivers/serial/serial_rockchip.c deleted +0 -43

43 lines not on this page · raw message

Signature · 1 line
2.5.0
#78 lore raw

PATCH v3 6/13 ns16550: unify serial_rockchip

Quoted 5 lines · Thomas Chou

Unify serial_rockchip, and use the generic binding.

Quoted 8 lines
---
 arch/arm/dts/rk3288.dtsi         |  5 +++++
 arch/arm/mach-rockchip/Kconfig   |  3 ---
 drivers/serial/Kconfig           | 11 +---------
 drivers/serial/Makefile          |  1 -
 drivers/serial/serial_rockchip.c | 43 ----------------------------------------
 5 files changed, 6 insertions(+), 57 deletions(-)
 delete mode 100644 drivers/serial/serial_rockchip.c
#79 lore raw

PATCH v3 6/13 ns16550: unify serial_rockchip

In reply to Thomas Chou
Quoted 6 lines · Thomas Chou

Unify serial_rockchip, and use the generic binding.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151122/ed51a8c9/attachment.sig>