]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
powerpc: Drop Open Hack'Ware - remove GRUB_IEEE1275_FLAG_NO_ANSI
authorDaniel Axtens <dja@axtens.net>
Mon, 6 Sep 2021 05:46:15 +0000 (15:46 +1000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 4 Oct 2021 12:30:44 +0000 (14:30 +0200)
Open Hack'Ware was the only user.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/term/ieee1275/console.c
include/grub/ieee1275/ieee1275.h

index 87cbc7a1e0d47a1372fa2bffa96eaab10539b137..255f0567bd4d67a1c6272fbd63f2e66c16f11d36 100644 (file)
@@ -248,9 +248,7 @@ grub_console_init_lately (void)
 {
   const char *type;
 
-  if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_NO_ANSI))
-    type = "dumb";
-  else if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN))
+  if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN))
     type = "ieee1275-nocursor";
   else
     type = "ieee1275";
index 8bf7b10a0793ba2251b73c83e08ec1ae68b8f3d1..6ce8605d6dafbc9f2934bd8d984298a4218c0dd9 100644 (file)
@@ -105,9 +105,6 @@ enum grub_ieee1275_flag
   /* OLPC / XO firmware hangs when accessing USB devices.  */
   GRUB_IEEE1275_FLAG_OFDISK_SDCARD_ONLY,
 
-  /* Open Hack'Ware don't support the ANSI sequence.  */
-  GRUB_IEEE1275_FLAG_NO_ANSI,
-
   /* OpenFirmware hangs on qemu if one requests any memory below 1.5 MiB.  */
   GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM,