summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2009-06-29Move SH7034 timer code in the target treeRafaël Carré14-67/+147
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é5-85/+164
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é5-52/+125
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é17-78/+68
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é3-35/+69
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 Sikken7-39/+183
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-28Add RTC driver for Seiko S35390A (used in the Meizu M3 and possibly other ↵Bertrik Sikken3-2/+97
Meizus) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21539 a1c6a512-1295-4272-9138-f99709370657
2009-06-27S5L8700: implement i2c driver (used for communicating with the RTC and the ↵Bertrik Sikken3-0/+170
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 Sikken2-5/+7
and increase PWM frequency for the backlight. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21532 a1c6a512-1295-4272-9138-f99709370657
2009-06-26ignore write data if the length doesn't match what we expect. This avoids ↵Frank Gevaerts1-0/+1
the data corruption caused by FS#10319, but doesn't solve the root cause yet (patch by Martin Ritter) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21521 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: fix DEFAULT_BRIGHTNESS_SETTINGMaurus Cuelenaere1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21496 a1c6a512-1295-4272-9138-f99709370657
2009-06-24Onda VX747: make backlight setting range from 1->16 instead of 0->15Maurus Cuelenaere2-3/+3
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 Cuelenaere2-14/+14
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 Purchase5-54/+46
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 Kurbjun6-27/+44
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 Sikken7-67/+121
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-22Actually adapt SOURCES too.Thomas Martitz1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21475 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é2-12/+8
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-20c200v2 : fix FM radio, the c200v2 uses the internal oscillator like others ↵Rafaël Carré1-1/+1
Sansa AMS git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21432 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 Sikken2-3/+2
driver (tested on m200v4, clip, e200v2, fuze). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21421 a1c6a512-1295-4272-9138-f99709370657
2009-06-20Fix e200v2 radio problem (missing Si4702 initialisation)Bertrik Sikken1-2/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21416 a1c6a512-1295-4272-9138-f99709370657
2009-06-20Make ATA poweroff an advanced build option for the Player.Jens Arnold1-4/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21409 a1c6a512-1295-4272-9138-f99709370657
2009-06-20Enable charging on the Sansa Fuze (charging/discharging curves are still ↵Bertrik Sikken4-3/+66
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 Cuelenaere4-11/+22
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 Arigo9-33/+159
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 Arigo8-238/+250
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-18Confirm USB VID/PID of Samsung YH920Rafaël Carré1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21334 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 Cuelenaere3-34/+15
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21331 a1c6a512-1295-4272-9138-f99709370657
2009-06-18Sansa c200v2 : support more hardwareRafaël Carré4-57/+34
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é7-594/+282
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-16Touchscreen targets: add calibration screen + rewrite calibration driver ↵Maurus Cuelenaere2-79/+59
(FS#10295) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21312 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