grub/grub-core/osdep/linux
Steve McIntyre 686db96646 grub-install: Check for arm-efi as a default target
Much like on x86, we can work out if the system is running on top of EFI
firmware. If so, return "arm-efi". If not, fall back to "arm-uboot" as
previously.

Split out the code to (maybe) load the efivar module and check for
/sys/firmware/efi into a common helper routine is_efi_system().

Signed-off-by: Steve McIntyre <93sam@debian.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2019-02-26 15:25:13 +01:00
..
blocklist.c linux/blocklist: Fix memory leak. 2015-01-26 09:50:58 +01:00
emunet.c Split emunet into platform-dependent and GRUB-binding parts. Keep 2013-10-15 11:55:20 +02:00
getroot.c osdep/linux: handle autofs entries in /proc/self/mountinfo 2017-01-24 20:05:19 +03:00
hostdisk.c osdep/linux: Convert partition start to disk sector length 2018-09-27 14:53:32 +02:00
ofpath.c sparc64: Limit nvme of_path_of_nvme to just SPARC 2018-03-05 14:38:07 +01:00
platform.c grub-install: Check for arm-efi as a default target 2019-02-26 15:25:13 +01:00