]> git.sur5r.net Git - u-boot/commitdiff
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 2d21584b3376a528d8ae2b323a3f724bb43ed3fb..01eca81ba70996be6b8c37ec4473859292caaa8f 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;