summaryrefslogtreecommitdiff
path: root/board/motionpro/motionpro.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/motionpro/motionpro.c')
-rw-r--r--board/motionpro/motionpro.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/motionpro/motionpro.c b/board/motionpro/motionpro.c
index d60d233..58985b8 100644
--- a/board/motionpro/motionpro.c
+++ b/board/motionpro/motionpro.c
@@ -29,6 +29,9 @@
#include <common.h>
#include <mpc5xxx.h>
+#if defined(CONFIG_OF_FLAT_TREE)
+#include <ft_build.h>
+#endif
/* Kollmorgen DPR initialization data */
struct init_elem {
@@ -170,3 +173,11 @@ int checkboard (void)
puts("Board: Promess Motion-PRO board\n");
return 0;
}
+
+
+#if defined(CONFIG_OF_FLAT_TREE) && defined(CONFIG_OF_BOARD_SETUP)
+void ft_board_setup(void *blob, bd_t *bd)
+{
+ ft_cpu_setup(blob, bd);
+}
+#endif /* defined(CONFIG_OF_FLAT_TREE) && defined(CONFIG_OF_BOARD_SETUP) */