Hi Uwe &amp; Fabio,<br><br><div class="gmail_quote">2010/10/15  <span dir="ltr">&lt;<a href="mailto:jgq516@gmail.com">jgq516@gmail.com</a>&gt;</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 &lt;<a href="mailto:jgq516@gmail.com">jgq516@gmail.com</a>&gt;<br>
<br>
Add debug board support, then kernel can boot from lan9217 ethernet.<br>
<br>
Signed-off-by: Xiao Jiang &lt;<a href="mailto:jgq516@gmail.com">jgq516@gmail.com</a>&gt;<br>
---<br>
 arch/arm/mach-mx3/mach-mx35_3ds.c          |    9 +++++++++<br>
 arch/arm/plat-mxc/include/mach/iomux-mx3.h |    4 ++++<br>
 2 files changed, 13 insertions(+), 0 deletions(-)<br>
<br>
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c b/arch/arm/mach-mx3/mach-mx35_3ds.c<br>
index 1c30d72..78e0657 100644<br>
--- a/arch/arm/mach-mx3/mach-mx35_3ds.c<br>
+++ b/arch/arm/mach-mx3/mach-mx35_3ds.c<br>
@@ -34,11 +34,16 @@<br>
<br>
 #include &lt;mach/hardware.h&gt;<br>
 #include &lt;mach/common.h&gt;<br>
+#include &lt;mach/irqs.h&gt;<br>
+#include &lt;mach/iomux-mx3.h&gt;<br>
 #include &lt;mach/iomux-mx35.h&gt;<br>
+#include &lt;mach/3ds_debugboard.h&gt;<br>
<br>
 #include &quot;devices-imx35.h&quot;<br>
 #include &quot;devices.h&quot;<br>
<br>
+#define EXPIO_PARENT_INT       IOMUX_TO_IRQ(MX35_PIN_GPIO1_1)<br>
+<br>
 static const struct imxuart_platform_data uart_pdata __initconst = {<br>
        .flags = IMXUART_HAVE_RTSCTS,<br>
 };<br>
@@ -95,6 +100,10 @@ static void __init mxc_board_init(void)<br>
        imx35_add_imx_uart0(&amp;uart_pdata);<br>
<br>
        mxc_register_device(&amp;mxc_otg_udc_device, &amp;usb_pdata);<br>
+<br>
+       if (mxc_expio_init(MX35_CS5_BASE_ADDR, EXPIO_PARENT_INT))<br>
+               pr_warn(&quot;Init of the debugboard failed, all &quot;<br>
+                       &quot;devices on the board are unusable.\n&quot;);<br>
 }<br>
<br>
 static void __init mx35pdk_timer_init(void)<br>
diff --git a/arch/arm/plat-mxc/include/mach/iomux-mx3.h b/arch/arm/plat-mxc/include/mach/iomux-mx3.h<br>
index cbaed29..c686d2a 100644<br>
--- a/arch/arm/plat-mxc/include/mach/iomux-mx3.h<br>
+++ b/arch/arm/plat-mxc/include/mach/iomux-mx3.h<br>
@@ -170,6 +170,10 @@ int mxc_iomux_mode(unsigned int pin_mode);<br>
  * value is constructed based on the rules described above.<br>
  */<br>
<br>
+enum iomux_mx35_pins {<br>
+       MX35_PIN_GPIO1_1        = IOMUX_PIN(1,   338),<br>
+};<br>
+<br>
 enum iomux_pins {<br>
        MX31_PIN_TTM_PAD        = IOMUX_PIN(0xff,   0),<br>
        MX31_PIN_CSPI3_SPI_RDY  = IOMUX_PIN(0xff,   1),<br>
<font color="#888888">--<br>
1.6.3.3<br>
<br>
</font></blockquote></div><br>Any comments? And I can&#39;t the sdma driver in arch/arm/plat-mxc/ which is used by lots of <a href="http://i.mx">i.mx</a> chips, is somebody planing to do it or<br>it will going to mainline soon ?<br>
<br>Thanks,<br>Xiao Jiang<br>