All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Millbrandt <emillbrandt@coldhaus.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] Modify mpc5xxx_gpio to include i2c registers
Date: Tue, 25 Aug 2009 08:52:37 -0500	[thread overview]
Message-ID: <20090825134545.M85239@coldhaus.com> (raw)

 Modify mpc5xxx_gpio structure to include the i2c output-only enable
 and data value out registers.

 Signed-off-by: Eric Millbrandt <emillbrandt@dekaresearch.com>
---
 A quick string search shows that no in-tree code is currently using any of
the modified fields and the structure size does not change.

 include/mpc5xxx.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/mpc5xxx.h b/include/mpc5xxx.h
index 476d149..4a642a4 100644
--- a/include/mpc5xxx.h
+++ b/include/mpc5xxx.h
@@ -691,10 +691,10 @@ struct mpc5xxx_gpio {
 	volatile u32 simple_ddr;	/* GPIO + 0x0c */
 	volatile u32 simple_dvo;	/* GPIO + 0x10 */
 	volatile u32 simple_ival;	/* GPIO + 0x14 */
-	volatile u8 outo_gpioe;		/* GPIO + 0x18 */
-	volatile u8 reserved1[3];	/* GPIO + 0x19 */
-	volatile u8 outo_dvo;		/* GPIO + 0x1c */
-	volatile u8 reserved2[3];	/* GPIO + 0x1d */
+	volatile u16 outo_gpioe;	/* GPIO + 0x18 */
+	volatile u8 reserved1[2];	/* GPIO + 0x1a */
+	volatile u16 outo_dvo;		/* GPIO + 0x1c */
+	volatile u8 reserved2[2];	/* GPIO + 0x1e */
 	volatile u8 sint_gpioe;		/* GPIO + 0x20 */
 	volatile u8 reserved3[3];	/* GPIO + 0x21 */
 	volatile u8 sint_ode;		/* GPIO + 0x24 */
-- 
1.6.3.1

                 reply	other threads:[~2009-08-25 13:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20090825134545.M85239@coldhaus.com \
    --to=emillbrandt@coldhaus.com \
    --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.