[U-Boot] [PATCH 1/3] Modify mpc5xxx_gpio to include i2c registers

Eric Millbrandt
2009-08-25T13:52:37Z

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