summaryrefslogtreecommitdiff
path: root/firmware/drivers/ata.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/ata.c')
-rw-r--r--firmware/drivers/ata.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index e9e567761b..2c8033a533 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -715,11 +715,6 @@ int ata_write_sectors(IF_MV2(int drive,)
715 715
716static int check_registers(void) 716static int check_registers(void)
717{ 717{
718#if (CONFIG_CPU == PP5002)
719 /* This fails on the PP5002, but the ATA driver still works. This
720 needs more investigation. */
721 return 0;
722#else
723 int i; 718 int i;
724 if ( ATA_STATUS & STATUS_BSY ) 719 if ( ATA_STATUS & STATUS_BSY )
725 return -1; 720 return -1;
@@ -737,7 +732,6 @@ static int check_registers(void)
737 return 0; 732 return 0;
738 } 733 }
739 return -2; 734 return -2;
740#endif
741} 735}
742 736
743static int freeze_lock(void) 737static int freeze_lock(void)