
On reset the standby bit is clear, but if U-Boot is chain-loaded from another boot loader it may be set. Clear it before starting up video so that it works correctly.
Signed-off-by: Simon Glass sjg@chromium.org ---
Changes in v2: None
drivers/video/rockchip/rk_vop.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c index b9b0b296ca..d970aae524 100644 --- a/drivers/video/rockchip/rk_vop.c +++ b/drivers/video/rockchip/rk_vop.c @@ -104,6 +104,9 @@ void rkvop_mode_set(struct rk3288_vop *regs, uint flags; int mode_flags;
+ /* remove from standby */ + rk_clrreg(®s->sys_ctrl, V_STANDBY_EN(1)); + switch (mode) { case VOP_MODE_HDMI: clrsetbits_le32(®s->sys_ctrl, M_ALL_OUT_EN,