2011-07-28 07:17:48 +00:00
|
|
|
#include <mach/devices.h>
|
2013-05-30 10:39:55 +00:00
|
|
|
#include <mach/imx1-regs.h>
|
2011-07-28 07:17:48 +00:00
|
|
|
|
|
|
|
static inline struct device_d *imx1_add_uart0(void)
|
|
|
|
{
|
2012-09-22 14:43:02 +00:00
|
|
|
return imx_add_uart_imx1((void *)MX1_UART1_BASE_ADDR, 0);
|
2011-07-28 07:17:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static inline struct device_d *imx1_add_uart1(void)
|
|
|
|
{
|
2012-09-22 14:43:02 +00:00
|
|
|
return imx_add_uart_imx1((void *)MX1_UART2_BASE_ADDR, 1);
|
2011-07-28 07:17:48 +00:00
|
|
|
}
|