* [U-Boot] [PATCH] mx35pdk:Use IMX_GPIO_NR macro
@ 2012-11-07 17:37 Ashok Kumar Reddy
2012-11-07 17:49 ` Stefano Babic
2013-01-05 16:45 ` Stefano Babic
0 siblings, 2 replies; 3+ messages in thread
From: Ashok Kumar Reddy @ 2012-11-07 17:37 UTC (permalink / raw)
To: u-boot
Use IMX_GPO_NR macro
Signed-off-by: Ashok Kumar Reddy <ashokkourla2000@gmail.com>
---
board/freescale/mx35pdk/mx35pdk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/freescale/mx35pdk/mx35pdk.c b/board/freescale/mx35pdk/mx35pdk.c
index 7cb6b30..e9b3827 100644
--- a/board/freescale/mx35pdk/mx35pdk.c
+++ b/board/freescale/mx35pdk/mx35pdk.c
@@ -246,7 +246,7 @@ int board_late_init(void)
mxc_request_iomux(MX35_PIN_COMPARE, MUX_CONFIG_GPIO);
mxc_iomux_set_input(MUX_IN_GPIO1_IN_5, INPUT_CTL_PATH0);
- gpio_direction_output(37, 1);
+ gpio_direction_output(IMX_GPIO_NR(2, 5), 1);
}
val = mc9sdz60_reg_read(MC9SDZ60_REG_GPIO_1) | 0x04;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] mx35pdk:Use IMX_GPIO_NR macro
2012-11-07 17:37 [U-Boot] [PATCH] mx35pdk:Use IMX_GPIO_NR macro Ashok Kumar Reddy
@ 2012-11-07 17:49 ` Stefano Babic
2013-01-05 16:45 ` Stefano Babic
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2012-11-07 17:49 UTC (permalink / raw)
To: u-boot
On 07/11/2012 18:37, Ashok Kumar Reddy wrote:
> Use IMX_GPO_NR macro
>
> Signed-off-by: Ashok Kumar Reddy <ashokkourla2000@gmail.com>
> ---
> board/freescale/mx35pdk/mx35pdk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/freescale/mx35pdk/mx35pdk.c b/board/freescale/mx35pdk/mx35pdk.c
> index 7cb6b30..e9b3827 100644
> --- a/board/freescale/mx35pdk/mx35pdk.c
> +++ b/board/freescale/mx35pdk/mx35pdk.c
> @@ -246,7 +246,7 @@ int board_late_init(void)
> mxc_request_iomux(MX35_PIN_COMPARE, MUX_CONFIG_GPIO);
> mxc_iomux_set_input(MUX_IN_GPIO1_IN_5, INPUT_CTL_PATH0);
>
> - gpio_direction_output(37, 1);
> + gpio_direction_output(IMX_GPIO_NR(2, 5), 1);
> }
>
> val = mc9sdz60_reg_read(MC9SDZ60_REG_GPIO_1) | 0x04;
>
Acked-by: Stefano Babic <sbabic@denx.de>
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] mx35pdk:Use IMX_GPIO_NR macro
2012-11-07 17:37 [U-Boot] [PATCH] mx35pdk:Use IMX_GPIO_NR macro Ashok Kumar Reddy
2012-11-07 17:49 ` Stefano Babic
@ 2013-01-05 16:45 ` Stefano Babic
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2013-01-05 16:45 UTC (permalink / raw)
To: u-boot
On 07/11/2012 18:37, Ashok Kumar Reddy wrote:
> Use IMX_GPO_NR macro
>
> Signed-off-by: Ashok Kumar Reddy <ashokkourla2000@gmail.com>
> ---
> board/freescale/mx35pdk/mx35pdk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/freescale/mx35pdk/mx35pdk.c b/board/freescale/mx35pdk/mx35pdk.c
> index 7cb6b30..e9b3827 100644
> --- a/board/freescale/mx35pdk/mx35pdk.c
> +++ b/board/freescale/mx35pdk/mx35pdk.c
> @@ -246,7 +246,7 @@ int board_late_init(void)
> mxc_request_iomux(MX35_PIN_COMPARE, MUX_CONFIG_GPIO);
> mxc_iomux_set_input(MUX_IN_GPIO1_IN_5, INPUT_CTL_PATH0);
>
> - gpio_direction_output(37, 1);
> + gpio_direction_output(IMX_GPIO_NR(2, 5), 1);
> }
>
> val = mc9sdz60_reg_read(MC9SDZ60_REG_GPIO_1) | 0x04;
>
Sorry for delay.
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-05 16:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-07 17:37 [U-Boot] [PATCH] mx35pdk:Use IMX_GPIO_NR macro Ashok Kumar Reddy
2012-11-07 17:49 ` Stefano Babic
2013-01-05 16:45 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox