summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/mpio/ata-target.h
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-05-10 13:24:44 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-05-10 13:24:44 +0000
commitfc330110c9ddacf54014788d9ab6373faf465333 (patch)
tree971ce3b99bf741700b171ed4f6a3854f20f4dd04 /firmware/target/coldfire/mpio/ata-target.h
parenta62db97b38595235c0016e87f23c7a9b421eb5c0 (diff)
downloadrockbox-fc330110c9ddacf54014788d9ab6373faf465333.tar.gz
rockbox-fc330110c9ddacf54014788d9ab6373faf465333.zip
HD200 - Disable asm optimised reads as it showed to be broken. Enable asm optimised writes. test_disk was failing because of broken read routine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25931 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/mpio/ata-target.h')
-rw-r--r--firmware/target/coldfire/mpio/ata-target.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/firmware/target/coldfire/mpio/ata-target.h b/firmware/target/coldfire/mpio/ata-target.h
index 1fa4c5af41..32e97ff56e 100644
--- a/firmware/target/coldfire/mpio/ata-target.h
+++ b/firmware/target/coldfire/mpio/ata-target.h
@@ -21,9 +21,8 @@
#ifndef ATA_TARGET_H
#define ATA_TARGET_H
-/* asm optimised read & write loops - we skip this for now*/
-#define ATA_OPTIMIZED_READING
-//#define ATA_OPTIMIZED_WRITING
+/* #define ATA_OPTIMIZED_READING */
+#define ATA_OPTIMIZED_WRITING
#define SWAP_WORDS
@@ -72,6 +71,6 @@ void ata_enable(bool on);
void ata_device_init(void);
bool ata_is_coldstart(void);
-void copy_read_sectors(unsigned char* buf, int wordcount);
-//void copy_write_sectors(const unsigned char* buf, int wordcount);
+/* void copy_read_sectors(unsigned char* buf, int wordcount); */
+void copy_write_sectors(const unsigned char* buf, int wordcount);
#endif