summaryrefslogtreecommitdiff
path: root/board/freescale/mx6ul_14x14_evk
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mx6ul_14x14_evk')
-rw-r--r--board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
index 086e0e6739..9cb5b14f13 100644
--- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
+++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
@@ -384,6 +384,15 @@ int checkboard(void)
return 0;
}
+/*
+ * Backlight off and reset LCD before OS handover
+ */
+void board_preboot_os(void)
+{
+ gpio_set_value(IMX_GPIO_NR(1, 8), 0);
+ gpio_set_value(IMX_GPIO_NR(5, 9), 0);
+}
+
#ifdef CONFIG_SPL_BUILD
#include <linux/libfdt.h>
#include <spl.h>