summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>