diff options
author | Xiao Jiang <jgq516@gmail.com> | 2010-10-21 04:15:50 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-22 02:29:01 -0400 |
commit | 2c6605def534fc6d3d0635dd95f88d3d87d44d9f (patch) | |
tree | 1ebfc98c702c1d9eb5ac7f088f84ac892494e206 /arch/arm/mach-mx3/mach-mx35_3ds.c | |
parent | 64f102b67f77f5054d27e58dbb26ec7ebef20e62 (diff) |
mx35pdk: add debug board support
Enable debug board support for mx35pdk.
Signed-off-by: Xiao Jiang <jgq516@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/mach-mx35_3ds.c')
-rw-r--r-- | arch/arm/mach-mx3/mach-mx35_3ds.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c b/arch/arm/mach-mx3/mach-mx35_3ds.c index f0277c293f1a..b248c6a6dfb6 100644 --- a/arch/arm/mach-mx3/mach-mx35_3ds.c +++ b/arch/arm/mach-mx3/mach-mx35_3ds.c | |||
@@ -38,11 +38,15 @@ | |||
38 | #include <mach/hardware.h> | 38 | #include <mach/hardware.h> |
39 | #include <mach/common.h> | 39 | #include <mach/common.h> |
40 | #include <mach/iomux-mx35.h> | 40 | #include <mach/iomux-mx35.h> |
41 | #include <mach/irqs.h> | ||
42 | #include <mach/3ds_debugboard.h> | ||
41 | #include <mach/mxc_ehci.h> | 43 | #include <mach/mxc_ehci.h> |
42 | 44 | ||
43 | #include "devices-imx35.h" | 45 | #include "devices-imx35.h" |
44 | #include "devices.h" | 46 | #include "devices.h" |
45 | 47 | ||
48 | #define EXPIO_PARENT_INT (MXC_INTERNAL_IRQS + GPIO_PORTA + 1) | ||
49 | |||
46 | static const struct imxuart_platform_data uart_pdata __initconst = { | 50 | static const struct imxuart_platform_data uart_pdata __initconst = { |
47 | .flags = IMXUART_HAVE_RTSCTS, | 51 | .flags = IMXUART_HAVE_RTSCTS, |
48 | }; | 52 | }; |
@@ -148,6 +152,10 @@ static void __init mxc_board_init(void) | |||
148 | 152 | ||
149 | imx35_add_mxc_nand(&mx35pdk_nand_board_info); | 153 | imx35_add_mxc_nand(&mx35pdk_nand_board_info); |
150 | imx35_add_esdhc(0, NULL); | 154 | imx35_add_esdhc(0, NULL); |
155 | |||
156 | if (mxc_expio_init(MX35_CS5_BASE_ADDR, EXPIO_PARENT_INT)) | ||
157 | pr_warn("Init of the debugboard failed, all " | ||
158 | "devices on the debugboard are unusable.\n"); | ||
151 | } | 159 | } |
152 | 160 | ||
153 | static void __init mx35pdk_timer_init(void) | 161 | static void __init mx35pdk_timer_init(void) |