]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/serial/serial_ns16550.c
serial: ns16550: drop CONFIG_OMAP1610 from the special case
[people/ms/u-boot.git] / drivers / serial / serial_ns16550.c
index ba68d46948033faf84974008db412a9a3c1bce3e..056ef2a9a133921fc3b5d7e34dfc8eeb46efe305 100644 (file)
@@ -128,12 +128,6 @@ static int calc_divisor (NS16550_t port)
        }
        port->osc_12m_sel = 0;                  /* clear if previsouly set */
 #endif
-#ifdef CONFIG_OMAP1610
-       /* If can't cleanly clock 115200 set div to 1 */
-       if ((CONFIG_SYS_NS16550_CLK == 48000000) && (gd->baudrate == 115200)) {
-               return (26);            /* return 26 for base divisor */
-       }
-#endif
 
 #define MODE_X_DIV 16
        /* Compute divisor value. Normally, we should simply return: