rockbox/firmware
Rafaël Carré d3e783b268 Fix the Sansa AMS SD driver
- 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-16 22:26:50 +00:00
..
common Fix a small bug in %x when padding is being added 2008-11-12 03:50:11 +00:00
decompressor Fix tabs galore. 2008-11-07 00:22:15 +00:00
drivers Gigabeat S/WM8978: Fix problem of volume getting silenced after settings are applied. There still seems to be a problem of cutting of voice samples from the beggining of clips when music isn't playing-- next to be investigated. 2008-11-15 23:48:19 +00:00
export Fix the Sansa AMS SD driver 2008-11-16 22:26:50 +00:00
include cleanup storage defines 2008-10-31 21:25:04 +00:00
target Fix the Sansa AMS SD driver 2008-11-16 22:26:50 +00:00
test Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
usbstack Add ramdisk storage driver. It will be useful for developing multi-driver storage 2008-11-03 20:52:27 +00:00
arabjoin.c move some code from .h files to .c files and polish unicode.c a bit 2005-12-06 15:04:48 +00:00
arabjoin.h arabjoin.h was emptied by accident 2005-12-06 15:15:54 +00:00
ata_idle_notify.c Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do that, it also introduces sd_*, nand_*, and mmc_*. 2008-11-01 16:14:28 +00:00
backlight.c Revert v18522 for firmware/backlight.c, it breaks a couple of bootloaders 2008-09-15 20:01:07 +00:00
bidi.c Disable bidirectional text handling and arabic joining in the bootloaders in order to save space. * Disable greyblitting in archos bootloaders for the same reason. 2008-09-23 18:46:27 +00:00
buffer.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
COPYING iRiver scramble and descramble code from Dave Cooper 2005-01-24 09:01:48 +00:00
debug.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
eeprom_settings.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
enc_base.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
events.c Apply FS#9155 (Simplified battery bench). This is a simplification/rework of the current battery bench code. Battery measurements are now done simply once a minute (no more dependency on HDD specific timeouts) and are flushed to disk by using the ata_idle callback instead of polling ata_disk_is_active (this call is removed from the plugin API now) to make the plugin as unobtrusive as possible. This battery bench plugin also works for flash-based targets like sansa e200. 2008-08-14 22:35:00 +00:00
font.c Disable the whole loadable font code including font caching for bootloaders/ bootbox. 2008-09-23 21:35:54 +00:00
font_cache.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
general.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
hangul.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
hotswap.c cleanup storage defines 2008-10-31 21:25:04 +00:00
ifp_usb_serial.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
kernel.c Move kernel tick initialization and handling to the target tree for ones remaining in kernel.c 2008-10-29 10:26:46 +00:00
logf.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
lru.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
Makefile Adding non-existing files in SOURCES no longer causes strange sysfont.h error message. (Fixes #7583) 2008-10-29 14:51:49 +00:00
mp3_playback.c Moved pcm_record from firmware to apps. Cleaned up some. Now all code using struct mp3entry is in apps. 2008-10-14 11:12:20 +00:00
panic.c Change 18 char limit to (LCD_WIDTH/SYSFONT_WIDTH) in panicf() (FS#9282) 2008-08-15 16:49:02 +00:00
pcm.c Fix a slightly misleading logf 2008-07-13 17:34:58 +00:00
pcm_sampr.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
powermgmt.c Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do that, it also introduces sd_*, nand_*, and mmc_*. 2008-11-01 16:14:28 +00:00
profile.c Commit FS#9170 by Dave Hooper. Adds support for profiling on ARM, and fixes various issues with compiling profile builds. Also, note that profile_reader.pl syntax has changed. 2008-07-28 22:43:41 +00:00
README lets point to ../docs/README 2002-08-21 11:13:46 +00:00
rolo.c Fix Clip firmware building by adding missing symbols 2008-11-10 11:04:43 +00:00
rom.lds Make sure the linker considers crt0*.o before all files specified on the command line by using STARTUP() instead of INPUT() in the .lds. Using INPUT() makes the linker process crt0*.o after all files specified on the command line, making linking fail if there are librockbox.a members which are only referenced by crt0*.o. Remove the hackaround that was needed for building the gigabeat S bootloader before (aka UIE() problem). 2008-04-29 06:19:32 +00:00
scroll_engine.c revert that scroll engine stuff... good in theory, but broken. 2008-07-02 13:02:57 +00:00
sound.c iPod Video: Fix playback after recording (FS #7402). Implement recording gain adjustment. * Enable timeout for zero-crossing detection (SLOWCLK), avoids hanging volume/ gain due to DC offsets. 2008-09-13 19:34:16 +00:00
SOURCES Add more driver stubs to make the Fuze and e200v2 main builds compile; Correct the memory definition for the Fuze (8MB) 2008-11-11 14:46:13 +00:00
system.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
thread.c core_sleep(): only write once the same implementation, and add as3525 to the list 2008-11-09 23:56:54 +00:00
timer.c AS3525: timer support 2008-11-06 02:31:32 +00:00
tuner.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
usb.c Properly guard usb_mmc_countdown with the proper #ifs everywhere 2008-11-09 14:40:42 +00:00

See docs/README