diff options
author | Mark Arigo <markarigo@gmail.com> | 2009-05-25 21:10:45 +0000 |
---|---|---|
committer | Mark Arigo <markarigo@gmail.com> | 2009-05-25 21:10:45 +0000 |
commit | 758bb3bc628705ff8e5c677b3b2d87720c726c13 (patch) | |
tree | d78cbf984e4bc613b0b76fcf4a5f090ab1d774b8 /firmware/target/arm/i2c-pp.c | |
parent | d2ea7db6f55cbb121870ecd41d4d80581354b799 (diff) | |
download | rockbox-758bb3bc628705ff8e5c677b3b2d87720c726c13.tar.gz rockbox-758bb3bc628705ff8e5c677b3b2d87720c726c13.zip |
3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/i2c-pp.c')
-rw-r--r-- | firmware/target/arm/i2c-pp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/i2c-pp.c b/firmware/target/arm/i2c-pp.c index b162606680..13c8cf0a1e 100644 --- a/firmware/target/arm/i2c-pp.c +++ b/firmware/target/arm/i2c-pp.c | |||
@@ -269,7 +269,8 @@ void i2c_init(void) | |||
269 | 269 | ||
270 | #if CONFIG_I2C == I2C_PP5020 | 270 | #if CONFIG_I2C == I2C_PP5020 |
271 | outl(0x0, 0x600060a4); | 271 | outl(0x0, 0x600060a4); |
272 | #if defined(PHILIPS_HDD1630) | 272 | #if defined(PHILIPS_HDD1630) || defined(SAMSUNG_YH820) || \ |
273 | defined(SAMSUNG_YH920) || defined(SAMSUNG_YH925) | ||
273 | outl(inl(0x600060a4) | 0x20, 0x600060a4); | 274 | outl(inl(0x600060a4) | 0x20, 0x600060a4); |
274 | outl(inl(0x7000c020) | 0x3, 0x7000c020); | 275 | outl(inl(0x7000c020) | 0x3, 0x7000c020); |
275 | outl(0x55, 0x7000c02c); | 276 | outl(0x55, 0x7000c02c); |