From: Mela Custodio Date: Wed, 19 Feb 2014 15:16:56 +0000 (+0900) Subject: bootstage: arm: fix fdt stashing code X-Git-Tag: v2014.04~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=91290cf728dd871c86f370119899789398d956af;p=u-boot bootstage: arm: fix fdt stashing code The conditional is using a variable that is not defined. Signed-off-by: Rommel G Custodio --- diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index 9782ddbb24..47ee070593 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();