Set #address-cells and #size-cells properties (to 2) for ARM*/UEFI systems when creating an empty DT at boot time. This resolves an issue seen in the wild with kexec on certain 64-bit ARM systems.
First part is moving out the prop_entry_size macro from lib/fdt.c and make it available in <grub/fdt.h> (with the required name change). Second part is adding the two properties to the empty tree. Leif Lindholm (2): fdt: move prop_entry_size to fdt.h efi/fdt: set address/size cells to 2 for empty tree grub-core/lib/fdt.c | 25 ++++++++++--------------- grub-core/loader/efi/fdt.c | 18 ++++++++++++++++-- include/grub/fdt.h | 5 +++++ 3 files changed, 31 insertions(+), 17 deletions(-) -- 2.11.0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel