diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-02-22 13:40:22 (GMT) |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2017-02-22 20:47:59 (GMT) |
commit | b24cf8540a85a9bf97975aadd6a7542f166c78a3 (patch) | |
tree | 885e3c15641f4ac0d3844396c53b8b22ceae417e /arch | |
parent | 4d6f9e0d21bb223ace577030ef69b8fbbd98f678 (diff) | |
download | u-boot-b24cf8540a85a9bf97975aadd6a7542f166c78a3.tar.xz |
video: mxsfb: Fix reset hang when videomode variable is not present
Currently the system hangs when the 'videomode' variable is not present
and a reset command is issued:
=> setenv videomode
=> saveenv
=> reset
(Board hangs)
lcdif_power_down() assumes that the LCDIF controller has been properly
configured and enabled, which may not be true.
To fix this issue check whether panel.frameAdrs has been initialized and
in case it has not been initialized, do not continue with the LCDIF
powerdown sequence.
Tested on a imx7dsabresd board.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions