gma config, port detection: Scatter Valid_Port initialization
We did overwrite most the default values for `Config.Valid_Port` anyway.
So move the few remaining defaults where they are visible together with
the other runtime settings.
Change-Id: I17df08de0aa1ffb303646ea564c100bb702407f5
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/27047
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/common/hw-gfx-gma.adb b/common/hw-gfx-gma.adb
index a443132..b3d9362 100644
--- a/common/hw-gfx-gma.adb
+++ b/common/hw-gfx-gma.adb
@@ -44,7 +44,7 @@
HPD_Delay, Wait_For_HPD,
Linear_FB_Base),
Init_State => Initialized,
- Config_State => (Config.Valid_Port_GPU, Config.Raw_Clock),
+ Config_State => (Config.Valid_Port, Config.Raw_Clock),
Device_State =>
(Dev.PCI_State, Registers.Register_State, Registers.GTT_State))
is
@@ -371,7 +371,7 @@
with
Refined_Global =>
(In_Out =>
- (Config.Valid_Port_GPU, Dev.PCI_State,
+ (Config.Valid_Port, Dev.PCI_State,
Registers.Register_State, Port_IO.State,
Config.Raw_Clock),
Input =>