summaryrefslogtreecommitdiff
path: root/firmware/target
AgeCommit message (Collapse)Author
2008-11-26Get rid of remaining audiohw_enable_output style codec setup and use ↵Michael Sevakis
pre/post split initialization. Move some SoC-specific code like i2s_reset out of the codec drivers. Helps to unify drivers and it was only ever used to enable. I cannot possibly test everything so report (I'll be on call ;) or fix problems if any crop up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19228 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Code police myself.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19226 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Oops - fix yellow.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19225 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Fix reds. Also note my r19221 commit message had a typo - shoudld have been ↵Steve Bavin
e200/c200, not e100. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19224 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Add software backlight fading for E100/H300/X5/D2, by Thomas Martitz and ↵Steve Bavin
others - see FS#6800 for credits. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19221 a1c6a512-1295-4272-9138-f99709370657
2008-11-26Fix misspelled function name. Thanks to Jens Arnold for noticing.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19220 a1c6a512-1295-4272-9138-f99709370657
2008-11-25Enable display contrast setting and implement flip for the Clip.Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19219 a1c6a512-1295-4272-9138-f99709370657
2008-11-25Fix c200 warning.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19215 a1c6a512-1295-4272-9138-f99709370657
2008-11-25Add register bit defines for as3514 and clean stuff up. Reduce poppiness at ↵Michael Sevakis
startup and shutdown (and even powerup for e200). Really, I can't honestly say it will help anything but an e200v1 but I'm sick of the noises. ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19214 a1c6a512-1295-4272-9138-f99709370657
2008-11-25Sansa AMS: Use DMA for SD transfers (read and write)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19211 a1c6a512-1295-4272-9138-f99709370657
2008-11-24Preliminary button driver for Sansa Fuze. FS#9575 by Thomas Martitz.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19206 a1c6a512-1295-4272-9138-f99709370657
2008-11-24Onda VX747: fix LCD bug by blocking lcd_update_rect() requestsMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19200 a1c6a512-1295-4272-9138-f99709370657
2008-11-24First part of FS#9570 by Antonius Hellmann. Disables power to the SD memory ↵Michael Giacomelli
when not in use. Gives a sizeable power savings (4 mA by his measurement). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19194 a1c6a512-1295-4272-9138-f99709370657
2008-11-23Rename BUTTON_VOLUP to BUTTON_VOL_UP in definition of BUTTON_MAIN for Sansa ↵Bertrik Sikken
Clip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19191 a1c6a512-1295-4272-9138-f99709370657
2008-11-23Implement a basic uncalibrated battery reading for all as3525 targets with a ↵Bertrik Sikken
lithium battery. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19189 a1c6a512-1295-4272-9138-f99709370657
2008-11-23Initialise mutex before using it in as3525-codec.c, also use mutex for ↵Bertrik Sikken
single codec register accesses. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19187 a1c6a512-1295-4272-9138-f99709370657
2008-11-22Added power.h include to power-as3525.cBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19183 a1c6a512-1295-4272-9138-f99709370657
2008-11-22Partially apply FS#9569 by Michael Chicoine and Thomas Martitz: remove the ↵Dave Chapman
GPIOD(7) setting in the Fuze and e200v2 LCD drivers - it's set in the buttonlight code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19182 a1c6a512-1295-4272-9138-f99709370657
2008-11-22Audio samplerate control for Gigabeat S: 8, 11.025, 12, 16, 22.050, 24, 32, ↵Michael Sevakis
44.1 and 48 kHz. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19178 a1c6a512-1295-4272-9138-f99709370657
2008-11-21Commit some USB and ATA rework/refactoring (+ USB GPIO detection).Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19165 a1c6a512-1295-4272-9138-f99709370657
2008-11-19MC13783 PMIC: Make some defines more strictly correct-- interrupts, etc.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19142 a1c6a512-1295-4272-9138-f99709370657
2008-11-19Gigabeat S: Fix PCM being cut off at the beginning. The DAC L-R swapping ↵Michael Sevakis
isn't needed now either. Fixes voice clips on the Gigabeat S. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19141 a1c6a512-1295-4272-9138-f99709370657
2008-11-18Sansa Clip: backlight brightness is not possible, so remove references to itRafaël Carré
We don't need to mess with CCU_IO register (it's only needed for targets with a SD slot) so don't keep its value when changing buttonlight git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19139 a1c6a512-1295-4272-9138-f99709370657
2008-11-18Sansa AMS: Use IRAM (in app linker script and crt0.S)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19137 a1c6a512-1295-4272-9138-f99709370657
2008-11-18MC13783 cleanup. Remove functions proving themselves not so useful and add ↵Michael Sevakis
mc13783_write_masked which is pretty useful. Add an error code definition for invalid data. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19132 a1c6a512-1295-4272-9138-f99709370657
2008-11-17D2: Adjust the timing delay in ltv250qv_write() since several users still ↵Rob Purchase
report seeing the 'repeated lines' display bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19131 a1c6a512-1295-4272-9138-f99709370657
2008-11-17Correct the xoffset used when display_flipped is false - fixes the display ↵Dave Chapman
in the main Rockbox build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19128 a1c6a512-1295-4272-9138-f99709370657
2008-11-17Sansa AMS: Don't make sd_init() fail if a SD card is not present in the slotRafaël Carré
Fix contributed by kugel git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19126 a1c6a512-1295-4272-9138-f99709370657
2008-11-16Sansa AMS: when not in the bootloader, disable fast hardware power offRafaël Carré
A button press of ~10s will trigger the hardware power off instead of ~1s git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19123 a1c6a512-1295-4272-9138-f99709370657
2008-11-16Fix the Sansa AMS SD driverRafaël Carré
- Make write_sectors() function fail. - Disable interrupts while transferring data and do not yield(), so we are sure the FIFO is not overflowed Note this solution is only temporary since it's not friendly to other threads and confuse kernel tick precision This will be reverted when we will be using DMA to access the SD card, but for now it permits further development - PL180: Rename the MMC_* registers into MCI_*, to not make people believe it is a MMC only controller - Supports non aligned destination buffers when reading - Correct the timeout units which were lamely copied from ata-sd-pp.c and were in milliseconds (note that the timeouts are disabled now) - Higher a bit the stack size - Use the full initialization procedure in the bootloader and the loaded firmware - Use the CCU_IO register only when a SD slot is present - Put some panicf() around to catch problems git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19122 a1c6a512-1295-4272-9138-f99709370657
2008-11-16Telechips NAND: much improved read reliability on D2/iAudio7. More work is ↵Rob Purchase
required for M200/DAX, but an improvement is evident nonetheless. LPT buffers are now buffer_alloc'd after determining the required size, so most targets should also see a healthy reduction in RAM usage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19118 a1c6a512-1295-4272-9138-f99709370657
2008-11-15add the OF offset also for sansa fuze, and make it only for internal SD. Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19108 a1c6a512-1295-4272-9138-f99709370657
2008-11-14m200v4: make buttons work again (added a small delay). make m200 keymap ↵Dominik Wenger
better. Add button mappings for the sim. Remove some config defines temporary to make building work again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19104 a1c6a512-1295-4272-9138-f99709370657
2008-11-12Last commit for the flash bootloader. The bootloader build works properly ↵Karl Kurbjun
either flashed or unflashed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19098 a1c6a512-1295-4272-9138-f99709370657
2008-11-12Fix a bug when shutting down the player with the charger plugged in with the ↵Karl Kurbjun
flashed bootloader git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19097 a1c6a512-1295-4272-9138-f99709370657
2008-11-12(really) commit the crt0.S changes needed for the wakeup alarm.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19096 a1c6a512-1295-4272-9138-f99709370657
2008-11-12Revert last commit (accidentally committed the whole tree)Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19095 a1c6a512-1295-4272-9138-f99709370657
2008-11-12Add in the needed crt0.S code for the wakeup alarm alsoKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19094 a1c6a512-1295-4272-9138-f99709370657
2008-11-11Add more driver stubs to make the Fuze and e200v2 main builds compile; ↵Dave Chapman
Correct the memory definition for the Fuze (8MB) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19090 a1c6a512-1295-4272-9138-f99709370657
2008-11-11make the meizu bootloaders compile again with the new storage infrastructureFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19088 a1c6a512-1295-4272-9138-f99709370657
2008-11-11FS#9535 - Sansa Fuze simJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19086 a1c6a512-1295-4272-9138-f99709370657
2008-11-10Fix a warning introduced by r18940Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19081 a1c6a512-1295-4272-9138-f99709370657
2008-11-10Sansa AMS: remove symbol already defined in audio/as3514.c driverRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19078 a1c6a512-1295-4272-9138-f99709370657
2008-11-10Sansa AMS: declare ascodec_init() function in the headerRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19077 a1c6a512-1295-4272-9138-f99709370657
2008-11-10Sansa AMS: use the AS3514 ADC driverRafaël Carré
Move the ADC defines to as3514.h, and make adc-target.h only include as3514.h Implement the missing API (ascodec_readbytes, ascodec_(un)lock) Revert the changes to the PP-specific arm/ascodec-target.h in r19073, use a AS3525 specific ascodec-target.h while moving the AS3514 specific code in export/as3514.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19076 a1c6a512-1295-4272-9138-f99709370657
2008-11-10Merge target/arm/as3525/as3525-codec.h into target/arm/ascodec-target.hRafaël Carré
The AMS Sansa use the same AS3514 registers (except USB_UTIL which was added) Use the register defines in AMS Sansa code instead of hardcoded values git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19073 a1c6a512-1295-4272-9138-f99709370657
2008-11-10Revert r19069 - the m200s can't charge. Also, don't use charger_inserted() ↵Dave Chapman
as a method for detecting USB (this gives a false positive with USB wall chargers), and protect the definition of charger_inserted() with #if CONFIG_CHARGING. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19071 a1c6a512-1295-4272-9138-f99709370657
2008-11-10make m200v4 build compilable.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19070 a1c6a512-1295-4272-9138-f99709370657
2008-11-10quick fix for the e200v2 to skip the OFJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19067 a1c6a512-1295-4272-9138-f99709370657
2008-11-10Fuze: remove an unused variableRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19066 a1c6a512-1295-4272-9138-f99709370657