Hi Dirk,

On Tuesday 11 October 2011 16:33:05 eib...@gdsys.de wrote:
> diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c
> index 9885b14..1be0a34 100644
> --- a/arch/powerpc/lib/board.c
> +++ b/arch/powerpc/lib/board.c
> @@ -130,6 +130,10 @@ ulong monitor_flash_len;
>  #include <bedbug/type.h>
>  #endif
> 
> +#ifdef CONFIG_SYS_FPGA_COUNT
> +#include <gdsys_fpga.h>
> +#endif
> +
>  /************************************************************************
>   * Utilities                                                         
*
>   ************************************************************************
> @@ -322,6 +326,9 @@ init_fnc_t *init_sequence[] = {
>  #ifdef CONFIG_POST
>       post_init_f,
>  #endif
> +#ifdef CONFIG_FPGA_INIT
> +     init_func_fpga,
> +#endif

Do you really need to add this to this common code? Can't you move this to 
some early board specific function? We really shouldn't add more board 
specific code here.

Best regards,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: off...@denx.de
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to