aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r--common/cmd_bootm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index ab3c32ca3..3091a5889 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -929,7 +929,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
*/
(*kernel) (kbd, initrd_start, initrd_end, cmd_start, cmd_end);
-#else
+#else /* CONFIG_OF_FLAT_TREE */
/* move of_flat_tree if needed */
if (of_data) {
ulong of_start, of_len;
@@ -971,8 +971,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
/* ft_dump_blob(of_flat_tree); */
(*kernel) ((bd_t *)of_flat_tree, (ulong)kernel, 0, 0, 0);
}
-
-#endif
+#endif /* CONFIG_OF_FLAT_TREE */
}
#endif /* CONFIG_PPC */