* grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Apply

PowerMac workaround to Xserves as well.
	Information supplied by: Benjamin Herrenschmidt.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-13 01:38:40 +02:00
parent a09eb54103
commit 61f1d93b09
2 changed files with 8 additions and 1 deletions

View file

@ -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.

View 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)