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)