summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2005-10-28 18:08:03 +0200
committerMarian Balakowicz <m8@semihalf.com>2005-10-28 18:08:03 +0200
commitfe93483a0ab9dcbf7794ffbf0b029ba138380e81 (patch)
treef925d8755f613f4d73cdc4ef4f56ca4a05dc270e
parent170d5e6d4cb91ff5eaccf1779918567dc1c2cb00 (diff)
downloadu-boot-imx-fe93483a0ab9dcbf7794ffbf0b029ba138380e81.zip
u-boot-imx-fe93483a0ab9dcbf7794ffbf0b029ba138380e81.tar.gz
u-boot-imx-fe93483a0ab9dcbf7794ffbf0b029ba138380e81.tar.bz2
Correct includes for flat tree builder.
-rw-r--r--common/ft_build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/ft_build.c b/common/ft_build.c
index 624a1e1..65a274f 100644
--- a/common/ft_build.c
+++ b/common/ft_build.c
@@ -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)))