summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-11-27 14:23:10 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-11-27 14:23:10 +0000
commit4cbab5508fd95cff62ba322e405099446dfce6c9 (patch)
tree0fece17669db0f789f73b027e3aa42082da07187 /firmware/target/coldfire
parent194bc8660de133a2ff983209ab0ad4e18bb9ad89 (diff)
downloadrockbox-4cbab5508fd95cff62ba322e405099446dfce6c9.tar.gz
rockbox-4cbab5508fd95cff62ba322e405099446dfce6c9.tar.bz2
rockbox-4cbab5508fd95cff62ba322e405099446dfce6c9.zip
HD300 - add missing i2c initializtion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28685 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r--firmware/target/coldfire/i2c-coldfire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/i2c-coldfire.c b/firmware/target/coldfire/i2c-coldfire.c
index ab3018d713..1c4bd338fc 100644
--- a/firmware/target/coldfire/i2c-coldfire.c
+++ b/firmware/target/coldfire/i2c-coldfire.c
@@ -70,7 +70,7 @@ void i2c_init(void)
#elif defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
MBDR = 0; /* iRiver firmware does this */
MBCR = IEN; /* Enable interface */
-#elif defined(MPIO_HD200)
+#elif defined(MPIO_HD200) || defined(MPIO_HD300)
/* second channel */
MFDR2 = 0x0d;
MBCR2 = IEN;