mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
2f2fdbe3f4
commit
7814abc032
1 changed files with 9 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue