From a09dcff72c05f946fcabf49cae869f88d3777cbc Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Fri, 23 Mar 2001 22:15:39 +0000 Subject: [PATCH] Try to put in a delay to make 2-bank test work. Delay did not help. Is it in the wrong place? --- src/northbridge/acer/m1631/ipl.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/northbridge/acer/m1631/ipl.S b/src/northbridge/acer/m1631/ipl.S index 5fce96687b..e10b4b43ed 100644 --- a/src/northbridge/acer/m1631/ipl.S +++ b/src/northbridge/acer/m1631/ipl.S @@ -40,8 +40,7 @@ it with the version available from LANL. * set the right value. */ #define INIT_MCR $0xf6621000 -#define WDELAY movw $0x1000, ax; 1: dec %ax; jnz 1b -#undef WDELAY +#define LONGDELAY movw $0x1000, ax; 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 */ @@ -258,6 +257,7 @@ sizeram: * 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)