summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_ns16550.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-06-04 12:02:06 +0000
committerTom Rini <trini@ti.com>2013-06-10 08:43:19 -0400
commit7f5eef93af92ed9efed7867d24b03fd6056a7404 (patch)
tree1c387cc980c78894b9e7a075adbfa09ef42d81de /drivers/serial/serial_ns16550.c
parent03e08d7cf6f0c41acb03d3b2c82f39a827a11a10 (diff)
downloadu-boot-imx-7f5eef93af92ed9efed7867d24b03fd6056a7404.zip
u-boot-imx-7f5eef93af92ed9efed7867d24b03fd6056a7404.tar.gz
u-boot-imx-7f5eef93af92ed9efed7867d24b03fd6056a7404.tar.bz2
arm: Remove OMAP2420H4 and all omap24xx support
The omap2420H4 was the only mainline omap24xx board. Prior to being fixed by Jon Hunter in time for v2013.04 it had been functionally broken for a very long time. Remove this board as there's not been interest in it in U-Boot for quite a long time. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/serial/serial_ns16550.c')
-rw-r--r--drivers/serial/serial_ns16550.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c
index b92eef4..3c07da3 100644
--- a/drivers/serial/serial_ns16550.c
+++ b/drivers/serial/serial_ns16550.c
@@ -151,12 +151,7 @@ static int calc_divisor (NS16550_t port)
}
#endif
-#ifdef CONFIG_APTIX
-#define MODE_X_DIV 13
-#else
#define MODE_X_DIV 16
-#endif
-
/* Compute divisor value. Normally, we should simply return:
* CONFIG_SYS_NS16550_CLK) / MODE_X_DIV / gd->baudrate
* but we need to round that value by adding 0.5.