summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2007-02-28 00:02:04 -0600
committerKim Phillips <kim.phillips@freescale.com>2007-03-02 14:08:26 -0600
commit781e026c8aa6f7e9eb5f0e72cc4d20971219b148 (patch)
treebca24fd201d3f2fd4b235ce58d4bc1ab6325ab29
parent4feab4de7bfc2cb2fed36ad76f93c3a69659bbaf (diff)
downloadu-boot-imx-781e026c8aa6f7e9eb5f0e72cc4d20971219b148.zip
u-boot-imx-781e026c8aa6f7e9eb5f0e72cc4d20971219b148.tar.gz
u-boot-imx-781e026c8aa6f7e9eb5f0e72cc4d20971219b148.tar.bz2
mpc83xx: fix implicit declaration of function 'ft_get_prop' warnings
(cherry picked from c5bf13b02284c3204a723566a9bab700e5059659 commit)
-rw-r--r--board/mpc832xemds/pci.c3
-rw-r--r--board/mpc8360emds/pci.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/board/mpc832xemds/pci.c b/board/mpc832xemds/pci.c
index 09f3ac3..d0a407a 100644
--- a/board/mpc832xemds/pci.c
+++ b/board/mpc832xemds/pci.c
@@ -18,6 +18,9 @@
#include <common.h>
#include <pci.h>
#include <i2c.h>
+#if defined(CONFIG_OF_FLAT_TREE)
+#include <ft_build.h>
+#endif
#include <asm/fsl_i2c.h>
diff --git a/board/mpc8360emds/pci.c b/board/mpc8360emds/pci.c
index 15a48dc..67cd709 100644
--- a/board/mpc8360emds/pci.c
+++ b/board/mpc8360emds/pci.c
@@ -18,6 +18,9 @@
#include <common.h>
#include <pci.h>
#include <i2c.h>
+#if defined(CONFIG_OF_FLAT_TREE)
+#include <ft_build.h>
+#endif
#include <asm/fsl_i2c.h>