diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-06-10 18:28:37 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-06-10 18:28:37 +0200 |
commit | 1b83470f3c2eeae398cf90831f96c8ba4ed675fa (patch) | |
tree | 39bcf8beb8722bfe9cacbb3310cd5571f1e0b720 /drivers/serial/serial_ns16550.c | |
parent | 74ae612fd8cfeb55f663bdd565d3f9d73703b2c4 (diff) | |
parent | 68cd4a4c9f4d7be8dc95796fb567f6b03faf9d97 (diff) |
Merge branch 'u-boot-ti/master' into 'u-boot-arm/master'
Diffstat (limited to 'drivers/serial/serial_ns16550.c')
-rw-r--r-- | drivers/serial/serial_ns16550.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c index b92eef4db9..3c07da3597 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. |