summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm
AgeCommit message (Collapse)AuthorFilesLines
2010-08-12Move memset6() declaration to string-extra.h, kills a warning compiling for ↵Thomas Martitz2-2/+2
android since it ships a memory.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27789 a1c6a512-1295-4272-9138-f99709370657
2010-08-12Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this ↵Thomas Martitz8-9/+16
and a bit further cleanup in main gets rid of a warning when compiling for android. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27788 a1c6a512-1295-4272-9138-f99709370657
2010-08-12emBIOS backports part four: Add a lot of DEBUGF()s to the FTL code, and ↵Michael Sparmann1-48/+157
return proper error codes instead of panicing in a lot of error cases. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27783 a1c6a512-1295-4272-9138-f99709370657
2010-08-12emBIOS backports part three: Make the NAND flash driver return more useful ↵Michael Sparmann2-24/+22
error codes if initialization fails. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27782 a1c6a512-1295-4272-9138-f99709370657
2010-08-12emBIOS backports part two: Fix a stupid global variable *instantiation* in a ↵Michael Sparmann1-2/+2
header file, which might have caused all hell of trouble. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27781 a1c6a512-1295-4272-9138-f99709370657
2010-08-12Fix red: Revert the const correctness part, which opened a can of worms.Michael Sparmann1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27780 a1c6a512-1295-4272-9138-f99709370657
2010-08-12emBIOS backports part one: Fix an annoying race condition in the Synopsys ↵Michael Sparmann1-19/+24
OTG driver, and a bit of const correctness. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27779 a1c6a512-1295-4272-9138-f99709370657
2010-08-08ipod nano 2g: make functions/variables static where possible, add missing ↵Bertrik Sikken7-121/+116
#includes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27752 a1c6a512-1295-4272-9138-f99709370657
2010-08-08Various minor fixes for Samsung YH* targetsBertrik Sikken3-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27751 a1c6a512-1295-4272-9138-f99709370657
2010-08-01Various minor cleanups for cowon d2Bertrik Sikken3-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27646 a1c6a512-1295-4272-9138-f99709370657
2010-08-01Various minor cleanups for mini2440Bertrik Sikken6-4/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27645 a1c6a512-1295-4272-9138-f99709370657
2010-07-31Various minor clean-ups for mrobeBertrik Sikken2-6/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27639 a1c6a512-1295-4272-9138-f99709370657
2010-07-31Various minor clean-ups for Zen VisionBertrik Sikken4-7/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27636 a1c6a512-1295-4272-9138-f99709370657
2010-07-31Add #include to power-ipod.c, make some variables static in storage.cBertrik Sikken1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27634 a1c6a512-1295-4272-9138-f99709370657
2010-07-30Make some global function/variables local (by making them static)Bertrik Sikken2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27631 a1c6a512-1295-4272-9138-f99709370657
2010-07-30AMSv1: Don't modify MPMC_DYNAMIC_CONTROLRafaël Carré1-5/+0
The last bootloaders already set it correctly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27627 a1c6a512-1295-4272-9138-f99709370657
2010-07-22lcd-clip.h: mentions clipv2Rafaël Carré1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27523 a1c6a512-1295-4272-9138-f99709370657
2010-07-22Sansa clip+: fix display brightness for players with newer OLED controller ↵Bertrik Sikken7-76/+49
type (and reorganise the variant detection a bit in the process) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27522 a1c6a512-1295-4272-9138-f99709370657
2010-07-22Correction to previous commit: fix condition to include backlight-target.h ↵Bertrik Sikken1-1/+1
(not needed for clip+) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27521 a1c6a512-1295-4272-9138-f99709370657
2010-07-22Sansa Clip+: detect AMSv2 variant (just like was already done for fuze v2), ↵Bertrik Sikken6-25/+25
this makes SD transfers work for newer clip+ players ("COMBO4E" type). Variable fuzev2_variant has been renamed to amsv2_variant. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27520 a1c6a512-1295-4272-9138-f99709370657
2010-07-22as3525v1 USB: remove stubs if !defined(USE_ROCKBOX_USB)Rafaël Carré1-92/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27519 a1c6a512-1295-4272-9138-f99709370657
2010-07-22CCU_BASE+0x20 is specific to AMSv2 -> move to as3525v2.hRafaël Carré1-2/+2
Rename to simply 'CCU_USB' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27518 a1c6a512-1295-4272-9138-f99709370657
2010-07-20The new Fuzev2 use the same FM chip than some Clip+Rafaël Carré1-0/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27502 a1c6a512-1295-4272-9138-f99709370657
2010-07-20buttonlight for new fuzev2Rafaël Carré1-0/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27501 a1c6a512-1295-4272-9138-f99709370657
2010-07-20Revert r26290Rafaël Carré1-0/+5
If the card is not actively deselected on newer Fuzev2, frequent switches between internal storage and µSD will lock up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27500 a1c6a512-1295-4272-9138-f99709370657
2010-07-19newer Fuzev2 doesn't seem to use B5 for button lightRafaël Carré2-11/+25
playing from µSD now works to some degree database update or copy between the 2 drives lock up git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27496 a1c6a512-1295-4272-9138-f99709370657
2010-07-19sd-as3525.c: disable widebus again, it causes read corruptionsRafaël Carré1-4/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27495 a1c6a512-1295-4272-9138-f99709370657
2010-07-19as3525*: use atomic bit manipulation for CCU_IORafaël Carré5-11/+11
fuzev2 button_read_device() runs in interrupt context so writes are atomic git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27494 a1c6a512-1295-4272-9138-f99709370657
2010-07-19as3525*: disable_irq in system_reboot()Rafaël Carré1-0/+3
make sure CGU_PERI write is atomic git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27493 a1c6a512-1295-4272-9138-f99709370657
2010-07-19Support new Fuzev2 revisions (fuzev2_variant == 1)Rafaël Carré5-26/+61
- Revert BUTTON_HOME - Modifications to SD driver (µSD not working yet) TODO: µSD and FM radio git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27492 a1c6a512-1295-4272-9138-f99709370657
2010-07-19sd-as3525v2: remove unneeded prototypesRafaël Carré1-26/+24
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27488 a1c6a512-1295-4272-9138-f99709370657
2010-07-14Fuze*/e200v2: remove unused lcd_set_contrast()Rafaël Carré2-10/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27413 a1c6a512-1295-4272-9138-f99709370657
2010-07-11D2: Fix another timing loop that broke when we switched to the EABI ↵Rob Purchase1-2/+5
compiler, this time in the LCD driver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27395 a1c6a512-1295-4272-9138-f99709370657
2010-07-04hdd6330: Enable buttonlights.Szymon Dziok1-0/+18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27276 a1c6a512-1295-4272-9138-f99709370657
2010-07-04hdd6330: enable full touchpad support - code cleanup, all buttons should ↵Szymon Dziok2-28/+82
work now correctly, scrollstrip should work like in the OF. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27274 a1c6a512-1295-4272-9138-f99709370657
2010-07-04hdd6330: change the synaptics-mep driver in a few places according to the ↵Szymon Dziok2-7/+7
touchpad behavior. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27273 a1c6a512-1295-4272-9138-f99709370657
2010-07-03Clip+ LCD: support devices with a different controllerRafaël Carré7-19/+25
The new controller framebuffer (different from what is in clipv1/clipv2 and some clip+) has 128 columns, the old has 132 columns and is centered on the screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27257 a1c6a512-1295-4272-9138-f99709370657
2010-07-02pl081: Fix r27236 warnings. Need system.h.Michael Sevakis1-3/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27237 a1c6a512-1295-4272-9138-f99709370657
2010-07-02AMS SoC's: Some register bit changes need interrupt protection: timer API ↵Michael Sevakis11-23/+35
and CGU_PERI. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27236 a1c6a512-1295-4272-9138-f99709370657
2010-06-30i.MX31: Make DMA ISR call loop a bit more efficient.Michael Sevakis1-11/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27192 a1c6a512-1295-4272-9138-f99709370657
2010-06-30Gigabeat S: INIT section wasn't properly overlapping the uninitialized areas ↵Michael Sevakis1-1/+5
thus wasn't being reclaimed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27190 a1c6a512-1295-4272-9138-f99709370657
2010-06-30i.MX31: Only include the SDMA code that will be used on the target. Simplify ↵Michael Sevakis2-708/+73
the script selection. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27189 a1c6a512-1295-4272-9138-f99709370657
2010-06-30Remove atomic register bit manipulation functions from i.MX and s3c target ↵Michael Sevakis26-190/+263
code and introduce generic functions for ARM (bitmod32, bitset32, and bitclr32). Multiprocessor support is possible but just not implemented at the moment, only interrupt lockout. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27188 a1c6a512-1295-4272-9138-f99709370657
2010-06-29sd-as3525.c: handle acmd retries correctlyTobias Diedrich1-13/+27
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27187 a1c6a512-1295-4272-9138-f99709370657
2010-06-29as3525v2-usb: fix yellowAmaury Pouly1-14/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27181 a1c6a512-1295-4272-9138-f99709370657
2010-06-29mutex_lock/unlock must be moved up a level to make the verify code in ↵Tobias Diedrich1-4/+14
sd-as3525.c safe git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27180 a1c6a512-1295-4272-9138-f99709370657
2010-06-29usb-drv-as3525v2.c: fix compilation (typo)Rafaël Carré1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27179 a1c6a512-1295-4272-9138-f99709370657
2010-06-29as3525v2-usb: fix bug in ep listing macro, rewrite EP0 handling using a stateAmaury Pouly1-33/+118
There was a stupid bug in endpoint listing which caused random cancelling of EP0 transfers. The new scheme to handle EP0 transfers should avoid an unexpected setup packet which might cause a deadlock or confuse the core. There is still an issue with the cancel_transfers function is still. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27178 a1c6a512-1295-4272-9138-f99709370657
2010-06-29Gigabeat S: The forced shutoff voltage level can be lowered a tiny bit it seems.Michael Sevakis1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27170 a1c6a512-1295-4272-9138-f99709370657
2010-06-28Enable HID support, clean up usb-drv-as3525.c a bit, add a workaround for ↵Tobias Diedrich2-63/+25
weird Linux behaviour (don't have Windows to test with), we don't need to set up USB_PHY_EPx_INFO (OF doesn't bother either). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27164 a1c6a512-1295-4272-9138-f99709370657