gma broxton: Implement pre-PLL setup for DDI PHYs
Some lane configuration that's supposed to happen before enabling
the display PLL.
Change-Id: I08ec3ac26164061b19d695ab600d6bb9eeadd7ad
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/18424
Tested-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/common/broxton/hw-gfx-gma-plls.adb b/common/broxton/hw-gfx-gma-plls.adb
index 8c87507..7da47f2 100644
--- a/common/broxton/hw-gfx-gma-plls.adb
+++ b/common/broxton/hw-gfx-gma-plls.adb
@@ -17,6 +17,7 @@
with HW.GFX.GMA.Config;
with HW.GFX.GMA.Registers;
+with HW.GFX.GMA.DDI_Phy;
use HW.GFX.GMA.Registers;
@@ -461,6 +462,7 @@
end if;
if Success then
+ DDI_Phy.Pre_PLL (Port_Cfg);
Program_DPLL (PLL, Clock);
end if;
end Alloc;