gma: Rename Config_Type => Pipe_Config
This was long overdue. Originally, we only had one type of `confi-
guration` but those times are over. Thus, rename `Config_Type` to
`Pipe_Config` along with `Configs_Type` to `Pipe_Configs` and
`Config_Index` to `Pipe_Index` to give them more meaningful names.
Change-Id: Ic02c738f51b01a883e05eff1c94f9c2d6058fdc4
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/17749
Reviewed-by: Reto Buerki <reet@codelabs.ch>
diff --git a/common/haswell_shared/hw-gfx-gma-power_and_clocks_haswell.adb b/common/haswell_shared/hw-gfx-gma-power_and_clocks_haswell.adb
index e83efa9..41d340a 100644
--- a/common/haswell_shared/hw-gfx-gma-power_and_clocks_haswell.adb
+++ b/common/haswell_shared/hw-gfx-gma-power_and_clocks_haswell.adb
@@ -185,7 +185,7 @@
end if;
end PDW_On;
- function Need_PDW (Checked_Configs : Configs_Type) return Boolean is
+ function Need_PDW (Checked_Configs : Pipe_Configs) return Boolean is
begin
return (Checked_Configs (Primary).Port /= Disabled and
Checked_Configs (Primary).Port /= Internal) or
@@ -209,7 +209,7 @@
PDW_Off;
end Initialize;
- procedure Power_Set_To (Configs : Configs_Type) is
+ procedure Power_Set_To (Configs : Pipe_Configs) is
begin
if Need_PDW (Configs) then
PDW_On;
@@ -218,14 +218,14 @@
end if;
end Power_Set_To;
- procedure Power_Up (Old_Configs, New_Configs : Configs_Type) is
+ procedure Power_Up (Old_Configs, New_Configs : Pipe_Configs) is
begin
if not Need_PDW (Old_Configs) and Need_PDW (New_Configs) then
PDW_On;
end if;
end Power_Up;
- procedure Power_Down (Old_Configs, Tmp_Configs, New_Configs : Configs_Type)
+ procedure Power_Down (Old_Configs, Tmp_Configs, New_Configs : Pipe_Configs)
is
begin
if (Need_PDW (Old_Configs) or Need_PDW (Tmp_Configs)) and