From 4e2531378f03957d7306e940e0bc21de103f40d3 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Wed, 11 Jan 2006 13:54:17 -0600 Subject: Allow board code to fixup the flat device tree before booting a kernel Patch by Kumar Gala 11 Jan 2006 --- common/ft_build.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/ft_build.c b/common/ft_build.c index 57194581a1..2cecbcf966 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); -- cgit