summaryrefslogtreecommitdiff
path: root/include/command.h
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2020-09-12 12:42:52 +0200
committerTom Rini <[email protected]>2020-09-16 16:54:00 -0400
commit81d0cef3b268ccc4f1061a3e29850fbd23166d20 (patch)
treed066c5a91273a63c908b14b177c9d568072fe83d /include/command.h
parent7def4e621b7c65b4a3740a554dcbc807e23b1c19 (diff)
lib: fdt: Fix fdtdec_setup_mem..() conversion to livetree API
Repair incorrectly negated condition in the original patch which broke DT memory node parsing on everything which has more than one DT memory node, e.g. R-Car3. In case multiple valid memory nodes are present in the DT, the original patch would complete parsing cycle for the first memory node, then move on to the next one, identify it as a valid, and end the parsing. The fix is to invert the condition, to make the code behave as it did before the livetree conversion, so it would continue parsing the subsequent memory nodes as well. Fixes: c2f0950c33 ("lib: fdt: Convert fdtdes_setup_mem..() to livetree API") Signed-off-by: Marek Vasut <[email protected]> Cc: Michal Simek <[email protected]> Cc: Simon Glass <[email protected]> Cc: Tom Rini <[email protected]> Tested-by: Biju Das <[email protected]> Reviewed-by: Michal Simek <[email protected]>
Diffstat (limited to 'include/command.h')
0 files changed, 0 insertions, 0 deletions