diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2015-05-06 12:31:58 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-05-07 09:49:38 +0200 |
commit | 7aca256facf543162e2718091d69e1a61b62bc61 (patch) | |
tree | f0c30c917f8d5e67bffbfaaef8d9e71fdff5f29c /fs | |
parent | 18a5a9b969cf9af5d3668bd6e5918554369439d3 (diff) | |
download | barebox-7aca256facf543162e2718091d69e1a61b62bc61.tar.gz barebox-7aca256facf543162e2718091d69e1a61b62bc61.tar.xz |
i.MX: serial: Add baud rate calculation convenience functions
Add two functions to calculate values for UBMR and UBIR
registers. This way both early serial initalization code and
serial_imx.c can use them and not duplicate the code.
Singed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions