summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm
AgeCommit message (Collapse)AuthorFilesLines
2009-06-24Fix some forgotten OR's in some button-target.h filesMaurus Cuelenaere2-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21501 a1c6a512-1295-4272-9138-f99709370657
2009-06-24TCC78x: Enable interrupts/threading in the bootloader (required now that the ↵Rob Purchase4-53/+45
storage driver yields). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21486 a1c6a512-1295-4272-9138-f99709370657
2009-06-24Fix an error in the TCC NAND driver which caused a panic on startup for ↵Rob Purchase1-5/+7
certain users. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21485 a1c6a512-1295-4272-9138-f99709370657
2009-06-24Fix RedKarl Kurbjun1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21484 a1c6a512-1295-4272-9138-f99709370657
2009-06-24M:Robe 500: RTC is now working, Added some SPI flexibility per end device ↵Karl Kurbjun4-18/+39
and modified the interrupt handler for the tsc2100 which should make it more reliable. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21483 a1c6a512-1295-4272-9138-f99709370657
2009-06-23Implement PWM backlight driver for the Meizus. Update Meizu M3 bootloader to ↵Bertrik Sikken5-63/+117
control brightness with the touch strip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21478 a1c6a512-1295-4272-9138-f99709370657
2009-06-23Sansa AMS debug: small fixesRafaël Carré1-10/+8
- Indentation fix - Put braces around _DEBUG_PRINTF macro - read_cp15() is only 1 instruction so inline it, and it doesn't access memory git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21477 a1c6a512-1295-4272-9138-f99709370657
2009-06-22FS#10284 - "Sansa e200v2 & Fuze: Merge the button driver into 1 file" by ↵Thomas Martitz2-283/+86
Dustin Skoracki Those two drivers were so similar, merging them is worth a few more #ifdefs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21474 a1c6a512-1295-4272-9138-f99709370657
2009-06-22Meizu lcd-m3: whitespace fixesBertrik Sikken1-106/+106
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21469 a1c6a512-1295-4272-9138-f99709370657
2009-06-22TCC78x: Make the NAND driver yield during reads (thanks to bertrik for ↵Rob Purchase1-0/+11
spotting the obvious error that caused this to crash until now). Fixes the D2 'delay before playback starts' bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21465 a1c6a512-1295-4272-9138-f99709370657
2009-06-21Fix more missing mutex_init calls.Bertrik Sikken2-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21463 a1c6a512-1295-4272-9138-f99709370657
2009-06-21Do not use lcd_blit_yuv() if MEMORYSIZE <= 2, since mpegplayer won't run ↵Rafaël Carré1-12/+6
anyway (and won't build) Only affected target: Sansa c200v2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21453 a1c6a512-1295-4272-9138-f99709370657
2009-06-21Fix missing i2c mutex initialisation for telechips.Bertrik Sikken1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21445 a1c6a512-1295-4272-9138-f99709370657
2009-06-20Sansa c200v1 & c200v2 LCD: higher performance when writing pixelsRafaël Carré1-15/+23
c200v1: use a loop similar to r21320 and before to get almost the same performance (49.x fps while r21320 had 50.7 fps) c200v2: better use of the DBOP fifo (taken from r21190) : 30% more fps rename lcd_send_data to lcd_write_data now that it has the same prototype git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21427 a1c6a512-1295-4272-9138-f99709370657
2009-06-20Fix delays in generic i2c driver, reduce delays in ams sansa fmradio i2c ↵Bertrik Sikken1-1/+1
driver (tested on m200v4, clip, e200v2, fuze). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21421 a1c6a512-1295-4272-9138-f99709370657
2009-06-20Enable charging on the Sansa Fuze (charging/discharging curves are still ↵Bertrik Sikken2-0/+62
uncalibrated) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21394 a1c6a512-1295-4272-9138-f99709370657
2009-06-19Philips SA9200: 1) reset all devices in system_init, 2) revert an earlier ↵Mark Arigo4-44/+86
change in the sd driver, 3) properly detect the charger, 4) add lcd register defines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21347 a1c6a512-1295-4272-9138-f99709370657
2009-06-19Philips SA9200: Working touchpad and button lights! Also, improvements to ↵Mark Arigo5-31/+124
the keymap (still needs work). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21346 a1c6a512-1295-4272-9138-f99709370657
2009-06-19Clean up the Synaptics touchpad driver.Mark Arigo6-163/+66
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21344 a1c6a512-1295-4272-9138-f99709370657
2009-06-18Sansa AMS: fix yellow for models with buttonlight & without multivolumeRafaël Carré1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21343 a1c6a512-1295-4272-9138-f99709370657
2009-06-18Apply FS#10306 to Sansa c200v2 (fix build in the same time)Rafaël Carré1-1/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21341 a1c6a512-1295-4272-9138-f99709370657
2009-06-18FS#10306 by Thomas Martitz : button light doesn't change on SD transfers on ↵Rafaël Carré2-7/+29
Sansa AMS (Fuze & e200v2) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21340 a1c6a512-1295-4272-9138-f99709370657
2009-06-18Sansa c200v2 : support more hardwareRafaël Carré3-50/+25
Don't read the buttons from GPIOC but from DBOP_DIN (all directional buttons + select) Still missing hold, rec, volume up and volume down Read microsd Tuner is a si4700 but seems to suffer from the same problem than e200v2 Sound works TODO: missing buttons, lcd yuv, test lcd performance (the c200v1 lcd performance has decreased since r21321 : needs to be investigated) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21330 a1c6a512-1295-4272-9138-f99709370657
2009-06-17Sansa c200v2 : lcd & backlight support, using the c200v1 lcd driverRafaël Carré5-571/+265
The LCD driver is unified and lcd_send_command now takes 2 arguments : the command and its argument. If there is no argument, it's set to 0 and a NOP command is issued If there is more than one argument (set X/Y address), the 2nd argument is sent as a 2nd command, and a NOP command is issued after it. Benefit : c200v2 transfers the command and the argument in one 16 bits transfer Performance should not be affected since commands without argument are only used in lcd_init() and lcd_enable() lcd_send_data() now transfers whole lines (or columns) instead of single pixels yuv is disabled for c200v2 for now Some buttons can be read, including left button (bit 6 of DBOP_DIN), but for some reason they have no effect in rockbox: to be investigated git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21321 a1c6a512-1295-4272-9138-f99709370657
2009-06-13Sansa AMS: add a comment in sdram_init(), and use inline asm to set the ↵Rafaël Carré1-3/+5
SDRAM mode register git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21282 a1c6a512-1295-4272-9138-f99709370657
2009-06-13M:Robe 500: Fix up 256 color blitting when in portrait mode, fix a mistake ↵Karl Kurbjun2-118/+109
in the plugin linker script, reduce the amount of memory used by overwriting IRAM with bss after program has started, clean up some tabs and formatting, resize the simulator when building for 640x480 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21280 a1c6a512-1295-4272-9138-f99709370657
2009-06-12FS#10317 - Sansa AMS 32-bit timers. Configure the timers for 32-bit mode ↵Bertrik Sikken1-14/+6
instead of the default 16-bit mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21266 a1c6a512-1295-4272-9138-f99709370657
2009-06-11Commit FS#10285 - Sansa Clip alternative button driver. This driver ↵Bertrik Sikken1-34/+67
alternates one row in the button matrix per kernel tick, avoiding the need for explicit delays between selecting a button row and reading colums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21253 a1c6a512-1295-4272-9138-f99709370657
2009-06-11Minor nitpick: don't do |= on the write-only GPIOA_IC registerBertrik Sikken1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21251 a1c6a512-1295-4272-9138-f99709370657
2009-06-11Sansa AMS storage driver: restart bank selection if data transfer failed, ↵Rafaël Carré1-34/+39
and precise a comment about retry variable git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21248 a1c6a512-1295-4272-9138-f99709370657
2009-06-11FS#10309 : Sets reasonable timeouts for data access in the SD driverRafaël Carré1-2/+10
Those are the recommended maximal timeouts in §4.6.2 Despite that, some people still experiment problems with the SD driver since MMU and data cache were enabled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21247 a1c6a512-1295-4272-9138-f99709370657
2009-06-09Sansa AMS: make the UNCACHED_ADDR macro work for any type of pointer, and ↵Rafaël Carré2-2/+2
only use pointers with it, not arrays git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21230 a1c6a512-1295-4272-9138-f99709370657
2009-06-08FS#10048 : enable MMU and data cache on Sansa AMS to give a major speed upRafaël Carré9-44/+67
- cache IRAM and DRAM - map IRAM just next to DRAM to remove the need for -mlong-calls and reduce binsize - tweak delays in Fuze button code - tweak delays in Clip button code (down button sometimes doesn't respond anyway : an alternate driver is being worked on) Before reporting any problem, please check your filesystem or format your player from the OF git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21228 a1c6a512-1295-4272-9138-f99709370657
2009-06-08Sansa fuze: don't configure GPIO A7 in the LCD driver, this pin is used for ↵Bertrik Sikken1-2/+1
fm radio git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21225 a1c6a512-1295-4272-9138-f99709370657
2009-06-08Sansa e200v2: use = instead of |= when setting GPIO levelBertrik Sikken1-5/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21224 a1c6a512-1295-4272-9138-f99709370657
2009-06-08M:Robe 500: Add missing file.Karl Kurbjun1-0/+23
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21212 a1c6a512-1295-4272-9138-f99709370657
2009-06-08Fix Creative ZVM buildKarl Kurbjun1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21209 a1c6a512-1295-4272-9138-f99709370657
2009-06-08M:Robe 500: Mostly complete USB driver, supports BULK mode currently and ↵Karl Kurbjun6-53/+76
gets about 2 MB/s writes vs 1.1 MB/s on the OF. Mostly tested against Linux, preliminary testing in Windows appears to work. There is currently a bug in the attach process where it only works once per boot that needs to be fixed. There are a few other minor M:Robe 500 changes as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21208 a1c6a512-1295-4272-9138-f99709370657
2009-06-07FS#10273 : Power Sansa Clip screen for some models needing as3514's DCDC15Rafaël Carré1-1/+9
No battery life loss for models not needing it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21207 a1c6a512-1295-4272-9138-f99709370657
2009-06-06Sansa Clip: apply r21190 to asm lcd_greydata : 2% speedupRafaël Carré1-2/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21199 a1c6a512-1295-4272-9138-f99709370657
2009-06-04Make more effective use of the DBOP FIFO for the sansa clip.Bertrik Sikken1-3/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21190 a1c6a512-1295-4272-9138-f99709370657
2009-06-04Sansa AMS: Revert r21177 : the timer frequency is used by the user timer ↵Rafaël Carré2-12/+13
(example: metronome will be twice too fast) Instead use a private KERNEL_TIMER_FREQ define which is dependant on HAVE_SCROLLWHEEL Comment that call_tick_tasks() will read the scrollwheel Remove the unneeded volatile type qualifier from poll_scrollwheel git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21187 a1c6a512-1295-4272-9138-f99709370657
2009-06-03git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21182 ↵Jack Halpin2-0/+7
a1c6a512-1295-4272-9138-f99709370657
2009-06-03Change the timer interrupt setup so that TIMER_FREQ is changed for ↵Thomas Martitz2-6/+8
HAVE_SCROLLWHEEL (which read the scrollwheel between tick tasks too) instead of the generated variable. No functional change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21177 a1c6a512-1295-4272-9138-f99709370657
2009-06-02Sansa AMS : don't use the SHAREDBSS_ATTR since we don't have a coprocessorRafaël Carré4-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21171 a1c6a512-1295-4272-9138-f99709370657
2009-06-02Revisite Sansa fuze button driver:Thomas Martitz1-29/+38
*Correct/update some comments *Make BUTTON_REPEAT generation more relable (do it like the e200v2, but with a shorter repeat intervall) *adjust button_delay *remove unecessary wait for fifo empty (no lcd function returns with fifo not empty) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21166 a1c6a512-1295-4272-9138-f99709370657
2009-06-01c100: Get a regular build compiling. Very little functionality.Marc Guay2-73/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21153 a1c6a512-1295-4272-9138-f99709370657
2009-06-01Sansa AMS : higher a bit the delay between acmd41 loops, needed for some ↵Rafaël Carré1-0/+1
microsd cards. FS#10268 by Eric Shattow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21152 a1c6a512-1295-4272-9138-f99709370657
2009-05-31Use I2C2_DACNT register (number of pending i2c bytes to read/write) to ↵Bertrik Sikken1-39/+27
determine if an ascodec i2c transfer is done. This should fix i2c problems with MMU enabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21150 a1c6a512-1295-4272-9138-f99709370657
2009-05-29AMSSansa: Add AS3525_DRAM_FREQ as a configurable frequency. Attempts to ↵Jack Halpin1-12/+19
use PCLK != DRAM still fail but a method is now in place. Default scheme remains 248/62/62. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21130 a1c6a512-1295-4272-9138-f99709370657