Rob Purchase
75b37696fb
TCC78x: Implement the user timer, rework some of the timer register #defines, and use udelay() instead of the hacky sleep_ms() in the D2 LCD driver. Doom works now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20585 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 21:15:15 +00:00
Thomas Martitz
487d78995a
A bit of cleanup in config-fuze (don't define features we do not have yet), a bit of reordering. Cleanup in the lcd driver. Reintroduce the delay in the dbop read function, as it helps avoiding heavy hold button weirdness when boosted
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20583 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 19:57:42 +00:00
Thomas Martitz
dc859ebd51
FS#10053 - Sansa AMS >2GB support by Rafaël Carré. Enables bank switching on
...
the AMS sansas, which solves the ">2GB problem" (the problem that we could not
access data past 1GB on devices having more than 2GB internal storage).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20577 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 13:26:05 +00:00
Thomas Martitz
d5df2816e6
Remove that orphaned and wrong #if
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20576 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 13:08:59 +00:00
Thomas Martitz
bcbf2dd321
Fix yellow.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20575 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 12:45:56 +00:00
Daniel Stenberg
8983fcb5f2
Initial commit for the "Lyre prototype 1" port by Jorge Pinto from FS#10045.
...
Bootloader builds, normal does not.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20574 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 12:20:47 +00:00
Thomas Martitz
ddc554f62b
Correct some preprocessor checks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20573 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 23:50:56 +00:00
Frank Gevaerts
29f390e227
Properly cast things to avoid shiny yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20571 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 20:08:10 +00:00
Frank Gevaerts
0ece30a726
Commit FS#10015 - Use chained transfer descriptor to speed up USB transfers on PP and iMX31
...
(not exactly the same. This one actually works)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20570 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 19:56:21 +00:00
Karl Kurbjun
9d1b99534e
Add support for powering down the LCD (saves 50 mA when disabled)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20547 a1c6a512-1295-4272-9138-f99709370657
2009-03-26 22:20:46 +00:00
Maurus Cuelenaere
cfb20fdf2b
Should be the last one...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20542 a1c6a512-1295-4272-9138-f99709370657
2009-03-25 22:57:13 +00:00
Maurus Cuelenaere
b84c06372b
Jz4740: Optimize interrupt handling by using a find_last_set_bit() implementation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20539 a1c6a512-1295-4272-9138-f99709370657
2009-03-25 22:42:24 +00:00
Maurus Cuelenaere
52cb340962
Really fix it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20538 a1c6a512-1295-4272-9138-f99709370657
2009-03-25 22:29:49 +00:00
Maurus Cuelenaere
6432363476
Fix MIPS FFS implementation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20536 a1c6a512-1295-4272-9138-f99709370657
2009-03-25 21:19:51 +00:00
Karl Kurbjun
b2fa459e70
Correct charger detection on M:Robe 500.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20529 a1c6a512-1295-4272-9138-f99709370657
2009-03-25 14:01:47 +00:00
Rob Purchase
a6913fd7c8
D2: Slightly reduce the number of incorrect touchscreen presses by busy-waiting on the ADCRDY flag.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20527 a1c6a512-1295-4272-9138-f99709370657
2009-03-24 23:06:36 +00:00
Maurus Cuelenaere
19bd97bccc
Correct the set_frequency() function on the Onda VX747 (fixes sound)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20512 a1c6a512-1295-4272-9138-f99709370657
2009-03-24 17:59:44 +00:00
Karl Kurbjun
2670e3f038
More M:Robe 500 work: PCM stopping and pausing roughly works, added some keymaps for the WPS screen, and peakmeter now works properly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20511 a1c6a512-1295-4272-9138-f99709370657
2009-03-24 16:40:31 +00:00
Nicolas Pennequin
396aeafa6c
Correct Björn's name in various file headers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20491 a1c6a512-1295-4272-9138-f99709370657
2009-03-23 17:08:46 +00:00
Bertrik Sikken
a87aad3284
Add missing powermgmt-e200v2.c file from FS#9968
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20466 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 19:22:12 +00:00
Bertrik Sikken
9ee68cbfd3
FS#9968: Charging on e200v2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20465 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 19:06:54 +00:00
Bertrik Sikken
bef264264c
Add missing #includes for the ondas.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20457 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 15:40:40 +00:00
Michael Sevakis
e48cece75c
imx31: Oops. Fix a misplaced comma in wmcodec-imx31.c. Add a couple parentheses in statment (just to be clearer). Should take care of things for now :).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20444 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 02:27:20 +00:00
Michael Sevakis
ba71cc540c
imx31: Rename clkctl-imx31.* to ccm-imx31.* and move up from ...imx31/gigabeat-s to .../imx31. A bunch more should probably go up a level too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20443 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 02:13:27 +00:00
Michael Sevakis
b7f7655dc2
imx31/mc13783: Do some housekeeping with register macros, function names and other defines. No functional changes (except to alter a couple int priorities).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20442 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 01:50:48 +00:00
Rob Purchase
1a6bcfa2c1
D2: Enable FM radio (based on FS#10035 by Michael Burtin with some changes by myself). Also updates the LV24020 driver to add optional logf debugging.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20420 a1c6a512-1295-4272-9138-f99709370657
2009-03-21 00:13:20 +00:00
Maurus Cuelenaere
d63a8fcb7b
Don't forget to fix these too...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20419 a1c6a512-1295-4272-9138-f99709370657
2009-03-20 23:27:41 +00:00
Rob Purchase
343c3b795a
Implement udelay() for D2 and remove the old hacks from USB & FM drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20417 a1c6a512-1295-4272-9138-f99709370657
2009-03-20 23:14:05 +00:00
Maurus Cuelenaere
fe064db965
Kill some yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20416 a1c6a512-1295-4272-9138-f99709370657
2009-03-20 23:02:10 +00:00
Frank Gevaerts
ac7c88b935
Make USB on sansas more reliable (FS#10026). Both fixes by Toni Hellmann
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20344 a1c6a512-1295-4272-9138-f99709370657
2009-03-17 20:24:55 +00:00
Thomas Martitz
5c16ba4c4d
Fix very last yellows.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20337 a1c6a512-1295-4272-9138-f99709370657
2009-03-17 04:46:11 +00:00
Thomas Martitz
d0e834aa73
Okay, this should be the last. I'm sorry for the trouble, but now everything *should* be properly #ifdef'd (which wasn't before) :/
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20336 a1c6a512-1295-4272-9138-f99709370657
2009-03-17 04:22:28 +00:00
Thomas Martitz
9771c9c771
One more try: Fix remaining reds and yellows
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20335 a1c6a512-1295-4272-9138-f99709370657
2009-03-17 04:01:11 +00:00
Thomas Martitz
4ed387d603
Fix reds and yellows (hopefully). Some targets apparently didn't properly #ifdef lcd_enable and lcd_sleep code out, so that it got partly active in the bootloader; rename the ui simulator stub fixes most reds; for the clip: move the hook code into lcd-1bit-vert.c which should fix the bootloader red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20333 a1c6a512-1295-4272-9138-f99709370657
2009-03-17 03:36:36 +00:00
Thomas Martitz
68f9ef2d57
The c200 didn't got in for some reason.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20332 a1c6a512-1295-4272-9138-f99709370657
2009-03-17 02:49:26 +00:00
Thomas Martitz
b7739fbf1c
Rework lcd_enabled and lcd_set/call_enable hook
...
a) lcd_enabled() is now lcd_active(), and is available for HAVE_LCD_SLEEP only targets (e.g. ipod video) too. It was depandent on HAVE_LCD_ENALE only before
b) rename the hook accordingly, and implement the hook for other other targets too (e.g. the clip [the only mono target with lcd_enable/lcd_sleep yet, so the code is still in the lcd driver], ipod, fuze, c200)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20331 a1c6a512-1295-4272-9138-f99709370657
2009-03-17 02:43:47 +00:00
Thomas Martitz
5876418343
SansaAMS: Add a comment to clarifing a bit that the dcache is inactive without mmu; Show the cp15 control register in the "View I/O Pots menu".
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20324 a1c6a512-1295-4272-9138-f99709370657
2009-03-14 17:17:27 +00:00
Mark Arigo
b642129be4
Philips SA9200 fixes: (1) boost in the bootloader like the e200 and c200, (2) use the right GPIOs and inits in the SD driver, and (3) add charger detection.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20323 a1c6a512-1295-4272-9138-f99709370657
2009-03-14 02:47:14 +00:00
Thomas Martitz
26306a8e91
Sansa Fuze Buttons: cleanup slightly, prevent button_counter from wrapping, and implement a (imo) decent wheel acceleration.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20317 a1c6a512-1295-4272-9138-f99709370657
2009-03-13 16:18:56 +00:00
Bertrik Sikken
045b6e48cd
Move powermgmt-target.h up one directory (from as3525/sansa-clip to as3525) in preparation to enable charging for other ams sansa targets.
...
AMS sansas.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20314 a1c6a512-1295-4272-9138-f99709370657
2009-03-12 22:49:36 +00:00
Jens Arnold
bcb0fc2c12
Allow mkinfo.pl to read the RAM usage correctly. All other targets define both loadaddress and _loadaddress as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20300 a1c6a512-1295-4272-9138-f99709370657
2009-03-12 07:43:20 +00:00
Michael Sevakis
a1a332e04b
Gigabeat S: Implement MDMA and UDMA disk access for bootloader and main binary. Add a needed SDMA API to check channel errors. Increase audio DMA channels' priority as required. Reads and writes measure faster accross all test_disk tests and especially at 4KB and 1MB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20299 a1c6a512-1295-4272-9138-f99709370657
2009-03-12 06:31:40 +00:00
Maurus Cuelenaere
01c390d5c5
Make Onda VX767 compile + restructure firmware/SOURCES a bit (wrt Jz4740 specific files)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20297 a1c6a512-1295-4272-9138-f99709370657
2009-03-11 22:12:23 +00:00
Karl Kurbjun
3c7ada5941
Sound working with rockbox PCM interface on the M:Robe 500. Doom and Rockboy run with sound. There are stability problems that need to be looked into causing the player to reset when music playback is attempted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20284 a1c6a512-1295-4272-9138-f99709370657
2009-03-11 01:18:23 +00:00
Karl Kurbjun
3eeec57519
Small comment correction
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20278 a1c6a512-1295-4272-9138-f99709370657
2009-03-10 01:46:57 +00:00
Karl Kurbjun
8331f787fe
More DM320 sound work. Buffers that are smaller, even multiples of DSP_BUFFER_SIZE should work fine. Larger and non-even multiples do not work correct.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20277 a1c6a512-1295-4272-9138-f99709370657
2009-03-10 01:35:33 +00:00
Maurus Cuelenaere
70ab3fca0d
Onda VX747:
...
* Fix warnings
* Add fake battery level information to make sure Rockbox doesn't shutdown
* Enable switching between touch modes by pressing (VOL_DOWN|VOL_UP)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20269 a1c6a512-1295-4272-9138-f99709370657
2009-03-09 22:17:37 +00:00
Rob Purchase
efe3ec86f1
A few tweaks to get USB support compiling again on TCC targets (part of FS#9917 by Michaël Burtin).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20264 a1c6a512-1295-4272-9138-f99709370657
2009-03-09 22:02:30 +00:00
Maurus Cuelenaere
98a53f0287
* Onda VX767: fix some redundant files + add some missing functions for apps/ compilation (still needs keymap though).
...
* Add Onda VX767 SADC driver
* Unify Onda VX747(+) and Onda VX767 backlight driver
* Also be more consistent wrt file naming.
* Add speaker-onda_vx747.c to SOURCES (forgot to commit this)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20259 a1c6a512-1295-4272-9138-f99709370657
2009-03-09 21:26:39 +00:00
Maurus Cuelenaere
c6bf842eca
* Unify Onda VX747 and VX747+ config files
...
* Conditionalise (void)drive; in NAND & SD drivers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20256 a1c6a512-1295-4272-9138-f99709370657
2009-03-09 20:41:59 +00:00