summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-11-27 14:54:55 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-11-27 14:54:55 +0000
commit972a7efcb462eb5048c5c878275b9f742ed5efb6 (patch)
tree30fa65ced5826e79de2bbc73b9a3369f5131bba0 /firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c
parent08be5ad24fedd45fcbbafbeb99c7884d299857c0 (diff)
downloadrockbox-972a7efcb462eb5048c5c878275b9f742ed5efb6.tar.gz
rockbox-972a7efcb462eb5048c5c878275b9f742ed5efb6.tar.bz2
rockbox-972a7efcb462eb5048c5c878275b9f742ed5efb6.zip
Jz4740: init I²C GPIO pins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23771 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c b/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c
index 79968889b9..a74dbd41e9 100644
--- a/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c
@@ -244,4 +244,5 @@ W_timeout:
void i2c_init(void)
{
+ __gpio_as_i2c();
}