gma tgl: Add dummy `when others =>` to calm GNAT
We already prove the subtype predicate, however GNAT doesn't know
that and may warn that a given value may not be covered:
warning: pragma Restrictions (No_Exception_Propagation) in effect [-gnatw.x]
warning: "Constraint_Error" may call Last_Chance_Handler [-gnatw.x]
Change-Id: Ie62210a78f950cf866f21c11f9577b45f72265ab
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.sourcearcade.org/c/libgfxinit/+/512
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: Nico Huber <nico.h@gmx.de>
diff --git a/common/tigerlake/hw-gfx-gma-plls-combo_phy.adb b/common/tigerlake/hw-gfx-gma-plls-combo_phy.adb
index 7424b98..d74cf56 100644
--- a/common/tigerlake/hw-gfx-gma-plls-combo_phy.adb
+++ b/common/tigerlake/hw-gfx-gma-plls-combo_phy.adb
@@ -80,7 +80,8 @@
when 2 => 2#0001#,
when 3 => 2#0010#,
when 5 => 2#0100#,
- when 7 => 2#1000#);
+ when 7 => 2#1000#,
+ when others => 1);
subtype QDiv_Range is Positive range 1 .. 255;