gma: Program PCH_RAWCLK_FREQ register

This seems to be a scratchpad register to tell later drivers which
frequency the platform uses. Linux reads this but never writes the
register.

Change-Id: I55af7c7b675da580c7f52d9997262b232019132c
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/17071
Tested-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
diff --git a/common/hw-gfx-gma-config.ads.template b/common/hw-gfx-gma-config.ads.template
index 4f374fd..cba1396 100644
--- a/common/hw-gfx-gma-config.ads.template
+++ b/common/hw-gfx-gma-config.ads.template
@@ -203,4 +203,18 @@
          when Sandybridge  => Full_Training,
          when others       => Auto_Training);
 
+   ----------------------------------------------------------------------------
+
+   Default_RawClk_Freq : constant Frequency_Type :=
+     (case CPU is
+         when Ironlake     |
+              Sandybridge  |
+              Ivybridge    => 125_000_000,
+         when Haswell      |
+              Broadwell    => (if CPU_Var = Normal then
+                                 125_000_000
+                               else
+                                 24_000_000),
+         when Skylake      => 24_000_000);
+
 end HW.GFX.GMA.Config;