]> 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>
Wed, 11 Jan 2017 11:46:51 +0000 (11:46 +0000)
commitdbe597b317067362e7acddbefd0d6768f6a44e8c
treee45cd94fd595acded369360e413a42abc9f73071
parent98a3e096eaa6cfdf1532c7c03c57222ae8cd6533
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.

(From OE-Core rev: 5e6ac806bd9b8bf885ef1e88484e91e4cdaaa69a)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.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