gma: Make Raw_Clock a variable
On GMCH the Raw_Clock depends on the FSB frequency.
Change-Id: I11af9ecb3504983ba1d3136c1b82bd14363afdba
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/25403
Reviewed-by: Nico Huber <nico.h@gmx.de>
diff --git a/common/hw-gfx-gma.adb b/common/hw-gfx-gma.adb
index d8438ab..a4445ba 100644
--- a/common/hw-gfx-gma.adb
+++ b/common/hw-gfx-gma.adb
@@ -46,7 +46,7 @@
HPD_Delay, Wait_For_HPD,
Linear_FB_Base),
Init_State => Initialized,
- Config_State => Config.Valid_Port_GPU,
+ Config_State => (Config.Valid_Port_GPU, Config.Raw_Clock),
Device_State =>
(Dev.PCI_State, Registers.Register_State, Registers.GTT_State))
is
@@ -307,7 +307,8 @@
Refined_Global =>
(In_Out =>
(Config.Valid_Port_GPU, Dev.PCI_State,
- Registers.Register_State, Port_IO.State),
+ Registers.Register_State, Port_IO.State,
+ Config.Raw_Clock),
Input =>
(Time.State),
Output =>