]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/freescale/mx53loco/mx53loco.c
mx53loco: Use IMX_GPIO_NR macro
[karo-tx-uboot.git] / board / freescale / mx53loco / mx53loco.c
index cbdcfadf2794897cab9c42ea15f37a253ed1fdf7..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;
 
@@ -495,14 +495,14 @@ int print_cpuinfo(void)
        return 0;
 }
 
-#ifdef CONFIG_BOARD_LATE_INIT
-int board_late_init(void)
+/*
+ * Do not overwrite the console
+ * Use always serial for U-Boot console
+ */
+int overwrite_console(void)
 {
-       setenv("stdout", "serial");
-
-       return 0;
+       return 1;
 }
-#endif
 
 int board_init(void)
 {