From a6f5f317cd074bbbfa2aab4fca05904c811c19fb Mon Sep 17 00:00:00 2001 From: Bryan O'Donoghue Date: Fri, 15 Feb 2008 01:05:58 +0000 Subject: 8xx : Add OF support to Adder875 board port - resubmit Signed-off-by: Bryan O'Donoghue --- board/adder/adder.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'board') diff --git a/board/adder/adder.c b/board/adder/adder.c index aa7815848c..817c8649aa 100644 --- a/board/adder/adder.c +++ b/board/adder/adder.c @@ -26,6 +26,9 @@ #include #include +#if defined(CONFIG_OF_LIBFDT) + #include +#endif /* * SDRAM is single Samsung K4S643232F-T70 chip (8MB) @@ -111,3 +114,11 @@ int checkboard( void ) return 0; } + +#if defined(CONFIG_OF_BOARD_SETUP) +void ft_board_setup(void *blob, bd_t *bd) +{ + ft_cpu_setup(blob, bd); + +} +#endif -- cgit