[U-Boot] [PATCH V2 1/2] bootstage: arm: fix fdt stashing code

Albert ARIBAUD albert.u.boot at aribaud.net
Tue Apr 8 00:00:13 CEST 2014


Hi Rommel,

On Thu, 20 Feb 2014 00:16:56 +0900, Rommel G Custodio
<sessyargc at gmail.com> wrote:

> The conditional is using a variable that is not defined.
> 
> Signed-off-by: Rommel G Custodio <sessyargc+u-boot at gmail.com>
> ---
>  arch/arm/lib/bootm.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
> index a8295bf..7f1b2e0 100644
> --- a/arch/arm/lib/bootm.c
> +++ b/arch/arm/lib/bootm.c
> @@ -71,8 +71,7 @@ static void announce_and_cleanup(int fake)
>  		"(fake run for tracing)" : "");
>  	bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel");
>  #ifdef CONFIG_BOOTSTAGE_FDT
> -	if (flag == BOOTM_STATE_OS_FAKE_GO)
> -		bootstage_fdt_add_report();
> +	bootstage_fdt_add_report();
>  #endif
>  #ifdef CONFIG_BOOTSTAGE_REPORT
>  	bootstage_report();

Applied to u-boot-arm/master, thanks!

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list