summaryrefslogtreecommitdiff
path: root/firmware (follow)
Commit message (Collapse)AuthorAge
...
* sd-as3525v2.c Organize construction of MCI_COMMAND so it is more apparent ↵Jack Halpin2010-03-26
| | | | | | | | which bits are being set and why. I have also made the CMD_CHECK_CRC_BIT unused for now since we do not check any response crc values yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25343 a1c6a512-1295-4272-9138-f99709370657
* Fuzev2: fix build, use suited bitmap toolRafaël Carré2010-03-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25342 a1c6a512-1295-4272-9138-f99709370657
* Clip+: fix battery voltage reading when charging : use ADC_RTCSUP like e200v1Rafaël Carré2010-03-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25340 a1c6a512-1295-4272-9138-f99709370657
* Use STORAGE_WANTS_ALIGN to make clear it's not a strict necessityRafaël Carré2010-03-26
| | | | | | Define PROC_NEEDS_CACHEALIGN only for PP git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25339 a1c6a512-1295-4272-9138-f99709370657
* Accept expressions in CACHE_OVERLAP() macroRafaël Carré2010-03-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25337 a1c6a512-1295-4272-9138-f99709370657
* Make storage alignement use cache alignement macrosRafaël Carré2010-03-25
| | | | | | | | | | Introduce STORAGE_ALIGN_DOWN, STORAGE_PAD (using new CACHE_PAD) and STORAGE_OVERLAP (using new CACHE_OVERLAP), make them useful only when PROC_NEEDS_CACHEALIGN and STORAGE_NEEDS_ALIGN are defined Modify PP and nano2g system-target.h accordingly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25336 a1c6a512-1295-4272-9138-f99709370657
* Commit a HID fix by gevaerts that prevent the HID driver to call ↵Amaury Pouly2010-03-25
| | | | | | usb_drv_send_nonblocking while the previous transfer has not finished because the current stack doesn't support transfer queueing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25329 a1c6a512-1295-4272-9138-f99709370657
* Fix usb-arc driver: the driver would prematurely mark a transfer as complete ↵Amaury Pouly2010-03-25
| | | | | | whereas only a part of it actually is, check the active of the TDs to avoid that. This should fix some HID+UMS bugs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25328 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2.c Implement HS timings for those cards that are capable.Jack Halpin2010-03-24
| | | | | | The internal card does not appear to be HS capable, at least not in 2GB clip+ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25316 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2.c Don't reset controller on every pass through the transfer loop.Jack Halpin2010-03-24
| | | | | | | | The controller only needs to be reset if we had an error to clean up any leftover trash... Move comment pertaining to retry variable so it's actually nearby. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25315 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2.c Adjust comments for MCI_INT bits to show if they are related ↵Jack Halpin2010-03-24
| | | | | | | | to CMD, DATA, or a termination signal. Adjust the initial MCI_MASK value to also mask the MCI_INT_RXDR and MCI_INT_TXDR bits as it seems we don't use them for dma transfers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25314 a1c6a512-1295-4272-9138-f99709370657
* Packard Bell Vibe 500: remove the old bootloader code (actually a lack of ↵Szymon Dziok2010-03-23
| | | | | | code) and make the main-pp.c acting like a true bootloader for the DAP. It's the first step to integrate the DAP with the RBUtil. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25311 a1c6a512-1295-4272-9138-f99709370657
* SansaAMSv2: Give register CGU_BASE + 0x3C the name CGU_SDSLOT.Jack Halpin2010-03-23
| | | | | | | | Move CLKDIV macros into clock-target.h. Only enable the necessary interfaces for the 3 clock registers used for SD. Add MEMSTICK and SDSLOT registers to bottom of register display in View HW info debug page. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25309 a1c6a512-1295-4272-9138-f99709370657
* No intentional warnings.Björn Stenberg2010-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25308 a1c6a512-1295-4272-9138-f99709370657
* Make this properly dependend on the right defines instead of a blacklist.Tobias Diedrich2010-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25306 a1c6a512-1295-4272-9138-f99709370657
* Limit AUDIO_IRQ handling to AS3525, since it doesn't work on the newer SoC ↵Tobias Diedrich2010-03-23
| | | | | | in SANSA_CLIPPLUS yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25305 a1c6a512-1295-4272-9138-f99709370657
* fix previous revision by using correct definition of i2c prescalerRafaël Carré2010-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25304 a1c6a512-1295-4272-9138-f99709370657
* as3525: do not read i2c2_cpsr* registers because the clock might be disabledRafaël Carré2010-03-23
| | | | | | | The registers value does not change so we don't need to read them This avoids dividing by 0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25303 a1c6a512-1295-4272-9138-f99709370657
* fix r25297 : make ascodec-target.h empty when building simRafaël Carré2010-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25301 a1c6a512-1295-4272-9138-f99709370657
* Implement software pwm to control c200v2 display brightness.Tobias Diedrich2010-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25300 a1c6a512-1295-4272-9138-f99709370657
* Add handler for audio irq.Tobias Diedrich2010-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25299 a1c6a512-1295-4272-9138-f99709370657
* Rewrite ascodec_as3514.c to use interrupts.Tobias Diedrich2010-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25297 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2: read cid & csd in the correct order, fix disk infoRafaël Carré2010-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25292 a1c6a512-1295-4272-9138-f99709370657
* FS#11118: reduce the number of cached sector in FAT code because some are ↵Amaury Pouly2010-03-22
| | | | | | useless after a rewrite of LFN entries handling. Also makes LFN handling more robust. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25290 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2.c We don't need to disable/enable MCI_CLKENA in send_cmd().Jack Halpin2010-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25286 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2.c Enable disk access icon.Jack Halpin2010-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25285 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2.c Use MCI_MASK instead of data_transfer flag to determine if ↵Jack Halpin2010-03-22
| | | | | | data transfer is happening. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25284 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2.c Add macros to distinguish between a CMD error and a DATA error.Jack Halpin2010-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25283 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2 Remove post transfer wait for state call and move pre transfer ↵Jack Halpin2010-03-22
| | | | | | | | wait for state call inside the transfer loop. We don't need the post transfer call this way. We check on TRAN state before each partial transfer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25282 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2.c Use SD_DESELECT_CARD instead of SD_SELECT_CARD to make the ↵Jack Halpin2010-03-22
| | | | | | | | code easier to understand. There is no functional difference. Add comment to explain why we need to do this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25281 a1c6a512-1295-4272-9138-f99709370657
* Update battery discharge curve and current consumption for iRiver h10 5GB. ↵Andree Buschmann2010-03-21
| | | | | | Thanks to Danny Attar for measuring. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25279 a1c6a512-1295-4272-9138-f99709370657
* Use atomic operation for GPIOx_ENABLEs in ide_power_enable() for iPod Video. ↵Andree Buschmann2010-03-21
| | | | | | Thanks to Jens Arnold for this one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25273 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2.c: Correct SD_APP_OP_COND command to send full voltage range ↵Jack Halpin2010-03-21
| | | | | | for v1 SD cards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25266 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2.c: Only manipulate MCI_CLKENA for drive being used.Jack Halpin2010-03-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25265 a1c6a512-1295-4272-9138-f99709370657
* SansaAMSv2 as3541.c Include key line from funman's patch to get sound on ↵Jack Halpin2010-03-21
| | | | | | clip+ and have it only apply to as3525v2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25264 a1c6a512-1295-4272-9138-f99709370657
* Clip+: enable sound on "as3514" (as3543 in fact)Rafaël Carré2010-03-20
| | | | | | | | | | as3525 comes with a as3517, as3525v2 with a as3543, rename specific registers accordingly Existing problems: FM (line out) doesn't work, volume can't go below a certain point git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25260 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11065. Introduce a new system setting for en-/disabling the ↵Andree Buschmann2010-03-20
| | | | | | Line-out. For now only implemented on iPod Video. This allows to save power if the user does not use the player's Line-out. On iPod 5G the saving is ~0.5 mA. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25257 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#9746 by Boris Gjenero. Set PP502x IDE pins low for iPod Video when ↵Andree Buschmann2010-03-20
| | | | | | IDE power is off. Done by OF the same way, might be used by other targets as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25255 a1c6a512-1295-4272-9138-f99709370657
* Reset USB bridge properly when selecting bus powered mode. The bridge might ↵Jens Arnold2010-03-19
| | | | | | have been set to self powered by the cowon loader, and switching the mode requires a reset. Makes USB work on X5s which were set to 'hub mode' in the OF for some reason. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25252 a1c6a512-1295-4272-9138-f99709370657
* lcd-ssd1303 (all Clips) : move model specific code in their own filesRafaël Carré2010-03-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25248 a1c6a512-1295-4272-9138-f99709370657
* Add runtime estimation for the iaudio X5.Michael Giacomelli2010-03-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25247 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2: correctly check send_cmd return value (which is boolean)Rafaël Carré2010-03-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25246 a1c6a512-1295-4272-9138-f99709370657
* SansaAMSv2: Add support for uSD cards to sd-as3525v2.c and activate hotswap ↵Jack Halpin2010-03-18
| | | | | | and multidrive. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25245 a1c6a512-1295-4272-9138-f99709370657
* Clip+: correct usb product idRafaël Carré2010-03-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25244 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2: sd_get_info() is already in common SD codeRafaël Carré2010-03-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25243 a1c6a512-1295-4272-9138-f99709370657
* Fuze: correct usb pidRafaël Carré2010-03-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25232 a1c6a512-1295-4272-9138-f99709370657
* as3525: Fix previous commit, IRAM_ORIG can not be represented as an ↵Rafaël Carré2010-03-17
| | | | | | immediate value on targets with 2MB of ram git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25230 a1c6a512-1295-4272-9138-f99709370657
* as3525*: revert r25198 and inline memory_init in crt0.SRafaël Carré2010-03-17
| | | | | | | | | We do not need a stack pointer at this step, and we are sure to not use memory not initialized yet (like bss) Fixes FS#11114 (tested on Fuze) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25229 a1c6a512-1295-4272-9138-f99709370657
* M:Robe 500 - Improve YUV blit speed.Karl Kurbjun2010-03-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25228 a1c6a512-1295-4272-9138-f99709370657
* M66591 Driver: Correct some comments.Karl Kurbjun2010-03-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25227 a1c6a512-1295-4272-9138-f99709370657