serial_mx31: allow it to work with mx27 too and rename to serial_mxc

UART hardware on i.MX27 is the same as on the i.MX31 so we just
need to provide the driver with correct address of the registers.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
This commit is contained in:
Ilya Yanok
2009-06-08 04:12:46 +04:00
committed by Jean-Christophe PLAGNIOL-VILLARD
parent 1dc4da749d
commit 47d19da4d3
6 changed files with 26 additions and 5 deletions

View File

@@ -57,7 +57,7 @@
* Hardware drivers
*/
#define CONFIG_MX31_UART 1
#define CONFIG_MXC_UART 1
#define CONFIG_SYS_MX31_UART1 1
#define CONFIG_HARD_SPI 1