summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorBryan O'Donoghue <bodonoghue@codehermit.ie>2008-02-15 01:05:58 +0000
committerWolfgang Denk <wd@denx.de>2008-03-25 22:20:36 +0100
commita6f5f317cd074bbbfa2aab4fca05904c811c19fb (patch)
tree0ad6a5cf57b1fe46176ff5cf1253771633aaf25c /board
parentd058698fd2d9f769ff38ac53c8708b3fdd314f2d (diff)
downloadu-boot-imx-a6f5f317cd074bbbfa2aab4fca05904c811c19fb.zip
u-boot-imx-a6f5f317cd074bbbfa2aab4fca05904c811c19fb.tar.gz
u-boot-imx-a6f5f317cd074bbbfa2aab4fca05904c811c19fb.tar.bz2
8xx : Add OF support to Adder875 board port - resubmit
Signed-off-by: Bryan O'Donoghue <bodonoghue@codehermit.ie>
Diffstat (limited to 'board')
-rw-r--r--board/adder/adder.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/adder/adder.c b/board/adder/adder.c
index aa781584..817c864 100644
--- a/board/adder/adder.c
+++ b/board/adder/adder.c
@@ -26,6 +26,9 @@
#include <common.h>
#include <mpc8xx.h>
+#if defined(CONFIG_OF_LIBFDT)
+ #include <libfdt.h>
+#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