imx: mx6ul_14x14_evk: turn of backlight and LCD before booting OS
PATCH 1/1 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 <[email protected]>
Reported-by Fabio Estevam <[email protected]>
--- board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 9 +++++++++ 1 file changed, 9 insertions(+)
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +9 -0
@@ -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>
Signature · 1 line
2.17.1
PATCH 1/1 imx: mx6ul_14x14_evk: turn of backlight and LCD before booting OS
HI Anatolij,
Quoted 5 lines · Anatolij Gustschin
This should help keeping the screen black when booting the kernel.
Signed-off-by Anatolij Gustschin <[email protected]>Reported-by Fabio Estevam <[email protected]>
Excellent! This keeps the screen black before booting the kernel:
Tested-by Fabio Estevam <[email protected]>
PATCH 1/1 imx: mx6ul_14x14_evk: turn of backlight and LCD before booting OS
In reply to Anatolij GustschinQuoted 4 lines
This should help keeping the screen black when booting the kernel.
Signed-off-by Anatolij Gustschin <[email protected]>Reported-by Fabio Estevam <[email protected]>Tested-by Fabio Estevam <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================