1
0
Fork 0
forked from len0rd/rockbox

Add some new findings to the PP header files. * Clean up ata-target.h for PP. * check_registers() seems to work fine on PP5002.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14114 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2007-08-01 10:43:45 +00:00
parent abf3435ca7
commit 174c7abdff
4 changed files with 26 additions and 34 deletions

View file

@ -715,11 +715,6 @@ int ata_write_sectors(IF_MV2(int drive,)
static int check_registers(void)
{
#if (CONFIG_CPU == PP5002)
/* This fails on the PP5002, but the ATA driver still works. This
needs more investigation. */
return 0;
#else
int i;
if ( ATA_STATUS & STATUS_BSY )
return -1;
@ -737,7 +732,6 @@ static int check_registers(void)
return 0;
}
return -2;
#endif
}
static int freeze_lock(void)