]> code.ossystems Code Review - bsp/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)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 12 Jul 2017 12:05:01 +0000 (09:05 -0300)
commitfd008b05699f9cfbe8855940c5c62f59f3af6a0d
treea4505f4c644734b3c067b73f64c726cb92b88473
parent2fd787812437590f617156050a92b4dd32a5a356
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