]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct includes for flat tree builder.
authorMarian Balakowicz <m8@semihalf.com>
Fri, 28 Oct 2005 16:08:03 +0000 (18:08 +0200)
committerMarian Balakowicz <m8@semihalf.com>
Fri, 28 Oct 2005 16:08:03 +0000 (18:08 +0200)
common/ft_build.c

index 624a1e165941356fc6bcaca4f85814fdfd53c677..65a274f84087eea80f94d76b4f9987a081845617 100644 (file)
@@ -6,13 +6,13 @@
 #include <malloc.h>
 #include <environment.h>
 
+#ifdef CONFIG_OF_FLAT_TREE
+
 #include <asm/errno.h>
 #include <stddef.h>
 
 #include <ft_build.h>
 
-#ifdef CONFIG_OF_FLAT_TREE
-
 /* align addr on a size boundary - adjust address up if needed -- Cort */
 #define _ALIGN(addr,size)       (((addr)+(size)-1)&(~((size)-1)))