summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMela Custodio <sessyargc@gmail.com>2014-02-20 00:16:56 +0900
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-04-07 23:03:13 +0200
commit91290cf728dd871c86f370119899789398d956af (patch)
tree287f45835039ab3946608371012ea7127a80f403 /arch/arm
parent42ddfad6ab6ad64d1c96a90636c36794284669b3 (diff)
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/lib/bootm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index 9782ddbb244..47ee070593b 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();