dm: serial: Move baud rate calculation to ns16550.c
authorSimon Glass <sjg@chromium.org>
Thu, 4 Sep 2014 22:27:32 +0000 (16:27 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Sep 2014 19:00:01 +0000 (13:00 -0600)
commitfa54eb12431efa845bc5692347ee3a7f39d897bc
treeaae0a0df851969d36a34df8b18879e03cb6aedfc
parent2a9ae6e02f190e8c83450aab9099a9fb5ec48cc9
dm: serial: Move baud rate calculation to ns16550.c

Move the function that calculates the baud rate divisor into ns16550.c so
it can be used by that file.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/ns16550.c
drivers/serial/serial_ns16550.c
include/ns16550.h