aboutsummaryrefslogtreecommitdiff
path: root/board/icecube
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-11-28 17:55:49 +0100
committerStefan Roese <sr@denx.de>2006-11-28 17:55:49 +0100
commite59581c56ab5d6e0207ddac3b2c1d55cb36ec706 (patch)
treeaa24a15300f3c94e06beab022d33a7155b1ff2b9 /board/icecube
parente732faec95a83cb468b4850ae807c8301dde8f6a (diff)
downloadu-boot-e59581c56ab5d6e0207ddac3b2c1d55cb36ec706.zip
u-boot-e59581c56ab5d6e0207ddac3b2c1d55cb36ec706.tar.gz
u-boot-e59581c56ab5d6e0207ddac3b2c1d55cb36ec706.tar.bz2
[PATCH] Enable the IceCube/lite5200 variants to pass a device tree to Linux.
This patch adds the code and configuration necessary to boot with an arch/powerpc Linux kernel. Signed-off-by: Grant Likely <grant.likely@gmail.com> Acked-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/icecube')
-rw-r--r--board/icecube/icecube.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/board/icecube/icecube.c b/board/icecube/icecube.c
index f958b32..ddad1bb 100644
--- a/board/icecube/icecube.c
+++ b/board/icecube/icecube.c
@@ -29,6 +29,10 @@
#include <pci.h>
#include <asm/processor.h>
+#if defined(CONFIG_OF_FLAT_TREE)
+#include <ft_build.h>
+#endif
+
#if defined(CONFIG_LITE5200B)
#include "mt46v32m16.h"
#else
@@ -332,3 +336,11 @@ void ide_set_reset (int idereset)
}
}
#endif /* defined (CFG_CMD_IDE) && defined (CONFIG_IDE_RESET) */
+
+#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