mx6qarm2:Use IMX_GPIO_NR macro
PATCH 1/1 mx6qarm2:Use IMX_GPIO_NR macro
From 0a92ab264ca7f87f198afe401bc552000fe2bd12 Mon Sep 17 00:00:00 2001
From: Ashok Kumar Reddy <[email protected]>
Date: Thu, 23 Aug 2012 21:01:34 +0530
Subject: [PATCH] mx6qarm2:Use IMX_GPIO_NR macro
--- board/freescale/mx6qarm2/mx6qarm2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
(quoted diff) +0 -0
b/board/freescale/mx6qarm2/mx6qarm2.c
index 340c4c4..3218993 100644
board/freescale/mx6qarm2/mx6qarm2.c +2 -2
@@ -126,8 +126,8 @@ int board_mmc_getcd(struct mmc *mmc)int ret;if (cfg->esdhc_base ==USDHC3_BASE_ADDR ) { -gpio_direction_input (171 );/*GPIO6_11*/ - ret = !gpio_get_value (171 ); +gpio_direction_input (IMX_GPIO_NR (6 ,11 )); + ret = !gpio_get_value (IMX_GPIO_NR (6 ,11 )); }else /* Don't have the CD GPIO pin on board */ ret =1 ;
Signature · 1 line
1.7.9.5
PATCH 1/1 mx6qarm2:Use IMX_GPIO_NR macro
Quoted 6 lines · Ashok
From
0a92ab264ca7f87f198afe401bc552000fe2bd12Mon Sep 17 00:00:00 2001
From: Ashok Kumar Reddy <[email protected]>
Date: Thu, 23 Aug 2012 21:01:34 +0530
Subject: [PATCH] mx6qarm2:UseIMX_GPIO_NRmacroSigned-off-by Ashok Kumar Reddy <[email protected]>
PATCH 1/1 mx6qarm2:Use IMX_GPIO_NR macro
In reply to AshokQuoted 16 lines · Ashok
From
0a92ab264ca7f87f198afe401bc552000fe2bd12Mon Sep 17 00:00:00 2001
From: Ashok Kumar Reddy <[email protected]>
Date: Thu, 23 Aug 2012 21:01:34 +0530
Subject: [PATCH] mx6qarm2:UseIMX_GPIO_NRmacroSigned-off-by Ashok Kumar Reddy <[email protected]>--- board/freescale/mx6qarm2/mx6qarm2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)board/freescale/mx6qarm2/mx6qarm2.c +0
-0
board/freescale/mx6qarm2/mx6qarm2.c int board_mmc_getcd(struct mmc *mmc) · line 133
Quoted 10 lines
board/freescale/mx6qarm2/mx6qarm2.c +2
-2@@ -126,8 +126,8 @@ int board_mmc_getcd(struct mmc *mmc)int ret;if (cfg->esdhc_base ==USDHC3_BASE_ADDR ) { -gpio_direction_input (171 );/*GPIO6_11*/ - ret = !gpio_get_value (171 ); +gpio_direction_input (IMX_GPIO_NR (6 ,11 )); + ret = !gpio_get_value (IMX_GPIO_NR (6 ,11 )); }else /* Don't have the CD GPIO pin on board */ ret =1 ;
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== 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 =====================================================================