forked from len0rd/rockbox
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
This commit is contained in:
parent
a62db97b38
commit
fc330110c9
2 changed files with 6 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue