]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: consider no-map property of reserved memory
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 27 Aug 2020 10:52:20 +0000 (12:52 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 6 Oct 2020 05:43:56 +0000 (07:43 +0200)
commite3f00d6da234afdd9a694f18f0bfb51077d0ef8b
tree30f4dc7ae390d84c71ba9e0d62524ce34df5791b
parentb39e2f33f27b80e9713592c5cb74302757c8e2a2
efi_loader: consider no-map property of reserved memory

The device tree may contain a /reserved-memory node. The no-map property
of the sub-nodes signals if the memory may be accessed by the UEFI payload
or not.

In the EBBR specification (https://github.com/arm-software/ebbr) the
modeling of the reserved memory has been clarified.

If a reserved memory node in the device tree has the no-map property map,
create a EfiReservedMemoryType memory map entry else use
EfiBootServicesData.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/bootefi.c