Use (Width|Height)_Type for modeline sizes
Saves us a lot of conversions and explicit contracts.
Change-Id: I32c06ca87b18c25e3c519fa608c4b9b36dbc0449
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/26849
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/common/hw-gfx-gma.ads b/common/hw-gfx-gma.ads
index 410f411..1f81ece 100644
--- a/common/hw-gfx-gma.ads
+++ b/common/hw-gfx-gma.ads
@@ -210,9 +210,9 @@
----------------------------------------------------------------------------
- Tile_Width : constant array (Tiling_Type) of Pos32 :=
+ Tile_Width : constant array (Tiling_Type) of Width_Type :=
(Linear => 16, X_Tiled => 128, Y_Tiled => 32);
- Tile_Rows : constant array (Tiling_Type) of Pos32 :=
+ Tile_Rows : constant array (Tiling_Type) of Height_Type :=
(Linear => 1, X_Tiled => 8, Y_Tiled => 32);
function FB_Pitch (Px : Pos_Pixel_Type; FB : Framebuffer_Type) return Natural