[U-Boot] [PATCH v2] fdt: Allow non-FDT kernels to boot when CONFIG_OF_LIBFDT is defined
Simon Glass
sjg at chromium.org
Sun Nov 30 04:42:23 CET 2014
On 27 November 2014 at 14:24, Suriyan Ramasami <suriyan.r at gmail.com> wrote:
> The boot commands - bootz/bootm mandate a third argument which is the
> address to the FDT blob. In cases where this argument is not specified,
> boot fails with a message indicating a missing FDT.
>
> This causes non-FDT kernels to fail to boot. This patch allows both FDT
> and non-FDT kernels to boot by making the third parameter to the bootm/bootz
> optional.
>
> Signed-off-by: Suriyan Ramasami <suriyan.r at gmail.com>
>
> ---
>
> Changes in v2:
> - Simon: take care of real non error cases by introducing a no_fdt label to
> jump to instead of piggy backing on the error label. Also, use !select
> instead of argc <= 2.
> - I am assuming this will have to be Tested-by and Acked-by again as there
> are more code changes than before. Hence dropping them.
>
> Changes in v1:
> - First try
>
> common/image-fdt.c | 15 +++++++++++----
> 1 file changed, 11 insertions(+), 4 deletions(-)
Looks good, thanks!
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list