Hello. On 06-01-2011 19:58, Kumar Gala wrote:
> Add the needed defines and code to utilize the common 8xxx srio init > code to setup LAWs and modify device tree if we have SRIO enabled on a > board. > Signed-off-by: Kumar Gala<ga...@kernel.crashing.org> > --- > arch/powerpc/cpu/mpc86xx/fdt.c | 9 ++++++++- > arch/powerpc/include/asm/immap_86xx.h | 4 +++- > 2 files changed, 11 insertions(+), 2 deletions(-) > diff --git a/arch/powerpc/cpu/mpc86xx/fdt.c b/arch/powerpc/cpu/mpc86xx/fdt.c > index ff89ee5..3b96bf5 100644 > --- a/arch/powerpc/cpu/mpc86xx/fdt.c > +++ b/arch/powerpc/cpu/mpc86xx/fdt.c [...] > @@ -14,6 +14,9 @@ > DECLARE_GLOBAL_DATA_PTR; > > extern void ft_fixup_num_cores(void *blob); > +#ifdef CONFIG_SYS_HAS_SRIO > +extern void ft_srio_setup(void *blob); > +#endif There's no need to enclose the *extern* declaration within #ifdef. WBR, Sergei _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot