mb,autoport: Fix GCC 9 Port_List build error
Port_List is an array of 8 elements, and GCC 9 is warning that there are no 'others' when all 8 elements are explicitly initialized, which is causing the build to fail. Remove the 'others => Disabled' clause to silence this. Change-Id: Id082e7a76641438f3fb4c4d976dbd254a7053473 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34918 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
293e6a96a9
commit
1b7b7a3697
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -27,7 +27,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -27,7 +27,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -28,7 +28,6 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
|
|
|
@ -925,8 +925,7 @@ private package GMA.Mainboard is
|
||||||
HDMI2,
|
HDMI2,
|
||||||
HDMI3,
|
HDMI3,
|
||||||
Analog,
|
Analog,
|
||||||
Internal,
|
Internal);
|
||||||
others => Disabled);
|
|
||||||
|
|
||||||
end GMA.Mainboard;
|
end GMA.Mainboard;
|
||||||
`)
|
`)
|
||||||
|
|
Loading…
Reference in New Issue