All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/6] powerpc/ppc4xx: Make gdsys 405ep boards reset more generic
Date: Thu, 26 Apr 2012 18:08:50 +0200	[thread overview]
Message-ID: <201204261808.50686.sr@denx.de> (raw)
In-Reply-To: <1335448466-21051-3-git-send-email-eibach@gdsys.de>

HI Dirk,

On Thursday 26 April 2012 15:54:22 Dirk Eibach wrote:
> In order to add boards that have different hardware for fpga reset,
> any 405ep gdsys board now provides these functions:
> 
> void gd405ep_init(void);
> void gd405ep_set_fpga_reset(unsigned state);
> void gd405ep_setup_hw(void);
> int gd405ep_get_fpga_done(unsigned fpga);

One comment below:

<snip>
 
> diff --git a/include/gdsys_fpga.h b/include/gdsys_fpga.h
> index 949864c..555fbe2 100644
> --- a/include/gdsys_fpga.h
> +++ b/include/gdsys_fpga.h
> @@ -58,6 +58,17 @@ typedef struct ihs_osd {
>  	u16 y_pos;
>  } ihs_osd_t;
> 
> +#ifdef CONFIG_NEO
> +typedef struct ihs_fpga {
> +	u16 reflection_low;	/* 0x0000 */
> +	u16 versions;		/* 0x0002 */
> +	u16 fpga_features;	/* 0x0004 */
> +	u16 fpga_version;	/* 0x0006 */
> +	u16 reserved_0[8187];	/* 0x0008 */
> +	u16 reflection_high;	/* 0x3ffe */
> +} ihs_fpga_t;
> +#endif

checkpatch complains about typedef's. Please don't add more of them. I know 
that you already have some in your files. It would be great if you could clean 
this up with an follow-up patch, to remove all your local typedef's.

Thanks,
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:[~2012-04-26 16:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26 13:54 [U-Boot] [PATCH 0/6] Various gdsys ppc4xx boards revised Dirk Eibach
2012-04-26 13:54 ` [U-Boot] [PATCH v2 1/6] powerpc/ppc4xx: Adjust environment size on neo Dirk Eibach
2012-04-30 13:10   ` Stefan Roese
2012-04-26 13:54 ` [U-Boot] [PATCH v2 2/6] powerpc/ppc4xx: Make gdsys 405ep boards reset more generic Dirk Eibach
2012-04-26 16:08   ` Stefan Roese [this message]
2012-04-26 13:54 ` [U-Boot] [PATCH v2 3/6] powerpc/ppc4xx: Adapt gdsys 405ep boards to platform changes Dirk Eibach
2012-04-26 13:54 ` [U-Boot] [PATCH v2 4/6] powerpc/ppc4xx: Support gdsys dlvision-10g hardware 1.20 Dirk Eibach
2012-04-26 13:54 ` [U-Boot] [PATCH v2 5/6] powerpc/ppc4xx: Update gdsys board configurations Dirk Eibach
2012-04-26 13:54 ` [U-Boot] [PATCH v2 6/6] powerpc/ppc4xx: Fix typo in gdsys_fpga.h Dirk Eibach

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=201204261808.50686.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.