summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2010-04-25DM320 UART: Enable clock in UART module since it will not be done in system ↵Karl Kurbjun1-0/+3
initialization. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25716 a1c6a512-1295-4272-9138-f99709370657
2010-04-25M:Robe 500 Power: Update battery Curve and simplify calculations.Karl Kurbjun1-12/+19
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25715 a1c6a512-1295-4272-9138-f99709370657
2010-04-25M:Robe 500 USB: Go back to OF timings for upcoming clock changesKarl Kurbjun1-7/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25714 a1c6a512-1295-4272-9138-f99709370657
2010-04-23Gigabeat S: All the target backlight functions are currently called on the ↵Michael Sevakis1-23/+1
backlight thread whereas that wasn't the case when the hardware fading was added. Now there's no danger of setting brightness interfering while setting up fades, so get rid of the superfluous mutex. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25700 a1c6a512-1295-4272-9138-f99709370657
2010-04-23i.MX31/Gigabeat S: Implement frequency and voltage scaling-- 1.6V for ↵Michael Sevakis20-125/+1311
528MHz, and 1.35V for 264MHz and 132MHz. Keep DPTC overdrive ( > 400MHz) voltage scaling off for now because of uncertainties. Simplify the (working) mess later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25699 a1c6a512-1295-4272-9138-f99709370657
2010-04-23i.MX31: Add some enums and a couple helper functions to make dealing with ↵Michael Sevakis5-281/+482
pin muxing and pad configuration a bit more sane. Convert any existing code which changes mux/pad settings to use helpers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25698 a1c6a512-1295-4272-9138-f99709370657
2010-04-22dircache: increase stack size to handle the worse case path during rebuild ↵Amaury Pouly1-1/+1
(dircache->fat->ata-sd-pp+sdhc) and allows directory with depth up to 20 approximately git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25697 a1c6a512-1295-4272-9138-f99709370657
2010-04-22ata-sd-pp: reduce size of the buffer used to switch bank, no functional ↵Amaury Pouly1-3/+5
change intended. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25696 a1c6a512-1295-4272-9138-f99709370657
2010-04-18Sansa as3525: Add missing lcd-clip.h header file to sansa clip lcd drivers. ↵Bertrik Sikken3-0/+3
Set svn:keywords on scrollwheel-as3525.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25674 a1c6a512-1295-4272-9138-f99709370657
2010-04-18Clean up IAP / ipod remote tuner a bit.Bertrik Sikken2-6/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25672 a1c6a512-1295-4272-9138-f99709370657
2010-04-18Use boolean instead of int for keeping track of mutex signalled state and ↵Bertrik Sikken2-11/+11
wakeup signalled state git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25671 a1c6a512-1295-4272-9138-f99709370657
2010-04-18Move audio_peek_track declaration from skin_display.c to audio.hBertrik Sikken1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25670 a1c6a512-1295-4272-9138-f99709370657
2010-04-18Add the guard where it should be used. The net effect is zero now but it ↵Alexander Levin1-0/+6
might be not in the future if the definitions are changed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25669 a1c6a512-1295-4272-9138-f99709370657
2010-04-18Fix red from r25666 (forgot to use macro to not use core variable on single ↵Michael Sevakis1-5/+5
core), update a comment and remove core check for setting THREAD_SWITCH upon wakeup which is irrelevant to the idea behind the change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25667 a1c6a512-1295-4272-9138-f99709370657
2010-04-18Threads of PRIORITY_REALTIME and above are no longer subject to being ↵Michael Sevakis1-10/+18
switched away based upon aging of lower priority threads. Now, recommend a thread switch in wakeup_thread of any thread of higher priority is ready to run. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25666 a1c6a512-1295-4272-9138-f99709370657
2010-04-17Use a more natural guard for the callback definitionAlexander Levin1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25664 a1c6a512-1295-4272-9138-f99709370657
2010-04-16Cleanup thread_entry definition a bit. Reorder members so that related ones ↵Thomas Martitz2-10/+6
are next to each other and move a pretty hidden define into config.h. Doesn't make a binsize difference (the comment says the order should be optimized for size). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25659 a1c6a512-1295-4272-9138-f99709370657
2010-04-16Convert macro to inline function and move it into .c file.Thomas Martitz2-15/+29
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25658 a1c6a512-1295-4272-9138-f99709370657
2010-04-16Use API call instead of accessing a global variable for receiving the ↵Thomas Martitz2-14/+11
current thread. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25657 a1c6a512-1295-4272-9138-f99709370657
2010-04-16workaround DBOP noise issue on C200v2 cause it's really annoying if your ↵Tobias Diedrich2-1/+52
buttons don't work in the debug menu... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25655 a1c6a512-1295-4272-9138-f99709370657
2010-04-14Make builds with MAX_PHYS_SECTOR_SIZE defined (ipod video) work with larger ↵Torne Wuff1-14/+26
sizes if the drive is sane. The ipod video build has a MAX_PHYS_SECTOR_SIZE of 1024. This meant it would refuse to boot on drives with sectors larger than 1024 bytes, even if those drives don't actually require the workaround originally intended for the 80GB 5.5G's drive. ata_init() will now, if the drive claims to have >512 byte sectors, try and read sector 1 to determine if the drive is capable of emulating 512-byte sector accesses. If this succeeds, we assume the drive is better at it than us (this is very likely to be true) and set phys_sector_mult to 1, disabling the workaround and ensuring the drive will work regardless of sector size. Making use of this change requires that you build and install an updated bootloader as well as the main build; a new iPod bootloader will be released soon, so if you can't do this yourself, be patient. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25646 a1c6a512-1295-4272-9138-f99709370657
2010-04-13s3c2440: fix a typo, 4|1 == 5, not 0x41Rafaël Carré1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25642 a1c6a512-1295-4272-9138-f99709370657
2010-04-13Enable SW tone control on gigabeat S, since HW tone controls for its DAC are ↵Torne Wuff1-0/+3
not implemented yet git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25641 a1c6a512-1295-4272-9138-f99709370657
2010-04-13Fix minor mistake in tone control code: UDA1341 was added to the wrong part ↵Torne Wuff1-4/+7
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é1-3/+1
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é1-7/+4
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é1-2/+3
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é2-20/+12
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é3-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25635 a1c6a512-1295-4272-9138-f99709370657
2010-04-13s5l870x : use mmu-arm.SRafaël Carré6-151/+31
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é5-2/+7
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é1-67/+67
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é1-0/+4
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é1-0/+2
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é1-12/+28
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é1-22/+41
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é2-3/+3
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é1-2/+2
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é1-13/+11
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é1-2/+2
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é2-149/+149
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 Pouly1-5/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25619 a1c6a512-1295-4272-9138-f99709370657
2010-04-13- Forget a cosmetic change.Amaury Pouly1-2/+2
- 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 Pouly1-137/+124
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 Sevakis1-2/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25615 a1c6a512-1295-4272-9138-f99709370657
2010-04-12fix yellowRafaël Carré1-1/+7
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 Buschmann1-5/+5
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é1-2/+2
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é1-3/+3
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 Arnold3-12/+0
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