summaryrefslogtreecommitdiff
path: root/firmware (follow)
Commit message (Collapse)AuthorAge
...
* remane hotswap.* to sdmmc.*. The contents have nothing at all to do with ↵Frank Gevaerts2010-06-05
| | | | | | hotswapping things git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26598 a1c6a512-1295-4272-9138-f99709370657
* Fix wrongly nested commentingFrank Gevaerts2010-06-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26597 a1c6a512-1295-4272-9138-f99709370657
* Fix EOL styleFrank Gevaerts2010-06-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26596 a1c6a512-1295-4272-9138-f99709370657
* New USB charging system, part 2 - "Force" charging modeTorne Wuff2010-06-05
| | | | | | | Enable support for the "force" mode of USB charging. This should work on Gigabeat S and Nano2g (and any other future target which has a RB usb stack and supports charging) - if a host connection is not detected within 10 seconds of USB insertion, assume that the connected device is an AC charger and charge anyway, if the user has specified "force" as the mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26594 a1c6a512-1295-4272-9138-f99709370657
* Mini2440: Fix simulator. It's touchscreen so there's button clashes when ↵Thomas Martitz2010-06-05
| | | | | | trying to map the 6 hw buttons as well. Just remove that for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26590 a1c6a512-1295-4272-9138-f99709370657
* Move delay a bit in dbop_read_input for ams sansa targets using the DBOP ↵Bertrik Sikken2010-06-05
| | | | | | port for button readout git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26585 a1c6a512-1295-4272-9138-f99709370657
* Implement backlight brightness for iPod G4 greyscale and iPod Color/Photo.Jens Arnold2010-06-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26573 a1c6a512-1295-4272-9138-f99709370657
* New USB charging system, part 1 - API rework and user-visible setting updateTorne Wuff2010-06-05
| | | | | | | | | | | | | | | 1) "Charge during USB connection" option is now tristate: off/on/force. Currently "force" behaves just like "on", but in future it will allow charging even when it was not possible to positively identify a charger. 2) The H300 code has been adjusted to use the new system but there should be no functional differences, it already had the USB charging option and its USB/charging support is hardware controlled. 3) The Gigabeat S code has been adjusted to use the new system: the player now has the USB charging option, which wasn't previously available. The player will only charge at full speed when allowed to do so by a working USB host, so USB AC adapters won't work very well; however, they didn't work before either, so this is not a change in functionality. 4) The iPod Nano 2G code has been adjusted to use the new system: it already had the USB charging option. Using a USB AC adapter won't charge at full speed any more (it did before) - the old implementation was equivalent to the not-yet-implemented "force" option in the new system. No other target should be affected. Support for the "force" mode and support for at least some other iPod models will come in a future commit :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26570 a1c6a512-1295-4272-9138-f99709370657
* Port greylib blitting optimisation to clipv2 and Clip+. Actual speedup can't ↵Jens Arnold2010-06-04
| | | | | | be measured because something is fishy with the cpu clocking (calculated load is negative??) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26562 a1c6a512-1295-4272-9138-f99709370657
* Port greylib blitting optimisation to clipv1.Jens Arnold2010-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26557 a1c6a512-1295-4272-9138-f99709370657
* Using void instead of unsigned char fixes the strict-aliasing warnings with ↵Tobias Diedrich2010-06-03
| | | | | | -Os and gets rid of some casts. And we already use void pointer arithmetic in several other places. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26518 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v1: do not disable peripheral clocks in sd_enable()Rafaël Carré2010-06-03
| | | | | | | | | | | | | (forward port of r26481 + cosmetics) This lead to freezes under various conditons (bug report: FS#11267) Battery life is almost not (if at all) affected: - between 4 and 8 minutes less runtime for fuzev1 - 9 minutes less runtime for c200v2 (2 minutes difference on a 2 hours run) Additional verifications of the runtime (including on other models) wouldn't hurt git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26512 a1c6a512-1295-4272-9138-f99709370657
* Fix PP5002 builds. Somehow an #else went missing along the line.Michael Sevakis2010-06-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26480 a1c6a512-1295-4272-9138-f99709370657
* Threading: Split processor support code into respective target files. C ↵Michael Sevakis2010-06-02
| | | | | | files from /target/xxx are included into thread.c because of essential inlining and files are code, not declarations. Copyrights in each new file go to whoever implemented the first functional support. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26479 a1c6a512-1295-4272-9138-f99709370657
* Prevent a race condition when writing VIC_INT_EN_CLEAR. Should be very ↵Tobias Diedrich2010-06-01
| | | | | | difficult to hit in this case though... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26451 a1c6a512-1295-4272-9138-f99709370657
* as3525 ascodec: make internal functions statics and remove some details for ↵Rafaël Carré2010-06-01
| | | | | | | | | ascodec-target.h header reorder static functions to avoid the need for early prototypes panic if the INT_AUDIO callback could not read the 3 IRQ_ENRD registers git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26445 a1c6a512-1295-4272-9138-f99709370657
* as3525 PCM: implement locking like done for the gigabeats in r26341Rafaël Carré2010-06-01
| | | | | | | | | | | | | | | | | | | | | this removes workaround for spurious interrupts added in r26316 side effect: make keyclicks work correctly when used intensively (with the scrollwheel for example), the clicks should be inserted fast enough for the PCM fifo to not become empty. PL190 can cause spurious interrupts if an interrupt is triggered by a peripheral shortly before the interrupt for this peripheral is cleared from VIC registers. As an effect we should only write in VIC_INT_EN_CLEAR after having disabled the source of the interrupt in the peripheral. references on PL190 spurious interrupts: - http://www.embeddedrelated.com/groups/lpc2000/show/14599.php - http://water.cse.unsw.edu.au/esdk/lpc2/spurious-irq.html git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26444 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v1: set up bank selection data outside of the loopRafaël Carré2010-06-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26441 a1c6a512-1295-4272-9138-f99709370657
* Enable IRAM on TCC7801 (Cowon D2) for a 6-12% speedup in codecs that use it, ↵Rob Purchase2010-05-31
| | | | | | and a small increase in battery life. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26436 a1c6a512-1295-4272-9138-f99709370657
* Port the greylib blitting optimisation to m:robe 100. It's even more ↵Jens Arnold2010-05-31
| | | | | | efficient on monochrome LCDs - about 20% ISR speedup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26435 a1c6a512-1295-4272-9138-f99709370657
* Smaller & faster greylib blitting on iriver H1x0 and iAudio M5, based on the ↵Jens Arnold2010-05-31
| | | | | | ARM version but using mulu.l for the bit shuffling. ISR speedup is ~10%. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26434 a1c6a512-1295-4272-9138-f99709370657
* ARM: use BX when branch to an address in registerRafaël Carré2010-05-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26432 a1c6a512-1295-4272-9138-f99709370657
* rolo: use BX for ARM branchesRafaël Carré2010-05-31
| | | | | | | This is equivalent to mov pc Remove an instruction from the asm() for PP cop restart : use register constraint git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26431 a1c6a512-1295-4272-9138-f99709370657
* Smaller & faster grey blitting on greyscale ipods, based on an idea by Mike ↵Jens Arnold2010-05-30
| | | | | | Sevakis. ISR speedup on all greyscale iPods except Mini 2nd Gen is ~10%. No speedup on the latter, because the serial transfer is the limiting factor. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26422 a1c6a512-1295-4272-9138-f99709370657
* Update Samsung YP-S3 bootloader demoBertrik Sikken2010-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26417 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#9193. Remove recording source <Mic> for iPod Video and iPod nano 1G. ↵Andree Buschmann2010-05-30
| | | | | | The manual already describes the correct behaviour. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26414 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11240 by Raphael Jakse. Allows to reduce volume on WM8985 to -89 ↵Andree Buschmann2010-05-30
| | | | | | dB (e.g. used for Cowon D2). Below -57 dB the line out is affected. The manual is updated accordingly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26413 a1c6a512-1295-4272-9138-f99709370657
* inttypes.h: remove excessive PRI*PTR declaration when long isn't 64 bitsRafaël Carré2010-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26412 a1c6a512-1295-4272-9138-f99709370657
* inttypes.h: add (some) iso c99 fprintf format specifiersRafaël Carré2010-05-30
| | | | | | | | | | | Skipped the specifiers for octal, (u)int_leastN_t, (u)int_fastN_t and (u)intmax_t as we don't use them in rockbox Specifiers use the types specified in stdint.h Specifiers for short (16 bits) and char (8 bits) use the int specifier, our format.c doesn't know about 'h' and 'hh' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26411 a1c6a512-1295-4272-9138-f99709370657
* fuze*/e200v2 YUV lcd code: remove a useless instruction forgotten in r21795Rafaël Carré2010-05-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26399 a1c6a512-1295-4272-9138-f99709370657
* No need to break after a returnFrank Gevaerts2010-05-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26398 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#10887 by me. Change the check for software poweroff to be that ↵Michael Giacomelli2010-05-29
| | | | | | the power button is held, not that the power button is held AND that no other button is held. This makes shutting down players with small tightly spaced buttons (Sandisk...) much easier. This also means that combos involving the power button can now potientially power off the player. The H10 and sansas excluding the Fuze use a combo involving power for AB repeat mode. However, the timeout for shutdown is much longer then the long press duration needed for AB repeat, and in practice seems to not be a problem on these players. I've tested this on various players for a long time and bugged other people to try it out, so I think its pretty safe, but if theres problems it can be reverted or keymaps tweaked. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26397 a1c6a512-1295-4272-9138-f99709370657
* fix broken case handling in storage_present() and storage_removable(). Those ↵Frank Gevaerts2010-05-29
| | | | | | were buggy for targets with a hotswappable drive *and* more than one storage driver (i.e. only the D2 was probably affected) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26395 a1c6a512-1295-4272-9138-f99709370657
* Fuze: don't change gate scan position if lcd_set_flip() is not usedRafaël Carré2010-05-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26387 a1c6a512-1295-4272-9138-f99709370657
* cpucache_invalidate: use bx reg instead of mov pc, reg to returnRafaël Carré2010-05-29
| | | | | | | | | | | | | | | Using BX has the effect to set the T bit, so it can return to a thumb function With this change, rockbox runs fine on Clipv2 built with -mthumb (for most files which don't use inline 32 bits ARM assembly) Some other places use code which change the T bit on armv5 but not on armv4 so armv4 won't run See FS#6734 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26386 a1c6a512-1295-4272-9138-f99709370657
* e200v2: revert r26353Rafaël Carré2010-05-29
| | | | | | | invert setting isn't remembered when backlight goes off and lcd_enable() is ran again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26374 a1c6a512-1295-4272-9138-f99709370657
* Fuzev1/v2 : lcd_set_flip()Rafaël Carré2010-05-29
| | | | | | FS#11329 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26372 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525.c: Do not wait for TRAN state after transfer is over.Jack Halpin2010-05-28
| | | | | | Waiting for TRAN state after the end of the transfer caused writing problems for some uSD cards. Removing this wait returns write functionality to those cards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26365 a1c6a512-1295-4272-9138-f99709370657
* Apply FS#9194 - LCD invert for Sansa c200/c200v2Bertrik Sikken2010-05-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26362 a1c6a512-1295-4272-9138-f99709370657
* Restore return statement in kernel-as3525.c that was accidentally removed in ↵Bertrik Sikken2010-05-28
| | | | | | r26330. This fixes c200v2 black screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26361 a1c6a512-1295-4272-9138-f99709370657
* Simplify lcd invertMichael Chicoine2010-05-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26353 a1c6a512-1295-4272-9138-f99709370657
* Simplify lcd_set_flip, lcd_window, and lcd_window_blitMichael Chicoine2010-05-28
| | | | | | | | | | Remove unneeded defines Whitespace cleanup Thanks to Rafaël Carré for finding the simpler register settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26350 a1c6a512-1295-4272-9138-f99709370657
* genversion: generate version.c and version.h independantlyRafaël Carré2010-05-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26349 a1c6a512-1295-4272-9138-f99709370657
* Merge common LCD code between fuzev1 & fuzev2Rafaël Carré2010-05-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26344 a1c6a512-1295-4272-9138-f99709370657
* fuzev2: lcd_enable and lcd_invert() work fineRafaël Carré2010-05-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26343 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2: Include time spent yielding when figuring timeout in ↵Rafaël Carré2010-05-27
| | | | | | | | | sd_wait_for_tran_state() (apply r23738 to as3525v2 code) extend the arbitrary delay to 5 seconds, we never know git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26342 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S PCM: Sync some comments to changes.Michael Sevakis2010-05-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26341 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S PCM: There's no reason to touch any hardware registers in order ↵Michael Sevakis2010-05-27
| | | | | | to lock out PCM callbacks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26340 a1c6a512-1295-4272-9138-f99709370657
* Simulator: get rid of SDL_mutex* parameter to sim_do_exit.Michael Sevakis2010-05-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26338 a1c6a512-1295-4272-9138-f99709370657
* SDL Simulator: Get thread shutdown and properly handled and fix a minor ↵Michael Sevakis2010-05-27
| | | | | | memory leak that happens when threads exit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26336 a1c6a512-1295-4272-9138-f99709370657