public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] ppc4xx: Add Io64 board support
Date: Wed, 12 Oct 2011 11:55:54 +0200	[thread overview]
Message-ID: <201110121155.54936.sr@denx.de> (raw)
In-Reply-To: <1318343585-3434-1-git-send-email-eibach@gdsys.de>

Hi Dirk,

On Tuesday 11 October 2011 16:33:05 eibach at 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: office at denx.de

  reply	other threads:[~2011-10-12  9:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-11 14:33 [U-Boot] [PATCH v2] ppc4xx: Add Io64 board support eibach at gdsys.de
2011-10-12  9:55 ` Stefan Roese [this message]
2011-10-12 12:51   ` Eibach, Dirk
2011-10-12 14:18     ` Wolfgang Denk
2011-10-12 14:33       ` Eibach, Dirk
2011-10-12 17:53         ` Wolfgang Denk
2011-10-13  6:14           ` Eibach, Dirk
2011-10-13  6:21             ` Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201110121155.54936.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox