mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
powerpc: Drop Open Hack'Ware - remove GRUB_IEEE1275_FLAG_FORCE_CLAIM
Open Hack'Ware was the only user. It added a lot of complexity. Signed-off-by: Daniel Axtens <dja@axtens.net> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
f9ce538eec
commit
333e63b356
4 files changed
+1
-34
No files matched your search
@@ -38,8 +38,6 @@ grub_relocator_firmware_get_max_events (void)
|
||||
{
|
||||
int counter = 0;
|
||||
|
||||
if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_FORCE_CLAIM))
|
||||
return 0;
|
||||
grub_machine_mmap_iterate (count, &counter);
|
||||
return 2 * counter;
|
||||
}
|
||||
@@ -92,8 +90,6 @@ grub_relocator_firmware_fill_events (struct grub_relocator_mmap_event *events)
|
||||
.counter = 0
|
||||
};
|
||||
|
||||
if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_FORCE_CLAIM))
|
||||
return 0;
|
||||
grub_machine_mmap_iterate (grub_relocator_firmware_fill_events_iter, &ctx);
|
||||
return ctx.counter;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user