]> git.sur5r.net Git - u-boot/commitdiff
mx53loco: Use IMX_GPIO_NR macro
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 21 Aug 2012 10:01:56 +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/mx53loco/mx53loco.c

index 7cfb3f46a2304f0f0ce84cd5761b77258aa4528f..3a39c3eaa7dbfbb0c2ddc954d7c73a0a1bb87898 100644 (file)
@@ -42,7 +42,7 @@
 #include <linux/fb.h>
 #include <ipu_pixfmt.h>
 
-#define MX53LOCO_LCD_POWER             (2 * 32 + 24)   /* GPIO3_24 */
+#define MX53LOCO_LCD_POWER             IMX_GPIO_NR(3, 24)
 
 DECLARE_GLOBAL_DATA_PTR;