[U-Boot] [PATCH v2] fdt_support: Check for bank size before updating memory node

Simon Glass sjg at chromium.org
Thu Oct 29 18:16:14 CET 2015


On 24 October 2015 at 05:22, Lokesh Vutla <lokeshvutla at ti.com> wrote:
> In case if one of the bank that is passed is of size zero, then u-boot
> will be updating memory node with a bank of size zero. There is no need
> to update memory node if size is zero, so check for bank size before
> updating.
>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>
> ---
> Changes since v1:
> - Fixed a typo in commit message.
>
>  common/fdt_support.c | 3 +++
>  1 file changed, 3 insertions(+)

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


More information about the U-Boot mailing list