summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/cmd_bootm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index e61a304..5f1b6b6 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -40,8 +40,7 @@
#include <fdt.h>
#include <libfdt.h>
#include <fdt_support.h>
-#endif
-#if defined(CONFIG_OF_FLAT_TREE)
+#elif defined(CONFIG_OF_FLAT_TREE)
#include <ft_build.h>
#endif