mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
video: mxsfb: call remove() when booting OS
Add DM_FLAG_OS_PREPARE flag to ensure that the driver's
remove() callback is invoked before booting the kernel.
This is required to stop the LCDIF controller. This was
the behaviour with old driver without DM_VIDEO support.
Without stopping the LCDIF we sometimes observe incorrect
Linux logo position.
Fixes: ae0760584b
("imx: mx6ul_14x14_evk: convert to DM_VIDEO")
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reported-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
This commit is contained in:
parent
ab6ea931de
commit
8382b10192
1 changed files with 1 additions and 1 deletions
|
@ -429,6 +429,6 @@ U_BOOT_DRIVER(mxs_video) = {
|
|||
.bind = mxs_video_bind,
|
||||
.probe = mxs_video_probe,
|
||||
.remove = mxs_video_remove,
|
||||
.flags = DM_FLAG_PRE_RELOC,
|
||||
.flags = DM_FLAG_PRE_RELOC | DM_FLAG_OS_PREPARE,
|
||||
};
|
||||
#endif /* ifndef CONFIG_DM_VIDEO */
|
||||
|
|
Loading…
Add table
Reference in a new issue