bootstage: arm: fix fdt stashing code

The conditional is using a variable that is not defined.

Signed-off-by: Rommel G Custodio <sessyargc+u-boot@gmail.com>
This commit is contained in:
Mela Custodio 2014-02-20 00:16:56 +09:00 committed by Albert ARIBAUD
parent 42ddfad6ab
commit 91290cf728

View 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();