]> code.ossystems Code Review - openembedded-core.git/commit
grub2: fix some quirks and div by zero
authorAwais Belal <awais_belal@mentor.com>
Thu, 8 Dec 2016 14:09:39 +0000 (19:09 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Dec 2016 22:47:28 +0000 (22:47 +0000)
commit5e6ac806bd9b8bf885ef1e88484e91e4cdaaa69a
tree0c216879ac9333a30087e389ee2e9863b01e3030
parent8d4121459334349f10bfb0f4cda00a8461aab245
grub2: fix some quirks and div by zero

Rather than erroring out on a single attempt while
terminating EFI services, make a few retries because
such quirks are found in a few implementations.
Also fix a div by zero issue in the same framework
which causes an infinite reboot on the target.
Both patches included here are backports.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-bsp/grub/files/0001-grub-core-kern-efi-mm.c-grub_efi_finish_boot_service.patch [new file with mode: 0644]
meta/recipes-bsp/grub/files/0002-grub-core-kern-efi-mm.c-grub_efi_get_memory_map-Neve.patch [new file with mode: 0644]
meta/recipes-bsp/grub/grub2.inc