[U-Boot] [PATCH v2 9/9] fdt_support: correct the return condition of fdt_initrd()

Simon Glass sjg at chromium.org
Sat May 24 03:29:55 CEST 2014


On 17 April 2014 22:41, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> Before this commit, fdt_initrd() just returned if initrd
> start address is zero.
> But it is possible if the RAM is located at address 0.
>
> This commit makes the return condition more reasonable:
> Just return if the size of initrd is zero.
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>

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

> ---
>
> Changes in v2: None
>
>  common/fdt_support.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>


More information about the U-Boot mailing list