summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/bootm.c
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/lib/bootm.c
parent42ddfad6ab6ad64d1c96a90636c36794284669b3 (diff)
downloadblackbird-obmc-uboot-91290cf728dd871c86f370119899789398d956af.tar.gz
blackbird-obmc-uboot-91290cf728dd871c86f370119899789398d956af.zip
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/lib/bootm.c')
-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 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();
OpenPOWER on IntegriCloud