Skip to contentSkip to conversation

i2c: adapt i2c_ram struct according to MPC8272 manual

PATCH New Holger brunck 1 participant 1 message Jul 23, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: adapt i2c_ram struct according to MPC8272 manual

Additionaly to the MPC8260, the MPC8272 I2C PRAM memory map has an additional entry for the SDMATMP (word). This patch adds this at offset 0x34 to the i2c_ram struct.

---
 drivers/i2c/busses/i2c-cpm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/i2c/busses/i2c-cpm.c +2 -1
index a6dbfb1..95d204f 100644
@@ -77,7 +77,8 @@ struct i2c_ram {
 	uint    txtmp;		/* Internal */
 	char    res1[4];	/* Reserved */
 	ushort  rpbase;		/* Relocation pointer */
-	char    res2[2];	/* Reserved */
+	char    res2[6];	/* Reserved */
+	uint    sdmatmp;	/* Internal */
 };
 
 #define I2COM_START	0x80
Signature · 1 line
1.7.0.5