summaryrefslogtreecommitdiffstats
path: root/firmware/target
AgeCommit message (Collapse)AuthorFilesLines
2009-06-29Move SH7034 timer code in the target treeRafaël Carré11-9/+135
Add an argument int_prio to TIMER_START() macro because SH7034 needs it Leaves a target specific code in timer_register (could be given to target code through timer_set and __timer_set() ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21556 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Move coldfire timer code in the target treeRafaël Carré2-0/+159
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21555 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Move PNX0101 timer code in the target treeRafaël Carré2-0/+121
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21554 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Rename TIMER_REGISTER macro to TIMER_START and TIMER_UNREGISTER to ↵Rafaël Carré16-72/+64
TIMER_STOP to reflect what they does exactly. registering and unregistering are handled by the non target-specific functions of timer.c Remove arguments from the new TIMER_START since they are unused by targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21553 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Move Sansa AMS timer code in the target treeRafaël Carré1-0/+68
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21552 a1c6a512-1295-4272-9138-f99709370657
2009-06-29Sansa AMS: correct sd_select_bank() in SD driverRafaël Carré1-8/+15
Put the card data sent by DMA aligned on cache line size, and in uncached memory Since sd_select_bank() is not used very often, still allocate the DMA buffer on the stack. If you still experience any problems with this commit please report them after having formatted your player and reinstalled rockbox git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21550 a1c6a512-1295-4272-9138-f99709370657
2009-06-28Create an udacodec interface (similar to ascodec and wmcoded) and ↵Bertrik Sikken2-0/+138
adapt/implement it for the iriver h1xx/h3xx and the meizus. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21546 a1c6a512-1295-4272-9138-f99709370657
2009-06-27S5L8700: implement i2c driver (used for communicating with the RTC and the ↵Bertrik Sikken1-0/+136
codec in the meizus) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21533 a1c6a512-1295-4272-9138-f99709370657
2009-06-27Meizu M3: implement logarithmic brightness curve (curve provided by markun) ↵Bertrik Sikken1-3/+5
and increase PWM frequency for the backlight. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21532 a1c6a512-1295-4272-9138-f99709370657
2009-06-24Also fix the iRiver H10Maurus Cuelenaere1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21503 a1c6a512-1295-4272-9138-f99709370657
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-24Onda VX747: make backlight setting range from 1->16 instead of 0->15Maurus Cuelenaere1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21494 a1c6a512-1295-4272-9138-f99709370657
2009-06-24Use a logarithmic scale for the Onda VX747 backlight (thanks to Bertrik Sikken)Maurus Cuelenaere1-11/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21492 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-20* Commit a modified FS#10354 (thanks to Davide Quarta) - add support the ↵Maurus Cuelenaere1-6/+9
VX747+ in scramble and configure * Add support for the VX777 * Remove the touchscreen mode switching combo from the button driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21379 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-18Fix redMaurus Cuelenaere1-18/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21332 a1c6a512-1295-4272-9138-f99709370657
2009-06-18Ingenic Jz4740: enable IRAM (only core, without ibss)Maurus Cuelenaere2-32/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21331 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-16Make some asm() statements volatileMaurus Cuelenaere2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21313 a1c6a512-1295-4272-9138-f99709370657
2009-06-16Onda VX747: fix backlight driver so it doesn't 'flicker' upon initMaurus Cuelenaere1-9/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21310 a1c6a512-1295-4272-9138-f99709370657
2009-06-15Onda VX747: clean up SD GPIO initializationMaurus Cuelenaere1-8/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21288 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-12Add iAudio M5 FM radio mod to the advanced build options. * Unify iAudio ↵Jens Arnold7-306/+25
audio driver, fmradio i2c driver, and power driver (M5 + X5 only). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21264 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