mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-29 09:45:52 +00:00
efi_loader: incorrect check against FDT_ADDR_T_NONE
With commit0d7c2913fd
("cmd: bootefi: Honor the address & size cells properties correctly") addr was replaced by fdt_addr. But not in the check against FDT_ADDR_T_NONE. Fixes:0d7c2913fd
("cmd: bootefi: Honor the address & size cells properties correctly") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
e4c1c48eeb
commit
039d4f50e4
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ static void efi_carve_out_dt_rsv(void *fdt)
|
||||||
* The /reserved-memory node may have children with
|
* The /reserved-memory node may have children with
|
||||||
* a size instead of a reg property.
|
* a size instead of a reg property.
|
||||||
*/
|
*/
|
||||||
if (addr != FDT_ADDR_T_NONE &&
|
if (fdt_addr != FDT_ADDR_T_NONE &&
|
||||||
fdtdec_get_is_enabled(fdt, subnode))
|
fdtdec_get_is_enabled(fdt, subnode))
|
||||||
efi_reserve_memory(fdt_addr, fdt_size);
|
efi_reserve_memory(fdt_addr, fdt_size);
|
||||||
subnode = fdt_next_subnode(fdt, subnode);
|
subnode = fdt_next_subnode(fdt, subnode);
|
||||||
|
|
Loading…
Add table
Reference in a new issue