serial: mxc: Use RFDIV in dm-code
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 6 Jun 2017 05:31:46 +0000 (05:31 +0000)
committerStefano Babic <sbabic@denx.de>
Wed, 12 Jul 2017 07:42:33 +0000 (09:42 +0200)
commit62af03ee970e3b86b7bbda5d00a94071cfec2cbf
treef2cab5431f366fcc027a46b6315d2a0c8ab95ddb
parentffa8bcd7f1373a8e720b4c9404aa093e7780e205
serial: mxc: Use RFDIV in dm-code

Use RFDIV in dm-code instead of numeric value, so-that
it can be common for dm and non-dm.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_mxc.c