mx53ard: Use IMX_GPIO_NR macro
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 21 Aug 2012 10:01:58 +0000 (10:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:28 +0000 (14:58 +0200)
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/freescale/mx53ard/mx53ard.c

index 2d21584..01eca81 100644 (file)
@@ -33,7 +33,7 @@
 #include <fsl_esdhc.h>
 #include <asm/gpio.h>
 
-#define ETHERNET_INT           (1 * 32 + 31)  /* GPIO2_31 */
+#define ETHERNET_INT           IMX_GPIO_NR(2, 31)
 
 DECLARE_GLOBAL_DATA_PTR;