commit | 452bc121027df6bc5ad59e25db8c6b0a4ecbe8a4 | [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 | 09b8d67f31eccc90ec74729589194e619303ba77 [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>