Franklin Wei
0dbf7017be
Remove bad mutex_* calls in telechips i2c driver
...
These were being called in a cpu mode they shouldn't have been,
leading to panics.
Change-Id: I7fbd0e4af5c6cbaf7177f9dafa901b3924617d7f
2017-08-10 21:53:55 -04:00
Thomas Martitz
c245de029d
Fix various reds. Some includes needed fixup.
...
Change-Id: I4327740bae17054131feb917abdd58846c451988
2014-03-03 19:10:48 +01:00
Rob Purchase
6c94ce590d
Re-write the Telechips I2C delay routine in assembler to stop the compiler optimising it away. Tested with EABI and non-EABI compilers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26872 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 21:03:57 +00:00
Amaury Pouly
1d4dc9b3b0
cowond2: make sure the i2c delay loop code is actually generated by the eabi compiler.
...
This fix adds one nop instruction per loop (there were 3 before) and so i2c will be slightly slower, but this hardly a problem.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26850 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 23:01:30 +00:00
Bertrik Sikken
04451b4369
Fix missing i2c mutex initialisation for telechips.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21445 a1c6a512-1295-4272-9138-f99709370657
2009-06-21 13:26:32 +00:00
Rob Purchase
e70096ea5c
Telechips I2C: Scale the busy-wait delay based on FREQ, reducing wasted CPU cycles when unboosted (eg. when reading from the D2 touchscreen).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19293 a1c6a512-1295-4272-9138-f99709370657
2008-12-01 21:02:00 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Bertrik Sikken
e5319e0e89
Fixed prototype of i2c_write for plugins and for i2c-telechips (fix red/yellow).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17277 a1c6a512-1295-4272-9138-f99709370657
2008-04-28 14:33:03 +00:00
Rob Purchase
ddfd787c54
D2: Implement battery voltage readout from PCF50606 (levels not yet calibrated). Adjust I2C delay to ensure this also works when boosted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17085 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 16:18:28 +00:00
Rob Purchase
47ea030e2e
Initial Cowon D2 commit:
...
* bootloader test program (basic LCD & button drivers, reads touchscreen)
* work-in-progress stubs for main build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16090 a1c6a512-1295-4272-9138-f99709370657
2008-01-14 22:04:48 +00:00