diff options
author | Tomasz Moń <desowin@gmail.com> | 2011-12-24 14:18:53 +0000 |
---|---|---|
committer | Tomasz Moń <desowin@gmail.com> | 2011-12-24 14:18:53 +0000 |
commit | 4539ffe1f384ddc9b3b5eecf95fbd33ece3d4f2e (patch) | |
tree | 643c72c339f0499c42bf315c26a58e66c86cd118 /firmware/target/arm/tms320dm320/i2c-dm320.c | |
parent | 616d7869e9a0b55b83157c3f3085243fecda1586 (diff) | |
download | rockbox-4539ffe1f384ddc9b3b5eecf95fbd33ece3d4f2e.tar.gz rockbox-4539ffe1f384ddc9b3b5eecf95fbd33ece3d4f2e.zip |
TMS320DM320: Add generic I/O debug window for targets other than mrobe 500.
DEBUG_GIO allows users to set any GIO options (direction, output state). As this feature should be used only by experienced users it is compiled conditionally.
Raise I2C delay values since udelay() is now precise and previous values seems to be too low for some devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31421 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320/i2c-dm320.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/i2c-dm320.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/target/arm/tms320dm320/i2c-dm320.c b/firmware/target/arm/tms320dm320/i2c-dm320.c index 2530209402..c2010199e1 100644 --- a/firmware/target/arm/tms320dm320/i2c-dm320.c +++ b/firmware/target/arm/tms320dm320/i2c-dm320.c | |||
@@ -258,12 +258,12 @@ static const struct i2c_interface dm320_i2c_interface = { | |||
258 | .delay = dm320_i2c_delay, | 258 | .delay = dm320_i2c_delay, |
259 | 259 | ||
260 | /* uncalibrated */ | 260 | /* uncalibrated */ |
261 | .delay_hd_sta = 1, | 261 | .delay_hd_sta = 2, |
262 | .delay_hd_dat = 1, | 262 | .delay_hd_dat = 2, |
263 | .delay_su_dat = 1, | 263 | .delay_su_dat = 2, |
264 | .delay_su_sto = 1, | 264 | .delay_su_sto = 2, |
265 | .delay_su_sta = 1, | 265 | .delay_su_sta = 2, |
266 | .delay_thigh = 1 | 266 | .delay_thigh = 2 |
267 | }; | 267 | }; |
268 | 268 | ||
269 | void i2c_init(void) | 269 | void i2c_init(void) |