grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] efi/fdt: set #address-cells/#size-cells on empty tree


From: Leif Lindholm
Subject: [PATCH 0/2] efi/fdt: set #address-cells/#size-cells on empty tree
Date: Mon, 11 Jun 2018 17:24:57 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]