diff options
author | Anatolij Gustschin <agust@denx.de> | 2020-01-26 00:35:59 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-02-09 21:47:20 +0100 |
commit | 7814abc032ef381cf89004daf0f2ae3123550026 (patch) | |
tree | 0a04a9166307dd12e2e9fbb301663fe5919b26e2 /board/freescale/mx6ul_14x14_evk | |
parent | 2f2fdbe3f482cab28bac27d18a1197bb9654e647 (diff) | |
download | u-boot-7814abc032ef381cf89004daf0f2ae3123550026.tar.gz |
imx: mx6ul_14x14_evk: turn of backlight and LCD before booting OS
This should help keeping the screen black when booting the kernel.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reported-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'board/freescale/mx6ul_14x14_evk')
-rw-r--r-- | board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 9 |
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> |