blob: 2b5cb8bcbd419ae5d713e4f5700c963f065fe05d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* SPDX-License-Identifier: GPL-2.0-only */
#include <mach/devices.h>
#include <mach/imx1-regs.h>
static inline struct device_d *imx1_add_uart0(void)
{
return imx_add_uart_imx1((void *)MX1_UART1_BASE_ADDR, 0);
}
static inline struct device_d *imx1_add_uart1(void)
{
return imx_add_uart_imx1((void *)MX1_UART2_BASE_ADDR, 1);
}
|