[U-Boot] [PATCH] fdt: fix fdtdec_setup_memory_banksize()

Simon Glass sjg at chromium.org
Mon Jul 16 05:20:39 UTC 2018


On 13 July 2018 at 04:12, Jens Wiklander <jens.wiklander at linaro.org> wrote:
> 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 at linaro.org>
> ---
>  lib/fdtdec.c | 20 +++++++++++++++-----
>  1 file changed, 15 insertions(+), 5 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

But can you convert this to livetree at the same time? E.g. use ofnode
functions.

Regards,
Simon


More information about the U-Boot mailing list