commit | 28b417ce859490d6b06e71dbf4e842841e64d34d | [log] [tgz] |
---|---|---|
author | Thirupathaiah Annapureddy <thiruan@linux.microsoft.com> | Mon Jan 06 22:21:42 2020 -0800 |
committer | Simon Glass <sjg@chromium.org> | Wed Feb 05 19:33:46 2020 -0700 |
tree | b5ea6ca4eb3ee9bb609a35e176bf85c12b5ca18a | |
parent | 400175b0a7daa062ed88def052ae6d54ec56a7e9 [diff] |
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>