]> git.baikalelectronics.ru Git - uboot.git/commit
image: fdt: check "status" of "/reserved-memory" subnodes
authorThirupathaiah Annapureddy <thiruan@linux.microsoft.com>
Tue, 7 Jan 2020 06:21:42 +0000 (22:21 -0800)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:46 +0000 (19:33 -0700)
commit9f5223875c0624d00948812b7ca33efe87829e51
treeb5ea6ca4eb3ee9bb609a35e176bf85c12b5ca18a
parent71b7cb3d81078f5b6b6c0882aa8e4d4ded0da13b
image: fdt: check "status" of "/reserved-memory" subnodes

boot_fdt_add_mem_rsv_regions() scans the subnodes of
"/reserved-memory" and adds them to reserved lmb regions.
Currently this scanning does not take into "status" property.
Even if the subnode is disabled, it gets added to the
reserved lmb regions.

This patch checks the "status" property before adding it
to reserved lmb regions.

Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
common/image-fdt.c