diff options
author | Bartlomiej Sieka <tur@semihalf.com> | 2007-05-08 09:21:57 +0200 |
---|---|---|
committer | Bartlomiej Sieka <tur@semihalf.com> | 2007-05-08 09:21:57 +0200 |
commit | 1f1369c34b629be94702684d41d3fddf0f6193e7 (patch) | |
tree | bf5b478f76960d37abfddf1fd9e6111198c977d5 /board/motionpro | |
parent | 008861a2f3ef2c062744d733787c7e530a1b8761 (diff) |
[Motion-PRO] Enable Flat Device Tree support and modify default environment
to allow booting of FDT-expecting kernels.
Diffstat (limited to 'board/motionpro')
-rw-r--r-- | board/motionpro/motionpro.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/board/motionpro/motionpro.c b/board/motionpro/motionpro.c index 95576ed56b8..887aadeeed2 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) */ |