From c3c6eb507869db2baeb67b8b64ad26aa21372b17 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 27 Mar 2001 00:41:39 +0000 Subject: [PATCH] Delete useless delay. The problem is not there, and besides, gas doesn't work. --- src/northbridge/acer/m1631/ipl.S | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/northbridge/acer/m1631/ipl.S b/src/northbridge/acer/m1631/ipl.S index e10b4b43ed..5e6191d4f0 100644 --- a/src/northbridge/acer/m1631/ipl.S +++ b/src/northbridge/acer/m1631/ipl.S @@ -40,7 +40,11 @@ it with the version available from LANL. * set the right value. */ #define INIT_MCR $0xf6621000 +/* GNU AS misassembles this. I can't believe what a piece of + * trash gas has turned out to be ... #define LONGDELAY movw $0x1000, ax; 1: dec %ax; jnz 1b + */ +#define LONGDELAY 1: dec %ax; jnz 1b #define WDELAY outb %al, $0x80; jmp 1f; 1: outb %al, $0x80 #define WRITE_MCR0 movl %ecx, %eax ; outl %eax, %dx ; WDELAY /*#include */ @@ -256,8 +260,8 @@ sizeram: /* you don't need to even care how large CAS is. * Just set 4-bank mode, and set non-zero numbers into a few places. * if the byte at 0 changes, you have two banks. Trivial. - */ LONGDELAY + */ movl $0x1000, %esi movb $0, (%edi) movb $5, (%esi)