Hi Sascha,<br><br>Could you apply the patch in your tree, I have regenrated the patch based on for-rmk-next branch of your tree, pls check the attached patch.<br><br>Thanks,<br>Xiao Jiang<br><br><div class="gmail_quote">2010/10/21 <span dir="ltr"><<a href="mailto:jgq516@gmail.com">jgq516@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">From: Xiao Jiang <<a href="mailto:jgq516@gmail.com">jgq516@gmail.com</a>><br>
<br>
Enable debug board support for mx35pdk.<br>
<br>
Signed-off-by: Xiao Jiang <<a href="mailto:jgq516@gmail.com">jgq516@gmail.com</a>><br>
Signed-off-by: Fabio Estevam <<a href="mailto:fabio.estevam@freescale.com">fabio.estevam@freescale.com</a>><br>
---<br>
Change since v2:<br>
- s/board/debugboard per Bacuch's comment.<br>
<br>
Change since v1:<br>
- Add MXC_DEBUG_BOARD in Kconfig per Fabio's comment.<br>
- Redefinition EXPIO_PARENT_INT per Fabio's comment.<br>
<br>
arch/arm/mach-mx3/Kconfig | 1 +<br>
arch/arm/mach-mx3/mach-mx35_3ds.c | 8 ++++++++<br>
2 files changed, 9 insertions(+), 0 deletions(-)<br>
<br>
diff --git a/arch/arm/mach-mx3/Kconfig b/arch/arm/mach-mx3/Kconfig<br>
index 85beece..cdf6ac5 100644<br>
--- a/arch/arm/mach-mx3/Kconfig<br>
+++ b/arch/arm/mach-mx3/Kconfig<br>
@@ -139,6 +139,7 @@ config MACH_ARMADILLO5X0<br>
config MACH_MX35_3DS<br>
bool "Support MX35PDK platform"<br>
select ARCH_MX35<br>
+ select MXC_DEBUG_BOARD<br>
select IMX_HAVE_PLATFORM_IMX_UART<br>
default n<br>
help<br>
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c b/arch/arm/mach-mx3/mach-mx35_3ds.c<br>
index 1c30d72..eafe168 100644<br>
--- a/arch/arm/mach-mx3/mach-mx35_3ds.c<br>
+++ b/arch/arm/mach-mx3/mach-mx35_3ds.c<br>
@@ -35,10 +35,14 @@<br>
#include <mach/hardware.h><br>
#include <mach/common.h><br>
#include <mach/iomux-mx35.h><br>
+#include <mach/irqs.h><br>
+#include <mach/3ds_debugboard.h><br>
<br>
#include "devices-imx35.h"<br>
#include "devices.h"<br>
<br>
+#define EXPIO_PARENT_INT (MXC_INTERNAL_IRQS + GPIO_PORTA + 1)<br>
+<br>
static const struct imxuart_platform_data uart_pdata __initconst = {<br>
.flags = IMXUART_HAVE_RTSCTS,<br>
};<br>
@@ -95,6 +99,10 @@ static void __init mxc_board_init(void)<br>
imx35_add_imx_uart0(&uart_pdata);<br>
<br>
mxc_register_device(&mxc_otg_udc_device, &usb_pdata);<br>
+<br>
+ if (mxc_expio_init(MX35_CS5_BASE_ADDR, EXPIO_PARENT_INT))<br>
+ pr_warn("Init of the debugboard failed, all "<br>
+ "devices on the debugboard are unusable.\n");<br>
}<br>
<br>
static void __init mx35pdk_timer_init(void)<br>
<font color="#888888">--<br>
1.6.3.3<br>
<br>
</font></blockquote></div><br>