Skip to contentSkip to conversation

i2c-mpc: Add support for 64bit system

PATCH In review Kumar Gala 2 participants 2 messages Mar 15, 2011 1 message not in the archive I2C subsystem host drivers

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 i2c-mpc: Add support for 64bit system

Currently i2c-mpc supports 32bit system only, this modification makes it supported on both 32-bit and 64-bit systems. The P5020 is the first 64-bit PPC system with the i2c-mpc controller.

Based in patch from Xulei <[email protected]>

---
 drivers/i2c/busses/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/busses/Kconfig +1 -1
index 113505a..107d5c2 100644
@@ -433,7 +433,7 @@ config I2C_IXP2000
 
 config I2C_MPC
 	tristate "MPC107/824x/85xx/512x/52xx/83xx/86xx"
-	depends on PPC32
+	depends on PPC
 	help
 	  If you say yes to this option, support will be included for the
 	  built-in I2C interface on the MPC107, Tsi107, MPC512x, MPC52xx,
Signature · 1 line
1.7.2.3

A message that is not in the archive (sent off-list or not yet received): 1300204963-15855-1-git-send-email-galak-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org

#2 lore raw
Quoted 7 lines · Kumar Gala

Currently i2c-mpc supports 32bit system only, this modification makes it supported on both 32-bit and 64-bit systems. The P5020 is the first 64-bit PPC system with the i2c-mpc controller.

Based in patch from Xulei <[email protected]>

ok, will add to -next

Quoted 20 lines
---
 drivers/i2c/busses/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/busses/Kconfig +1 -1
index 113505a..107d5c2 100644
@@ -433,7 +433,7 @@ config I2C_IXP2000
 
 config I2C_MPC
 	tristate "MPC107/824x/85xx/512x/52xx/83xx/86xx"
-	depends on PPC32
+	depends on PPC
 	help
 	  If you say yes to this option, support will be included for the
 	  built-in I2C interface on the MPC107, Tsi107, MPC512x, MPC52xx,
Signature · 1 line
1.7.2.3
Signature · 3 lines
Ben Dooks, [email protected], http://www.fluff.org/ben/

Large Hadron Colada: A large Pina Colada that makes the universe disappear.