aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-apf9328.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/mach-apf9328.c')
-rw-r--r--arch/arm/mach-imx/mach-apf9328.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/mach-apf9328.c b/arch/arm/mach-imx/mach-apf9328.c
index a404c89485c..15e45c84e37 100644
--- a/arch/arm/mach-imx/mach-apf9328.c
+++ b/arch/arm/mach-imx/mach-apf9328.c
@@ -99,6 +99,11 @@ static struct platform_device dm9000x_device = {
}
};
+/* --- SERIAL RESSOURCE --- */
+static const struct imxuart_platform_data uart0_pdata __initconst = {
+ .flags = 0,
+};
+
static const struct imxuart_platform_data uart1_pdata __initconst = {
.flags = IMXUART_HAVE_RTSCTS,
};
@@ -110,13 +115,11 @@ static struct platform_device *devices[] __initdata = {
static void __init apf9328_init(void)
{
- imx1_soc_init();
-
mxc_gpio_setup_multiple_pins(apf9328_pins,
ARRAY_SIZE(apf9328_pins),
"APF9328");
- imx1_add_imx_uart0(NULL);
+ imx1_add_imx_uart0(&uart0_pdata);
imx1_add_imx_uart1(&uart1_pdata);
platform_add_devices(devices, ARRAY_SIZE(devices));