From 14229df245cb6b20bd8dc0e72c16d0dad799b7f6 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 18 Mar 2006 20:03:36 +0000 Subject: Fix s-t-u-p-i-d bug in the asm ata read routine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9098 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/ata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware') diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 72ebee2bd3..ce00ba4774 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -567,7 +567,7 @@ static void copy_read_sectors(unsigned char* buf, int wordcount) "lea.l (16,%[buf]),%[buf] \n" "move.l %%d6,%%d2 \n" "cmp.l %[buf],%[wcnt] \n" /* run up to last line bound */ - "bhi.b .loop_a_line \n" + "bhi.b .loop_u_line \n" "lea.l (12,%[wcnt]),%[wcnt]\n" /* readjust for longword loop */ "cmp.l %[buf],%[wcnt] \n" /* any trailing longwords? */ -- cgit v1.2.3