]> git.sur5r.net Git - u-boot/commitdiff
bootstage: arm: fix fdt stashing code
authorMela Custodio <sessyargc@gmail.com>
Wed, 19 Feb 2014 15:16:56 +0000 (00:16 +0900)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 7 Apr 2014 21:03:13 +0000 (23:03 +0200)
The conditional is using a variable that is not defined.

Signed-off-by: Rommel G Custodio <sessyargc+u-boot@gmail.com>
arch/arm/lib/bootm.c

index 9782ddbb244aa0ea41298998a7dbb384cd34f648..47ee070593b7fed5094df4312f6994fc2c205cec 100644 (file)
@@ -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();