summaryrefslogtreecommitdiffstats
path: root/common/cmd_bootm.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-10-26 16:24:31 +0200
committerWolfgang Denk <wd@denx.de>2006-10-26 16:24:31 +0200
commit2b2a40bebbf1822506e80e631d7253e60f0e0fe6 (patch)
treecb331a26115df79afa0baab69faff3ff066c8f75 /common/cmd_bootm.c
parentb9e9adce0bbbfdb47a816f25cc1f1d3a1b2cd14b (diff)
downloadtalos-obmc-uboot-2b2a40bebbf1822506e80e631d7253e60f0e0fe6.tar.gz
talos-obmc-uboot-2b2a40bebbf1822506e80e631d7253e60f0e0fe6.zip
Code cleanup.
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 ab3c32ca32..3091a58897 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 */
OpenPOWER on IntegriCloud