* [PATCH 1/1] Mx35pdk: enable debug board support
@ 2010-10-15 8:00 jgq516 at gmail.com
2010-10-18 12:53 ` xiao jiang
0 siblings, 1 reply; 10+ messages in thread
From: jgq516 at gmail.com @ 2010-10-15 8:00 UTC (permalink / raw)
To: linux-arm-kernel
From: Xiao Jiang <jgq516@gmail.com>
Add debug board support, then kernel can boot from lan9217 ethernet.
Signed-off-by: Xiao Jiang <jgq516@gmail.com>
---
arch/arm/mach-mx3/mach-mx35_3ds.c | 9 +++++++++
arch/arm/plat-mxc/include/mach/iomux-mx3.h | 4 ++++
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c b/arch/arm/mach-mx3/mach-mx35_3ds.c
index 1c30d72..78e0657 100644
--- a/arch/arm/mach-mx3/mach-mx35_3ds.c
+++ b/arch/arm/mach-mx3/mach-mx35_3ds.c
@@ -34,11 +34,16 @@
#include <mach/hardware.h>
#include <mach/common.h>
+#include <mach/irqs.h>
+#include <mach/iomux-mx3.h>
#include <mach/iomux-mx35.h>
+#include <mach/3ds_debugboard.h>
#include "devices-imx35.h"
#include "devices.h"
+#define EXPIO_PARENT_INT IOMUX_TO_IRQ(MX35_PIN_GPIO1_1)
+
static const struct imxuart_platform_data uart_pdata __initconst = {
.flags = IMXUART_HAVE_RTSCTS,
};
@@ -95,6 +100,10 @@ static void __init mxc_board_init(void)
imx35_add_imx_uart0(&uart_pdata);
mxc_register_device(&mxc_otg_udc_device, &usb_pdata);
+
+ if (mxc_expio_init(MX35_CS5_BASE_ADDR, EXPIO_PARENT_INT))
+ pr_warn("Init of the debugboard failed, all "
+ "devices on the board are unusable.\n");
}
static void __init mx35pdk_timer_init(void)
diff --git a/arch/arm/plat-mxc/include/mach/iomux-mx3.h b/arch/arm/plat-mxc/include/mach/iomux-mx3.h
index cbaed29..c686d2a 100644
--- a/arch/arm/plat-mxc/include/mach/iomux-mx3.h
+++ b/arch/arm/plat-mxc/include/mach/iomux-mx3.h
@@ -170,6 +170,10 @@ int mxc_iomux_mode(unsigned int pin_mode);
* value is constructed based on the rules described above.
*/
+enum iomux_mx35_pins {
+ MX35_PIN_GPIO1_1 = IOMUX_PIN(1, 338),
+};
+
enum iomux_pins {
MX31_PIN_TTM_PAD = IOMUX_PIN(0xff, 0),
MX31_PIN_CSPI3_SPI_RDY = IOMUX_PIN(0xff, 1),
--
1.6.3.3
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 1/1] Mx35pdk: enable debug board support
2010-10-15 8:00 [PATCH 1/1] Mx35pdk: enable debug board support jgq516 at gmail.com
@ 2010-10-18 12:53 ` xiao jiang
2010-10-18 16:07 ` Fabio Estevam
0 siblings, 1 reply; 10+ messages in thread
From: xiao jiang @ 2010-10-18 12:53 UTC (permalink / raw)
To: linux-arm-kernel
Hi Uwe & Fabio,
2010/10/15 <jgq516@gmail.com>
> From: Xiao Jiang <jgq516@gmail.com>
>
> Add debug board support, then kernel can boot from lan9217 ethernet.
>
> Signed-off-by: Xiao Jiang <jgq516@gmail.com>
> ---
> arch/arm/mach-mx3/mach-mx35_3ds.c | 9 +++++++++
> arch/arm/plat-mxc/include/mach/iomux-mx3.h | 4 ++++
> 2 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c
> b/arch/arm/mach-mx3/mach-mx35_3ds.c
> index 1c30d72..78e0657 100644
> --- a/arch/arm/mach-mx3/mach-mx35_3ds.c
> +++ b/arch/arm/mach-mx3/mach-mx35_3ds.c
> @@ -34,11 +34,16 @@
>
> #include <mach/hardware.h>
> #include <mach/common.h>
> +#include <mach/irqs.h>
> +#include <mach/iomux-mx3.h>
> #include <mach/iomux-mx35.h>
> +#include <mach/3ds_debugboard.h>
>
> #include "devices-imx35.h"
> #include "devices.h"
>
> +#define EXPIO_PARENT_INT IOMUX_TO_IRQ(MX35_PIN_GPIO1_1)
> +
> static const struct imxuart_platform_data uart_pdata __initconst = {
> .flags = IMXUART_HAVE_RTSCTS,
> };
> @@ -95,6 +100,10 @@ static void __init mxc_board_init(void)
> imx35_add_imx_uart0(&uart_pdata);
>
> mxc_register_device(&mxc_otg_udc_device, &usb_pdata);
> +
> + if (mxc_expio_init(MX35_CS5_BASE_ADDR, EXPIO_PARENT_INT))
> + pr_warn("Init of the debugboard failed, all "
> + "devices on the board are unusable.\n");
> }
>
> static void __init mx35pdk_timer_init(void)
> diff --git a/arch/arm/plat-mxc/include/mach/iomux-mx3.h
> b/arch/arm/plat-mxc/include/mach/iomux-mx3.h
> index cbaed29..c686d2a 100644
> --- a/arch/arm/plat-mxc/include/mach/iomux-mx3.h
> +++ b/arch/arm/plat-mxc/include/mach/iomux-mx3.h
> @@ -170,6 +170,10 @@ int mxc_iomux_mode(unsigned int pin_mode);
> * value is constructed based on the rules described above.
> */
>
> +enum iomux_mx35_pins {
> + MX35_PIN_GPIO1_1 = IOMUX_PIN(1, 338),
> +};
> +
> enum iomux_pins {
> MX31_PIN_TTM_PAD = IOMUX_PIN(0xff, 0),
> MX31_PIN_CSPI3_SPI_RDY = IOMUX_PIN(0xff, 1),
> --
> 1.6.3.3
>
>
Any comments? And I can't the sdma driver in arch/arm/plat-mxc/ which is
used by lots of i.mx chips, is somebody planing to do it or
it will going to mainline soon ?
Thanks,
Xiao Jiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20101018/5ed9cedf/attachment-0001.html>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/1] Mx35pdk: enable debug board support
2010-10-18 12:53 ` xiao jiang
@ 2010-10-18 16:07 ` Fabio Estevam
2010-10-19 1:50 ` xiao jiang
0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2010-10-18 16:07 UTC (permalink / raw)
To: linux-arm-kernel
Hi Xiao,
2010/10/18 xiao jiang <jgq516@gmail.com>:
> Hi Uwe & Fabio,
>
> 2010/10/15 <jgq516@gmail.com>
>>
>> From: Xiao Jiang <jgq516@gmail.com>
>>
>> Add debug board support, then kernel can boot from lan9217 ethernet.
>>
>> Signed-off-by: Xiao Jiang <jgq516@gmail.com>
>> ---
>> ?arch/arm/mach-mx3/mach-mx35_3ds.c ? ? ? ? ?| ? ?9 +++++++++
>> ?arch/arm/plat-mxc/include/mach/iomux-mx3.h | ? ?4 ++++
>> ?2 files changed, 13 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c
>> b/arch/arm/mach-mx3/mach-mx35_3ds.c
>> index 1c30d72..78e0657 100644
>> --- a/arch/arm/mach-mx3/mach-mx35_3ds.c
>> +++ b/arch/arm/mach-mx3/mach-mx35_3ds.c
>> @@ -34,11 +34,16 @@
>>
>> ?#include <mach/hardware.h>
>> ?#include <mach/common.h>
>> +#include <mach/irqs.h>
>> +#include <mach/iomux-mx3.h>
You don't need to add this.
>> ?#include <mach/iomux-mx35.h>
>> +#include <mach/3ds_debugboard.h>
>>
>> ?#include "devices-imx35.h"
>> ?#include "devices.h"
>>
>> +#define EXPIO_PARENT_INT ? ? ? IOMUX_TO_IRQ(MX35_PIN_GPIO1_1)
Why don't you use MX35_PAD_GPIO1_1__GPIO1_1 instead which is already defined at:
arch/arm/plat-mxc/include/mach/iomux-mx35.h ?
Also, look at how MX31-3stack implemented the debug board support and
pass MXC_DEBUG_BOARD in the Kconfig.
>
> Any comments? And I can't the sdma driver in arch/arm/plat-mxc/ which is
> used by lots of i.mx chips, is somebody planing to do it or
> it will going to mainline soon ?
Sascha submitted initial support patches for i.MX SDMA.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/1] Mx35pdk: enable debug board support
2010-10-18 16:07 ` Fabio Estevam
@ 2010-10-19 1:50 ` xiao jiang
2010-10-19 15:13 ` Fabio Estevam
0 siblings, 1 reply; 10+ messages in thread
From: xiao jiang @ 2010-10-19 1:50 UTC (permalink / raw)
To: linux-arm-kernel
Hi Fabio,
2010/10/19 Fabio Estevam <festevam@gmail.com>
> Hi Xiao,
>
> 2010/10/18 xiao jiang <jgq516@gmail.com>:
> > Hi Uwe & Fabio,
> >
> > 2010/10/15 <jgq516@gmail.com>
> >>
> >> From: Xiao Jiang <jgq516@gmail.com>
> >>
> >> Add debug board support, then kernel can boot from lan9217 ethernet.
> >>
> >> Signed-off-by: Xiao Jiang <jgq516@gmail.com>
> >> ---
> >> arch/arm/mach-mx3/mach-mx35_3ds.c | 9 +++++++++
> >> arch/arm/plat-mxc/include/mach/iomux-mx3.h | 4 ++++
> >> 2 files changed, 13 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c
> >> b/arch/arm/mach-mx3/mach-mx35_3ds.c
> >> index 1c30d72..78e0657 100644
> >> --- a/arch/arm/mach-mx3/mach-mx35_3ds.c
> >> +++ b/arch/arm/mach-mx3/mach-mx35_3ds.c
> >> @@ -34,11 +34,16 @@
> >>
> >> #include <mach/hardware.h>
> >> #include <mach/common.h>
> >> +#include <mach/irqs.h>
> >> +#include <mach/iomux-mx3.h>
>
> You don't need to add this.
>
> >> #include <mach/iomux-mx35.h>
> >> +#include <mach/3ds_debugboard.h>
> >>
> >> #include "devices-imx35.h"
> >> #include "devices.h"
> >>
> >> +#define EXPIO_PARENT_INT IOMUX_TO_IRQ(MX35_PIN_GPIO1_1)
>
> Why don't you use MX35_PAD_GPIO1_1__GPIO1_1 instead which is already
> defined at:
> arch/arm/plat-mxc/include/mach/iomux-mx35.h ?
>
>
> I tried to use MX35_PAD_GPIO1_1__GPIO1_1, but there isn't function to
transform to irq num, so I added
the pin definition in iomux-mx3.h. Is there any function can transform the
PAD to irq num?
Only board-mx51_3ds.c & mach-mx31_3ds.c which called mxc_expio_init
function, and I followed the rule of mach-mx31_3ds.c. Is it ok to change
style like mx51_3ds as follows?
#define EXPIO_PARENT_INT (MXC_INTERNAL_IRQS + GPIO_PORTA + 6)
Also, look at how MX31-3stack implemented the debug board support and
> pass MXC_DEBUG_BOARD in the Kconfig.
>
> Got it, will add it
> >
> > Any comments? And I can't the sdma driver in arch/arm/plat-mxc/ which is
> > used by lots of i.mx chips, is somebody planing to do it or
> > it will going to mainline soon ?
>
> Sascha submitted initial support patches for i.MX SDMA.
>
> That is great!
Thanks
Xiao Jiang
> Regards,
>
> Fabio Estevam
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20101019/4503b7a5/attachment-0001.html>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/1] Mx35pdk: enable debug board support
2010-10-19 1:50 ` xiao jiang
@ 2010-10-19 15:13 ` Fabio Estevam
2010-10-19 15:59 ` xiao jiang
0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2010-10-19 15:13 UTC (permalink / raw)
To: linux-arm-kernel
Xiao,
...
> I tried to use? MX35_PAD_GPIO1_1__GPIO1_1, but there isn't function to
> transform to irq num, so I added
> the pin definition in iomux-mx3.h. Is there any function can transform the
> PAD to irq num?
You can do the following:
#define EXPIO_PARENT_INT IOMUX_TO_IRQ(MX35_PAD_GPIO1_1__GPIO1_1)
and also add MX35_PAD_GPIO1_1__GPIO1_1 into the mx35pdk_pads struct.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/1] Mx35pdk: enable debug board support
2010-10-19 15:13 ` Fabio Estevam
@ 2010-10-19 15:59 ` xiao jiang
2010-10-19 16:54 ` Fabio Estevam
0 siblings, 1 reply; 10+ messages in thread
From: xiao jiang @ 2010-10-19 15:59 UTC (permalink / raw)
To: linux-arm-kernel
2010/10/19 Fabio Estevam <festevam@gmail.com>
> Xiao,
> ...
>
> > I tried to use MX35_PAD_GPIO1_1__GPIO1_1, but there isn't function to
> > transform to irq num, so I added
> > the pin definition in iomux-mx3.h. Is there any function can transform
> the
> > PAD to irq num?
>
> You can do the following:
>
> #define EXPIO_PARENT_INT IOMUX_TO_IRQ(MX35_PAD_GPIO1_1__GPIO1_1)
>
> and also add MX35_PAD_GPIO1_1__GPIO1_1 into the mx35pdk_pads struct.
>
> I don't think so, since **_PIN_** is expected for IOMUX_TO_IRQ, not
**_PAD_**, and I think kernel can't pass compile with
"IOMUX_TO_IRQ(MX35_PAD_GPIO1_1__GPIO1_1)"
Thanks,
Xiao Jiang
> Regards,
>
> Fabio Estevam
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20101019/f8e89f05/attachment-0001.html>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/1] Mx35pdk: enable debug board support
2010-10-19 15:59 ` xiao jiang
@ 2010-10-19 16:54 ` Fabio Estevam
2010-10-19 18:20 ` Fabio Estevam
0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2010-10-19 16:54 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Oct 19, 2010 at 1:59 PM, xiao jiang <jgq516@gmail.com> wrote:
>
>
...
>>
> I don't think so, since **_PIN_** is expected for IOMUX_TO_IRQ, not
> **_PAD_**, and I think kernel can't pass compile with
> "IOMUX_TO_IRQ(MX35_PAD_GPIO1_1__GPIO1_1)"
Have you tried the same method as in MX51_3ds?
#define EXPIO_PARENT_INT (MXC_INTERNAL_IRQS + GPIO_PORTx + y)
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/1] Mx35pdk: enable debug board support
2010-10-19 16:54 ` Fabio Estevam
@ 2010-10-19 18:20 ` Fabio Estevam
2010-10-20 1:45 ` xiao jiang
0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2010-10-19 18:20 UTC (permalink / raw)
To: linux-arm-kernel
Xiao,
On Tue, Oct 19, 2010 at 2:54 PM, Fabio Estevam <festevam@gmail.com> wrote:
> On Tue, Oct 19, 2010 at 1:59 PM, xiao jiang <jgq516@gmail.com> wrote:
>>
>>
> ...
>>>
>> I don't think so, since **_PIN_** is expected for IOMUX_TO_IRQ, not
>> **_PAD_**, and I think kernel can't pass compile with
>> "IOMUX_TO_IRQ(MX35_PAD_GPIO1_1__GPIO1_1)"
>
> Have you tried the same method as in MX51_3ds?
>
> #define EXPIO_PARENT_INT ? ?(MXC_INTERNAL_IRQS + GPIO_PORTx + y)
>
> Regards,
>
> Fabio Estevam
>
Please try the the patch below. Worked fine for me.
diff --git a/arch/arm/mach-mx3/Kconfig b/arch/arm/mach-mx3/Kconfig
index 096fd33..9658e2d 100644
--- a/arch/arm/mach-mx3/Kconfig
+++ b/arch/arm/mach-mx3/Kconfig
@@ -143,6 +143,7 @@ config MACH_ARMADILLO5X0
config MACH_MX35_3DS
bool "Support MX35PDK platform"
select ARCH_MX35
+ select MXC_DEBUG_BOARD
select IMX_HAVE_PLATFORM_IMX_UART
select IMX_HAVE_PLATFORM_MXC_NAND
default n
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c
b/arch/arm/mach-mx3/mach-mx35_3ds.c
index 91bb065..b7e6b9c 100644
--- a/arch/arm/mach-mx3/mach-mx35_3ds.c
+++ b/arch/arm/mach-mx3/mach-mx35_3ds.c
@@ -39,10 +39,15 @@
#include <mach/common.h>
#include <mach/iomux-mx35.h>
#include <mach/mxc_ehci.h>
+#include <mach/3ds_debugboard.h>
+#include <mach/irqs.h>
#include "devices-imx35.h"
#include "devices.h"
+#define EXPIO_PARENT_INT (MXC_INTERNAL_IRQS + GPIO_PORTA + 1)
+
static const struct imxuart_platform_data uart_pdata __initconst = {
.flags = IMXUART_HAVE_RTSCTS,
};
@@ -140,6 +145,10 @@ static void __init mxc_board_init(void)
mxc_register_device(&mxc_usbh1, &usb_host_pdata);
imx35_add_mxc_nand(&mx35pdk_nand_board_info);
+
+ if (!mxc_expio_init(MX35_CS5_BASE_ADDR, EXPIO_PARENT_INT))
+ printk(KERN_WARNING "Init of the debugboard failed, all "
+ "devices on the board are unusable.\n");
}
static void __init mx35pdk_timer_init(void)
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 1/1] Mx35pdk: enable debug board support
2010-10-19 18:20 ` Fabio Estevam
@ 2010-10-20 1:45 ` xiao jiang
2010-10-20 3:19 ` Fabio Estevam
0 siblings, 1 reply; 10+ messages in thread
From: xiao jiang @ 2010-10-20 1:45 UTC (permalink / raw)
To: linux-arm-kernel
Hi Fabio,
2010/10/20 Fabio Estevam <festevam@gmail.com>
> Xiao,
>
> On Tue, Oct 19, 2010 at 2:54 PM, Fabio Estevam <festevam@gmail.com> wrote:
> > On Tue, Oct 19, 2010 at 1:59 PM, xiao jiang <jgq516@gmail.com> wrote:
> >>
> >>
> > ...
> >>>
> >> I don't think so, since **_PIN_** is expected for IOMUX_TO_IRQ, not
> >> **_PAD_**, and I think kernel can't pass compile with
> >> "IOMUX_TO_IRQ(MX35_PAD_GPIO1_1__GPIO1_1)"
> >
> > Have you tried the same method as in MX51_3ds?
> >
> > #define EXPIO_PARENT_INT (MXC_INTERNAL_IRQS + GPIO_PORTx + y)
> >
> > Regards,
> >
> > Fabio Estevam
> >
>
> Please try the the patch below. Worked fine for me.
>
The patch is ok for me too, and the definition of EXPIO_PARENT_INT is
similar like mx51_3ds board
as I had said before.
But since mxc_expio_init() should be return *0* if the debug board is
detected, We should use
mxc_expio_init(**_BASE_ADDR, EXPIO_PARENT_INT) other than
!mxc_expio_init(**_BASE_ADDR, EXPIO_PARENT_INT), right? The same issue also
existed in mach-mx31_3ds.c.
Thanks,
Xiao Jiang
diff --git a/arch/arm/mach-mx3/Kconfig b/arch/arm/mach-mx3/Kconfig
> index 096fd33..9658e2d 100644
> --- a/arch/arm/mach-mx3/Kconfig
> +++ b/arch/arm/mach-mx3/Kconfig
> @@ -143,6 +143,7 @@ config MACH_ARMADILLO5X0
> config MACH_MX35_3DS
> bool "Support MX35PDK platform"
> select ARCH_MX35
> + select MXC_DEBUG_BOARD
> select IMX_HAVE_PLATFORM_IMX_UART
> select IMX_HAVE_PLATFORM_MXC_NAND
> default n
> diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c
> b/arch/arm/mach-mx3/mach-mx35_3ds.c
> index 91bb065..b7e6b9c 100644
> --- a/arch/arm/mach-mx3/mach-mx35_3ds.c
> +++ b/arch/arm/mach-mx3/mach-mx35_3ds.c
> @@ -39,10 +39,15 @@
> #include <mach/common.h>
> #include <mach/iomux-mx35.h>
> #include <mach/mxc_ehci.h>
> +#include <mach/3ds_debugboard.h>
> +#include <mach/irqs.h>
>
> #include "devices-imx35.h"
> #include "devices.h"
>
> +#define EXPIO_PARENT_INT (MXC_INTERNAL_IRQS + GPIO_PORTA + 1)
> +
> static const struct imxuart_platform_data uart_pdata __initconst = {
> .flags = IMXUART_HAVE_RTSCTS,
> };
> @@ -140,6 +145,10 @@ static void __init mxc_board_init(void)
> mxc_register_device(&mxc_usbh1, &usb_host_pdata);
>
> imx35_add_mxc_nand(&mx35pdk_nand_board_info);
> +
> + if (!mxc_expio_init(MX35_CS5_BASE_ADDR, EXPIO_PARENT_INT))
> + printk(KERN_WARNING "Init of the debugboard failed, all "
> + "devices on the board are
> unusable.\n");
> }
>
> static void __init mx35pdk_timer_init(void)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20101020/52825fdd/attachment-0001.html>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/1] Mx35pdk: enable debug board support
2010-10-20 1:45 ` xiao jiang
@ 2010-10-20 3:19 ` Fabio Estevam
0 siblings, 0 replies; 10+ messages in thread
From: Fabio Estevam @ 2010-10-20 3:19 UTC (permalink / raw)
To: linux-arm-kernel
Xiao,
On Tue, Oct 19, 2010 at 11:45 PM, xiao jiang <jgq516@gmail.com> wrote:
>
> The patch is ok for me too,? and? the definition of EXPIO_PARENT_INT is
> similar like mx51_3ds board
> as I had said before.
> But since mxc_expio_init() should be return 0 if the debug board is
> detected, We should use
> mxc_expio_init(**_BASE_ADDR, EXPIO_PARENT_INT) other than
> !mxc_expio_init(**_BASE_ADDR, EXPIO_PARENT_INT), right?? The same issue also
> existed in mach-mx31_3ds.c.
mxc_expio_init returns 0 if the debug board is detected.
!mxc_expio_init returns 1 and print the error message.
So this is correct. I also get a message during the kernel boot saying
that the debug board was succesfully detected.
If you want, please resubmit a v2 of your original patch and also add my:
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Regards,
Fabio Esevam
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-10-20 3:19 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-15 8:00 [PATCH 1/1] Mx35pdk: enable debug board support jgq516 at gmail.com
2010-10-18 12:53 ` xiao jiang
2010-10-18 16:07 ` Fabio Estevam
2010-10-19 1:50 ` xiao jiang
2010-10-19 15:13 ` Fabio Estevam
2010-10-19 15:59 ` xiao jiang
2010-10-19 16:54 ` Fabio Estevam
2010-10-19 18:20 ` Fabio Estevam
2010-10-20 1:45 ` xiao jiang
2010-10-20 3:19 ` Fabio Estevam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).