summaryrefslogtreecommitdiff
path: root/src/soc/rockchip/rk3288/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/rockchip/rk3288/display.c')
-rw-r--r--src/soc/rockchip/rk3288/display.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/rockchip/rk3288/display.c b/src/soc/rockchip/rk3288/display.c
index 30c8ca1d06..2298d8b6e3 100644
--- a/src/soc/rockchip/rk3288/display.c
+++ b/src/soc/rockchip/rk3288/display.c
@@ -128,6 +128,10 @@ void rk_display_init(device_t dev, u32 lcdbase,
case VOP_MODE_EDP:
default:
+ if (rk_edp_prepare()) {
+ printk(BIOS_WARNING, "edp prepare err\n");
+ return;
+ }
if (rk_edp_enable()) {
printk(BIOS_WARNING, "edp enable err\n");
return;