]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: bootefi: Parse reserved-memory node from DT
authorAtish Patra <atish.patra@wdc.com>
Sat, 14 Mar 2020 00:11:30 +0000 (17:11 -0700)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 17 Mar 2020 07:29:52 +0000 (08:29 +0100)
commit7be64b885a360d0b7e78a5f624698a67513be53f
tree748771935d2e5184d9e279e12a55c31503701594
parenta415d61eac26a9108c26ef779f2009dc3062f5d8
cmd: bootefi: Parse reserved-memory node from DT

Currently, bootefi only parses memory reservation block to setup
EFI reserved memory mappings. However, it doesn't parse the
reserved-memory[1] device tree node that also can contain the
reserved memory regions.

Add capability to parse reserved-memory node and update the EFI memory
mappings accordingly.

1. <U-Boot source>/doc/device-tree-bindings/reserved-memory/reserved-memory.txt]

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Fix an endless loop.

The /reserved-memory node may have children without reg property. Remove
a superfluous debug statement.

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