summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2015-05-06 12:31:58 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2015-05-07 09:49:38 +0200
commit7aca256facf543162e2718091d69e1a61b62bc61 (patch)
treef0c30c917f8d5e67bffbfaaef8d9e71fdff5f29c /fs
parent18a5a9b969cf9af5d3668bd6e5918554369439d3 (diff)
downloadbarebox-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