]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: mxc: Add common mxc_uart reg space
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 6 Jun 2017 05:31:45 +0000 (05:31 +0000)
committerStefano Babic <sbabic@denx.de>
Wed, 12 Jul 2017 07:42:33 +0000 (09:42 +0200)
commitffa8bcd7f1373a8e720b4c9404aa093e7780e205
tree99b5c12b99e374db391d7d63b3c2f0479250184c
parent3fd9579085fae691760486f595b9eda228bfc656
serial: mxc: Add common mxc_uart reg space

This patch will add common reg space for non-dm and
dm code and non-dm reg space can be accessed using
mxc_base.

This will
- get rid of __REG volatile assignments
- Make common reg_space by removing unneeded macros

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