grub/grub-core/loader
Leif Lindholm 347210a5d5 efi/fdt: Set address/size cells to 2 for empty tree
When booting an arm* system on UEFI with an empty device tree (currently
only when hardware description comes from ACPI), we don't currently set
default to 1 cell (32 bits).

Set both of these properties, to 2 cells (64 bits), to resolve issues
with kexec on some platforms.

This change corresponds with linux kernel commit ae8a442dfdc4
("efi/libstub/arm*: Set default address and size cells values for an empty dtb")
and ensures booting through grub does not behave differently from booting
the stub loader directly.

See also https://patchwork.kernel.org/patch/9561201/

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2018-06-23 21:43:00 +02:00
..
arm arm: switch linux loader to linux_arm_kernel_header struct 2018-02-23 22:42:42 +01:00
arm64 arm64: align linux kernel magic macro naming with i386 2018-02-23 22:42:42 +01:00
efi efi/fdt: Set address/size cells to 2 for empty tree 2018-06-23 21:43:00 +02:00
i386 chainloader: patch in BPB's sectors_per_track and num_heads 2018-03-14 13:23:27 +01:00
ia64/efi Remove grub_efi_allocate_pages. 2017-08-07 18:33:29 +02:00
mips Use full initializer for initrd_ctx to avoid fatal warnings with older GCC 2014-10-14 20:12:15 +04:00
powerpc/ieee1275 Use full initializer for initrd_ctx to avoid fatal warnings with older GCC 2014-10-14 20:12:15 +04:00
sparc64/ieee1275 OBP available region contains grub. Start at grub_phys_end. 2016-02-12 23:16:03 +01:00
aout.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
linux.c loader/linux: Make trailer initrd entry aligned again. 2015-07-20 19:07:20 +03:00
lzss.c Add LZSS Mach-O support (needed for new xnu kernelcache). 2012-02-29 13:26:13 +01:00
macho.c Add missing license section in macbless.mod and macho.mod. 2013-12-18 17:11:11 +01:00
macho32.c * grub-core/loader/machoXX.c: Fix compilation on non-i386. 2013-12-17 22:44:46 +01:00
macho64.c * grub-core/loader/machoXX.c: Fix compilation on non-i386. 2013-12-17 22:44:46 +01:00
machoXX.c Simplify few strings. 2013-05-07 11:44:15 +02:00
multiboot.c Fix compilation for x86_64-efi. 2017-09-07 13:55:22 +02:00
multiboot_elfxx.c mbi: Use per segment a separate relocator chunk 2018-06-23 21:36:02 +02:00
multiboot_mbi2.c multiboot: disentangle multiboot and multiboot2. 2017-08-14 14:08:54 +02:00
xnu.c loader/xnu: fix memory leak. 2015-01-27 22:12:06 +03:00
xnu_resume.c * grub-core/loader/xnu_resume.c (grub_xnu_resume): Reject empty images. 2013-10-28 14:25:22 +01:00