commit | 9a3b4de6a7f5ac059378648c823f9f3c3fedd776 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Fri Apr 18 17:41:05 2014 +0900 |
committer | Tom Rini <trini@ti.com> | Thu Jun 19 11:18:52 2014 -0400 |
tree | eb3ffab900ee19676838fe6b2c08886a3a618b07 | |
parent | b891a34e1fae08297553b859b56be92eb61dcbcc [diff] |
fdt_support: correct the return condition of fdt_initrd() 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@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>