pci: Do not skip legacy IDE device configuration
[oweals/u-boot.git] / drivers / serial / arm_dcc.c
index 29d929571df653199d61182b7f93ab9fb42b4524..e77773740fb02d46a1c2067ef86b5f07db62c770 100644 (file)
@@ -29,9 +29,9 @@
 #include <common.h>
 #include <serial.h>
 
-#if defined(CONFIG_CPU_V6)
+#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V7)
 /*
- * ARMV6
+ * ARMV6 & ARMV7
  */
 #define DCC_RBIT       (1 << 30)
 #define DCC_WBIT       (1 << 29)
@@ -123,12 +123,6 @@ static void arm_dcc_putc(char ch)
                write_dcc(ch);
 }
 
-static void arm_dcc_puts(const char *s)
-{
-       while (*s)
-               arm_dcc_putc(*s++);
-}
-
 static int arm_dcc_tstc(void)
 {
        register unsigned int reg;
@@ -148,7 +142,7 @@ static struct serial_device arm_dcc_drv = {
        .stop   = NULL,
        .setbrg = arm_dcc_setbrg,
        .putc   = arm_dcc_putc,
-       .puts   = arm_dcc_puts,
+       .puts   = default_serial_puts,
        .getc   = arm_dcc_getc,
        .tstc   = arm_dcc_tstc,
 };