]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: only reserve memory if fdt node enabled
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 24 Mar 2020 06:37:52 +0000 (07:37 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 28 Mar 2020 09:45:03 +0000 (10:45 +0100)
commitbb12a4390d210a4d9859628b917ae0ff6c11245a
tree9da1fd0a0404e1c6d3cce79ffe4efe7e6a9ba0bc
parentf58f7b87abcc6a4f0bbe568864412c6628227d88
efi_loader: only reserve memory if fdt node enabled

Sub-nodes of /reserved-memory may be disabled. In this case we should not
reserve memory in the memory map.

Reported-by: Patrick DELAUNAY <patrick.delaunay@st.com>
Fixes: 71941bd94c5b ("efi_loader: create reservations after
ft_board_setup")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
cmd/bootefi.c