summaryrefslogtreecommitdiffstats
path: root/common/ft_build.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/ft_build.c')
-rw-r--r--common/ft_build.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/ft_build.c b/common/ft_build.c
index 980e40f55d..c85082fa14 100644
--- a/common/ft_build.c
+++ b/common/ft_build.c
@@ -22,10 +22,10 @@
#include <common.h>
#include <malloc.h>
#include <environment.h>
+#include <asm/byteorder.h>
+#include <stdio.h>
-#ifdef CONFIG_OF_FLAT_TREE
-
-#include <asm/errno.h>
+#include <errno.h>
#include <stddef.h>
#include <ft_build.h>
@@ -588,4 +588,4 @@ void ft_setup(void *blob, bd_t * bd, ulong initrd_start, ulong initrd_end)
ft_dump_blob(blob);
#endif
}
-#endif
+