summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2010-04-13Fix minor mistake in tone control code: UDA1341 was added to the wrong part ↵Torne Wuff
of the conditional (it has hw bass/treble but not prescaling, like the other wm codecs listed) and TSC2100 has no hw tone controls at all so is already covered by HAVE_SW_TONE_CONTROLS. Comment has been clarified to make this less likely to happen again :) Net effect: tone controls should no longer adjust the overall perceived volume in a weird way on mini2440. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25640 a1c6a512-1295-4272-9138-f99709370657
2010-04-13Fuzev2: USB detection isn't reliable in factRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25639 a1c6a512-1295-4272-9138-f99709370657
2010-04-13fuzev2: remove some delays from button driverRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25638 a1c6a512-1295-4272-9138-f99709370657
2010-04-13Fuzev2: removed a useless GPIO op, add some whitespaceRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25637 a1c6a512-1295-4272-9138-f99709370657
2010-04-13Fuzev2: simplify button_read_device()Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25636 a1c6a512-1295-4272-9138-f99709370657
2010-04-13s5l870x / ipod nano2g: include common mmu-arm.hRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25635 a1c6a512-1295-4272-9138-f99709370657
2010-04-13s5l870x : use mmu-arm.SRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25634 a1c6a512-1295-4272-9138-f99709370657
2010-04-13Move CACHEALIGN_BITS to cpu headersRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25633 a1c6a512-1295-4272-9138-f99709370657
2010-04-13s3c2440/system-target.h : CRLF -> LFRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25632 a1c6a512-1295-4272-9138-f99709370657
2010-04-13mmu-armv6: comment out invalidate_dcache_range()Rafaël Carré
It is only used by gigabeat f/x, and is defined in mmu-arm.S already git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25631 a1c6a512-1295-4272-9138-f99709370657
2010-04-13mmu-arm.S: comment out dump_dcache_range()Rafaël Carré
It is only used by gigabeats, and is defined in mmu-armv6.S already git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25630 a1c6a512-1295-4272-9138-f99709370657
2010-04-13mmu-arm.S: disable MMU functions on CPUs which don't use themRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25629 a1c6a512-1295-4272-9138-f99709370657
2010-04-13mmu-arm.S: Use correct implementations on arm926ej-s CPUsRafaël Carré
clean_dcache and invalidate_dcache were incorrect and too tied to the arm920t/arm922t 64-way set associative caches Make those functions smaller on as3525, as this CPU has a smaller cache than the gigabeat F/X Flyspray: FS#11106 Authors: Jack Halpin and myself git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25628 a1c6a512-1295-4272-9138-f99709370657
2010-04-13mmu-arm* : cpucache_invalidate() needs to be in IRAM for roloRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25627 a1c6a512-1295-4272-9138-f99709370657
2010-04-13mmu-arm (v4/v5) : fix previous commit, clean/invalidate correctly the first ↵Rafaël Carré
segment in each loop git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25626 a1c6a512-1295-4272-9138-f99709370657
2010-04-13mmu-arm (v4/v5) : use one less instruction in invalidate_dcache/clean_dcacheRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25625 a1c6a512-1295-4272-9138-f99709370657
2010-04-13mmu-s5l8700.S: correct a comment about segment position in index formatRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25624 a1c6a512-1295-4272-9138-f99709370657
2010-04-13s5l8700 : remove some CRLF line endingsRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25623 a1c6a512-1295-4272-9138-f99709370657
2010-04-13Enforce the 80-char limit to make everyone happy.Amaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25619 a1c6a512-1295-4272-9138-f99709370657
2010-04-13- Forget a cosmetic change.Amaury Pouly
- Interface number is in lower half of wIndex for interface control requests. Upper half is reserved and used in other protocols. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25618 a1c6a512-1295-4272-9138-f99709370657
2010-04-13Attempt to have a consistent coding convention in usb_core.cAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25617 a1c6a512-1295-4272-9138-f99709370657
2010-04-13Gigabeat S: Employ more accurate battery charging curve.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25615 a1c6a512-1295-4272-9138-f99709370657
2010-04-12fix yellowRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25602 a1c6a512-1295-4272-9138-f99709370657
2010-04-11Tweaking iPod Video battery configuration. Dangerous battery level is latest ↵Andree Buschmann
reached below 3500 mV, discharge curve is optimized for stable runtime estimation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25600 a1c6a512-1295-4272-9138-f99709370657
2010-04-11as3525v2: only clear DIV0 bits in set_cpu_frequency() (not bit 6)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25595 a1c6a512-1295-4272-9138-f99709370657
2010-04-11as3525v2: clarify the comment about write supportRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25594 a1c6a512-1295-4272-9138-f99709370657
2010-04-11Fix an almost 3 years old bug introduced when moving the archos power ↵Jens Arnold
handling to target tree: ide_powered() must always use the full implementation, even if HAVE_ATA_POWER_OFF isn't defined. This led to an ATA panic in the Player's charging screen for SVN builds (only applies to flashed Players). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25593 a1c6a512-1295-4272-9138-f99709370657
2010-04-11as3525v2: extend a bit the delay after switching pclk/fclkRafaël Carré
fix r25571 : Clipv2 would boot to a black screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25592 a1c6a512-1295-4272-9138-f99709370657
2010-04-11Minor binsize savings.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25588 a1c6a512-1295-4272-9138-f99709370657
2010-04-10as3525v2: set_cpu_frequency()Rafaël Carré
delay a bit after changing pclk/fclk tiny refactoring git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25571 a1c6a512-1295-4272-9138-f99709370657
2010-04-10Gigabeat S/i.MX31: Continue, and most likely complete, the ↵Michael Sevakis
platform/player-specific code/data shuffling begun in r25547. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25564 a1c6a512-1295-4272-9138-f99709370657
2010-04-09Gigabeat S: Slow down the SPI clock to 1/8 current speed. It seems lower ↵Michael Sevakis
voltages can reveal the weakness that forbids maximum-speed clocking per the SPI spec. OF leaves it set much slower. Push it a bit over OF since it's been gotten away with fairly cleanly so far. Settings on pins and interface to be more thoroughly investigated. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25554 a1c6a512-1295-4272-9138-f99709370657
2010-04-09Add LBA48 support to all targets with ATA, except archoses whose USB bridge ↵Torne Wuff
chip can't handle it. The cost of LBA48 support is very small and it means that upgraded drives/CF cards which are over 128GiB will just work with no custom build required. There should be no runtime effect on disks which do not require it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25553 a1c6a512-1295-4272-9138-f99709370657
2010-04-09Gigabeat S: More accurate battery level estimation for discharge curve.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25551 a1c6a512-1295-4272-9138-f99709370657
2010-04-09Gigabeat S: A little more housekeeping. Move source clock frequencies to ↵Michael Sevakis
config. header and name them per ref. manual designations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25549 a1c6a512-1295-4272-9138-f99709370657
2010-04-09Gigabeat S/i.MX31: Sort files in the /target tree into things that are ↵Michael Sevakis
SoC-generic (into /imx31) and player-specific (into /gigabeat-s, based upon current appearances). Move i2s clock init into the appropriate file. Housekeeping only-- no functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25547 a1c6a512-1295-4272-9138-f99709370657
2010-04-09sd-as3525v2: Add some comments, no functional changesJack Halpin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25546 a1c6a512-1295-4272-9138-f99709370657
2010-04-08Make usb storage wait for new commands in parallel with sending out the CSW ↵Frank Gevaerts
again, for a nice speed improvement. This is basically the same as was done before r24333, only this time it should be correct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25542 a1c6a512-1295-4272-9138-f99709370657
2010-04-08Added battery profile change to correct file, removed unused powermgmt-as3525.cTobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25541 a1c6a512-1295-4272-9138-f99709370657
2010-04-08Use a real battery discharge curve for calibration dataTobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25540 a1c6a512-1295-4272-9138-f99709370657
2010-04-08Sansa AMSv2: Do not disable DMA synchronization logic for as3525v2. The ↵Jack Halpin
DMA controller and the SD controller run at different clock speeds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25532 a1c6a512-1295-4272-9138-f99709370657
2010-04-08sd-as3525v2: Start out with all MCI Interrupts masked.Jack Halpin
Before the clock settings were fixed this setting actually caused the problem it now seems to solve. Random freezups seem to be gone for clip+ at least. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25531 a1c6a512-1295-4272-9138-f99709370657
2010-04-07FS#11187 - diacritic.c is in 'drivers' but it does not belong thereTomer Shalev
- Move diacritic.c to firmware/common - The function is_diacritic returns bool now git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25526 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Make ATA code not bother to retry requests that return IDNF (specified ↵Torne Wuff
sector not valid). There's no point retrying these requests for five seconds, the sector number isn't going to get any more valid. It interferes with being able to detect broken drives like the 5.5G 80GB iPod's. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25525 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Gigabeat S: Add some sanity checks for a strange charging anomaly that I ↵Michael Sevakis
have personally witnessed twice-- no, I don't have photos or a YT video but it did happen. Details are given in a comment in powermgmt-imx31.c. If it happens again, the checks may serve to reveal the true cause. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25524 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Set SVN keywords; small addition to the comment.Alexander Levin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25522 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Add comment to is_diacritic()Tomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25521 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Gigabeat S: Extend the upper temperature range for battery charging to 50C: ↵Michael Sevakis
OK and 45C: Resume. Currently extended disk activity can cause it to detect overtemp which doesn't quite seem correct. Add macros for the range so that they may be target-specific. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25508 a1c6a512-1295-4272-9138-f99709370657
2010-04-07sd-as3525v2: Set SD FIFO TX/RX watermarks once in init_controller() and ↵Jack Halpin
leave them alone after that. We only use DMA transfers so we should not need to change/reset the FIFO configuration. Also add comment showing what we set as the TX/RX watermarks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25507 a1c6a512-1295-4272-9138-f99709370657
2010-04-07Gigabeat S (imx31): Begin voltage and frequency scaling code. For now, to ↵Michael Sevakis
avoid overdrive voltage, just lower core voltage to 1.35V since voltage scaling shouldn't be required for frequencies lower than 399 MHz (according to Freescale BSP, which set all working points to 1.35V for those frequencies). Perhaps battery life will improve as well (cross fingers :). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25506 a1c6a512-1295-4272-9138-f99709370657