summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-11-16 22:26:50 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-11-16 22:26:50 +0000
commitd3e783b268afd3ef9c96eaefaa0b3af5158b48a0 (patch)
tree7112007c866b5d6e962f86f7362e2e5c59b6d423 /tools
parent1b14167861bb5bf4c692f8fc661b33e26a706183 (diff)
downloadrockbox-d3e783b268afd3ef9c96eaefaa0b3af5158b48a0.tar.gz
rockbox-d3e783b268afd3ef9c96eaefaa0b3af5158b48a0.zip
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
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions