commit | e2da4c9e92c55051586f8856ac3c28afdc90fcff | [log] [tgz] |
---|---|---|
author | Jens Wiklander <jens.wiklander@linaro.org> | Fri Jul 13 12:12:11 2018 +0200 |
committer | Simon Glass <sjg@chromium.org> | Thu Jul 26 14:19:38 2018 -0600 |
tree | db92114d4305c970166cfbf1a451cb65dd12a446 | |
parent | 757868b21cf694b519de06a039c6ea412d8b4cf8 [diff] |
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: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>