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-dp_aux_request.adb b/common/hw-gfx-gma-dp_aux_request.adb
index 22064ab..97083b2 100644
--- a/common/hw-gfx-gma-dp_aux_request.adb
+++ b/common/hw-gfx-gma-dp_aux_request.adb
@@ -19,6 +19,7 @@
 
 with HW.GFX.GMA.Config;
 with HW.GFX.GMA.Registers;
+with HW.GFX.GMA.Power_And_Clocks;
 
 use type HW.Word8;
 use type HW.GFX.GMA.Registers.Registers_Invalid_Index;
@@ -162,7 +163,7 @@
       Success           :    out Boolean)
    with
       Global => (In_Out => Registers.Register_State,
-                 Input  => Time.State),
+                 Input  => (Time.State, Config.Raw_Clock)),
       Depends =>
         ((Registers.Register_State,
           Response,
@@ -170,6 +171,7 @@
           Success)
              =>
                (Registers.Register_State,
+                Config.Raw_Clock,
                 Time.State,
                 Port,
                 Request,
@@ -232,7 +234,7 @@
            (if Port = DP_A then
                Word32 ((Config.Default_CDClk_Freq + 1_000_000) / 2_000_000)
             else
-               Word32 ((Config.Default_RawClk_Freq + 1_000_000) / 2_000_000))
+               Word32 ((Config.Raw_Clock + 1_000_000) / 2_000_000))
          else 0);
 
       Busy : Boolean;