summaryrefslogtreecommitdiff
path: root/board/motionpro/motionpro.c
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2007-05-08 09:21:57 +0200
committerBartlomiej Sieka <tur@semihalf.com>2007-05-08 09:21:57 +0200
commit1f1369c34b629be94702684d41d3fddf0f6193e7 (patch)
treebf5b478f76960d37abfddf1fd9e6111198c977d5 /board/motionpro/motionpro.c
parent008861a2f3ef2c062744d733787c7e530a1b8761 (diff)
downloadu-boot-imx-1f1369c34b629be94702684d41d3fddf0f6193e7.zip
u-boot-imx-1f1369c34b629be94702684d41d3fddf0f6193e7.tar.gz
u-boot-imx-1f1369c34b629be94702684d41d3fddf0f6193e7.tar.bz2
[Motion-PRO] Enable Flat Device Tree support and modify default environment
to allow booting of FDT-expecting kernels.
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 95576ed..887aade 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 {
@@ -169,3 +172,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) */