Skip to content
Snippets Groups Projects
Commit 452bc121 authored by Jens Wiklander's avatar Jens Wiklander Committed by Simon Glass
Browse files

fdt: fix fdtdec_setup_memory_banksize()


Prior to this patch is fdtdec_setup_memory_banksize() incorrectly
ignoring the "status" field. This patch fixes that by testing the status
with fdtdec_get_is_enabled() before using a memory node.

Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 09b8d67f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment