summaryrefslogtreecommitdiff
path: root/common/ft_build.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2006-01-11 13:54:17 -0600
committerKumar Gala <galak@kernel.crashing.org>2006-01-11 13:54:17 -0600
commit4e2531378f03957d7306e940e0bc21de103f40d3 (patch)
tree05de404e5a779d16e933b8433d482fd41c289313 /common/ft_build.c
parente4f880eddde5406fc9dd1edf7e6a49422f3d8e7b (diff)
downloadu-boot-imx-4e2531378f03957d7306e940e0bc21de103f40d3.zip
u-boot-imx-4e2531378f03957d7306e940e0bc21de103f40d3.tar.gz
u-boot-imx-4e2531378f03957d7306e940e0bc21de103f40d3.tar.bz2
Allow board code to fixup the flat device tree before booting a
kernel Patch by Kumar Gala 11 Jan 2006
Diffstat (limited to 'common/ft_build.c')
-rw-r--r--common/ft_build.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/ft_build.c b/common/ft_build.c
index 5719458..2cecbcf 100644
--- a/common/ft_build.c
+++ b/common/ft_build.c
@@ -698,9 +698,12 @@ void ft_setup(void *blob, int size, bd_t * bd)
if (p != NULL)
*p = cpu_to_be32(clock);
#endif
-
#endif /* __powerpc__ */
+#ifdef CONFIG_OF_BOARD_SETUP
+ ft_board_setup(blob, bd);
+#endif
+
/*
printf("final OF-tree\n");
ft_dump_blob(blob);