]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Apply
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 12 Jun 2012 23:38:40 +0000 (01:38 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 12 Jun 2012 23:38:40 +0000 (01:38 +0200)
PowerMac workaround to Xserves as well.
Information supplied by: Benjamin Herrenschmidt.

ChangeLog
grub-core/kern/ieee1275/cmain.c

index faab5c5003f0c61fa42ec780498e576ccf49b082..55151bf8e640b61fc2d644cec77bde7d104f1efb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-06-13  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Apply
+       PowerMac workaround to Xserves as well.
+       Information supplied by: Benjamin Herrenschmidt.
+
 2012-06-13  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Don't assume that beginning address is also the entry point on ppc.
index e04ce5b694e9e0cae1619c13964860741f66a102..965ad05ce678274915efa637cb79ac1bdf615945 100644 (file)
@@ -91,7 +91,8 @@ grub_ieee1275_find_options (void)
   if (rc >= 0 && grub_strncmp (tmp, "IBM", 3) == 0)
     grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_NO_TREE_SCANNING_FOR_DISKS);
 
-  if (grub_strncmp (tmp, "PowerMac", sizeof ("PowerMac") - 1) == 0)
+  if (grub_strncmp (tmp, "PowerMac", sizeof ("PowerMac") - 1) == 0
+      || grub_strncmp (tmp, "RackMac", sizeof ("RackMac") - 1) == 0)
     grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_BROKEN_ADDRESS_CELLS);
 
   if (is_smartfirmware)