summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm
AgeCommit message (Collapse)AuthorFilesLines
2011-03-20SD amsv2: remove double assignementRafaël Carré1-3/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29624 a1c6a512-1295-4272-9138-f99709370657
2011-03-20Add another delay in the AMSv2 sd controller driver as a work-around for SD ↵Bertrik Sikken1-1/+7
initialisation problems, see FS#11870 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29619 a1c6a512-1295-4272-9138-f99709370657
2011-03-05Change the thread api a bit.Thomas Martitz1-1/+1
* Remove THREAD_ID_CURRENT macro in favor of a thread_self() function, this allows thread functions to be simpler. * thread_self_entry() shortcut for kernel.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29521 a1c6a512-1295-4272-9138-f99709370657
2011-03-02Merge functionality of wakeups and semaphores-- fewer APIs and object types. ↵Michael Sevakis25-148/+180
semaphore_wait takes a timeout now so codecs and plugins have to be made incompatible. Don't make semaphores for targets not using them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29492 a1c6a512-1295-4272-9138-f99709370657
2011-03-01iPod Classic: Use DMA (and double buffering) for LCD updatesMichael Sparmann2-134/+103
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29474 a1c6a512-1295-4272-9138-f99709370657
2011-02-28iPod Classic: Enable RGB LCD update assembler codeMichael Sparmann1-4/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29466 a1c6a512-1295-4272-9138-f99709370657
2011-02-28iPod Classic: Fix YUV blitting. Mpegplayer works now.Michael Sparmann2-4/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29460 a1c6a512-1295-4272-9138-f99709370657
2011-02-27iPod Classic CE-ATA Support (Part 4 of 4: S5L8702 ATA driver)Michael Sparmann7-248/+1493
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29448 a1c6a512-1295-4272-9138-f99709370657
2011-02-25Byteswap routines don't really need 'asm volatile', just 'asm' since it ↵Michael Sevakis1-35/+35
should be safe to move them for optimizing. Clean up the line endings for ARM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29394 a1c6a512-1295-4272-9138-f99709370657
2011-02-24Use thumb-compatible byte swap routines when building with -mthumb.Michael Sevakis1-0/+31
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29391 a1c6a512-1295-4272-9138-f99709370657
2011-02-23Gigabeat S: Smoother bootup. Don't do full drive reset at boot since it's ↵Michael Sevakis1-1/+1
not really a coldstart. Seems to work alright in both the bootloader and firmware. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29383 a1c6a512-1295-4272-9138-f99709370657
2011-02-22Return valid tuner ID even when tuner is not detected properly. Fixes FS#11791Michael Chicoine1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29378 a1c6a512-1295-4272-9138-f99709370657
2011-02-20Calibrate iPod Classic battery gauge a bit betterMichael Sparmann1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29365 a1c6a512-1295-4272-9138-f99709370657
2011-02-14All kernel objects in code shared amongs targets (core, plugins, codecs) ↵Michael Sevakis1-1/+1
should be declared SHAREDBSS_ATTR as any core could potentially touch them even though they seem only to involve threads on one core. The exception is target code for particular CPUs where proper allocation is fixed. playlist.c was a little odd too-- use one mutex for the current playlist and a separate one for created playlists (still pondering the necessity of more than one). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29305 a1c6a512-1295-4272-9138-f99709370657
2011-02-11Submit FS#11926, calibrate charge curve for e200v1. Thanks to Martin Ritter.Andree Buschmann1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29282 a1c6a512-1295-4272-9138-f99709370657
2011-02-10iPod Nano2g/Classic clickwheel: Configure GPIO pins as Hi-Z while hold ↵Michael Sparmann1-2/+2
switch is engaged git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29276 a1c6a512-1295-4272-9138-f99709370657
2011-02-10Fix more red. Two had been hiding.Michael Sparmann1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29274 a1c6a512-1295-4272-9138-f99709370657
2011-02-10Fix redMichael Sparmann1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29273 a1c6a512-1295-4272-9138-f99709370657
2011-02-10iPod Nano 2G: Fix current leak through clickwheel GPIOs when clickwheel is ↵Michael Sparmann1-1/+5
powered down git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29272 a1c6a512-1295-4272-9138-f99709370657
2011-02-10Fix red (remove accidentally committed debugging code)Michael Sparmann1-4/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29269 a1c6a512-1295-4272-9138-f99709370657
2011-02-10iPod Classic: Do boosting the right way round ;-)Michael Sparmann1-148/+152
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29268 a1c6a512-1295-4272-9138-f99709370657
2011-02-10iPod Classic: Fix current leak through clickwheel GPIOs when clickwheel is ↵Michael Sparmann1-0/+3
powered down git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29267 a1c6a512-1295-4272-9138-f99709370657
2011-02-09iPod Classic: Enable boosting by switching the CPU between 1x and 2x AHB clockMichael Sparmann4-9/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29265 a1c6a512-1295-4272-9138-f99709370657
2011-02-09iPod Classic: This time really fix the hold switch. Read it out through the ↵Michael Sparmann1-2/+13
power manager, and cache the result for 100 milliseconds because the power manager doesn't like being spammed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29264 a1c6a512-1295-4272-9138-f99709370657
2011-02-08M:Robe 500: Use bit modifiers more.Karl Kurbjun4-20/+28
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29247 a1c6a512-1295-4272-9138-f99709370657
2011-02-08Fix battery charging.Karl Kurbjun1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29246 a1c6a512-1295-4272-9138-f99709370657
2011-02-07Fix some evil whitespaceMichael Sparmann1-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29243 a1c6a512-1295-4272-9138-f99709370657
2011-02-07iPod Classic: Fix hold switch glitchesMichael Sparmann1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29242 a1c6a512-1295-4272-9138-f99709370657
2011-02-07S5L8702: Power down I2C while it's unusedMichael Sparmann1-18/+28
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29241 a1c6a512-1295-4272-9138-f99709370657
2011-02-07DM320: Fix app.lds to reduce binary image size.Karl Kurbjun1-14/+14
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29240 a1c6a512-1295-4272-9138-f99709370657
2011-02-06Keep the clocks enabled once the LCD DMA transfer completes. It kills the ↵Karl Kurbjun1-8/+0
PCM driver if they are disabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29238 a1c6a512-1295-4272-9138-f99709370657
2011-02-06Remove reference to pin setup function.Karl Kurbjun1-3/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29236 a1c6a512-1295-4272-9138-f99709370657
2011-02-06Remove some initializations that are taken care of in the bootloader or crt0 ↵Karl Kurbjun1-177/+126
setup. Agressive timings are #if 0'd since they are unstable, but may later be added to board setup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29235 a1c6a512-1295-4272-9138-f99709370657
2011-02-06DM320 SPI: Add a bunch of updates to the SPI driver.Karl Kurbjun1-40/+49
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29234 a1c6a512-1295-4272-9138-f99709370657
2011-02-06M:Robe 500 USB: Remove EMIF and pin initialization.Karl Kurbjun1-22/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29233 a1c6a512-1295-4272-9138-f99709370657
2011-02-06M:Robe 500 Power: Remove pin initializations.Karl Kurbjun1-10/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29232 a1c6a512-1295-4272-9138-f99709370657
2011-02-06M:Robe 500 Backlight: Add setup based on OF - purpose of operations are a ↵Karl Kurbjun1-3/+35
mystery, but needed when loading from flash. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29231 a1c6a512-1295-4272-9138-f99709370657
2011-02-06M:Robe 500 ADC: Remove pin initializations.Karl Kurbjun1-10/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29230 a1c6a512-1295-4272-9138-f99709370657
2011-02-06M:Robe 500 ATA: Remove pin initializations.Karl Kurbjun1-5/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29229 a1c6a512-1295-4272-9138-f99709370657
2011-02-06DM320: Clock source selection for timer happens in bootloader.Karl Kurbjun1-4/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29228 a1c6a512-1295-4272-9138-f99709370657
2011-02-06DM320 UART: Remove more pin initializations.Karl Kurbjun1-9/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29227 a1c6a512-1295-4272-9138-f99709370657
2011-02-06Fix ZVM build.Karl Kurbjun1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29226 a1c6a512-1295-4272-9138-f99709370657
2011-02-06DM320: Update boot linker script (right now it is linked against flash). ↵Karl Kurbjun2-66/+406
Include board initialization for M:Robe 500. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29225 a1c6a512-1295-4272-9138-f99709370657
2011-02-06DM320: Re-write of crt0.S and update to app linker script.Karl Kurbjun2-181/+392
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29224 a1c6a512-1295-4272-9138-f99709370657
2011-02-06M:Robe 500: Add a bunch of updates for the LCD. Remove some pin ↵Karl Kurbjun1-72/+65
initializations and disable clocks when DMA is complete. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29223 a1c6a512-1295-4272-9138-f99709370657
2011-02-06Add ARMv4 16-bit(set, mod, clr) operations used on DM320.Karl Kurbjun1-0/+58
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29221 a1c6a512-1295-4272-9138-f99709370657
2011-02-06M:Robe 500 and TSC2100: Add more to the initialization. Some GPIO ↵Karl Kurbjun1-7/+20
initializations are now removed - this will be hanled by the OF or bootloader (when loading from flash). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29220 a1c6a512-1295-4272-9138-f99709370657
2011-02-06DM320 DSP PCM handler: Use initialization library to make sure that code ↵Karl Kurbjun7-73/+193
starts up reliably. Also make some variables volatile so code can be easier debugged. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29219 a1c6a512-1295-4272-9138-f99709370657
2011-02-04AMSv2 USB: Remove usb_enable call that occurs after core is already ↵Michael Sevakis1-3/+1
initialized and the usb_disable call while in ISR. Also, no point in panicing over a disconnect. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29205 a1c6a512-1295-4272-9138-f99709370657
2011-02-02Fix red. Replace remaining MEM's mit MEMORYSIZE.Andree Buschmann2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29190 a1c6a512-1295-4272-9138-f99709370657