From 06384f06840b349cce27fbd303506119f010cf87 Mon Sep 17 00:00:00 2001 From: Li-Ta Lo Date: Fri, 1 Dec 2000 04:35:21 +0000 Subject: [PATCH] squeeze 2 more bytes --- src/northsouthbridge/sis/630/ipl.S | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/northsouthbridge/sis/630/ipl.S b/src/northsouthbridge/sis/630/ipl.S index 7b894fa922..9005ddef3d 100644 --- a/src/northsouthbridge/sis/630/ipl.S +++ b/src/northsouthbridge/sis/630/ipl.S @@ -235,7 +235,9 @@ flash_command: flash_address: shll $0x08, %ebx - movw $0x03, %cx + movb $0x03, %cl # this one is DANGEROUS but I am + # sure the upper 3 bytes == 0x00 + movb $0x05, 0x04(%di) # start address cycle 0: movb %bl, (%si) # write address to CDSNIO @@ -248,7 +250,8 @@ wait_for_flash_ready: /* delay by reding NOP register before polling the FLASH READY bit, this is inlined to save a call/ret pair */ doc_delay: - movw $4, %cx + movb $0x04, %cl # this one is DANGEROUS but I am + # sure the upper 3 bytes == 0x00 0: movb 0x20(%di), %al # read DOC NOP retisger loop 0b # four times