summaryrefslogtreecommitdiff
path: root/board/tqm5200
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2007-06-08 14:52:22 +0200
committerBartlomiej Sieka <tur@semihalf.com>2007-06-08 14:52:22 +0200
commit8f8416fada9faf94b9a92f21fe6000643cb521d5 (patch)
tree651cb5c99c65d34a76016974aa8a5ae1f9c811d4 /board/tqm5200
parent9045f33c023f698660a2e45d1b2194c0711abebc (diff)
downloadu-boot-imx-8f8416fada9faf94b9a92f21fe6000643cb521d5.zip
u-boot-imx-8f8416fada9faf94b9a92f21fe6000643cb521d5.tar.gz
u-boot-imx-8f8416fada9faf94b9a92f21fe6000643cb521d5.tar.bz2
TQM5200: Add Flat Device Tree support, update default env. accordingly.
Signed-off-by: Jan Wrobel <wrr@semihalf.com> Acked-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'board/tqm5200')
-rw-r--r--board/tqm5200/tqm5200.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/tqm5200/tqm5200.c b/board/tqm5200/tqm5200.c
index a4322b6..cf97603 100644
--- a/board/tqm5200/tqm5200.c
+++ b/board/tqm5200/tqm5200.c
@@ -32,6 +32,10 @@
#include <pci.h>
#include <asm/processor.h>
+#if defined(CONFIG_OF_FLAT_TREE)
+#include <ft_build.h>
+#endif
+
#ifdef CONFIG_VIDEO_SM501
#include <sm501.h>
#endif
@@ -775,3 +779,10 @@ int board_get_height (void)
}
#endif /* CONFIG_VIDEO_SM501 */
+
+#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) */