--- flash_io.c  Mon Apr 12 16:28:53 1999
+++ flash_io.c.orig     Sat Jan  2 23:57:54 1999
@@ -56,24 +56,21 @@

 /* check if appropriate flash rom is present */
 int  flash_is_present(void) {
-  int i;
   int ok=0;

   flash_open();

-  /* verify manufactorer id (AMD and Fujitsu) */
+  /* verify manufactorer id (amd) */
   FLASH(0x555)=0xaa;
   FLASH(0x2aa)=0x55;
   FLASH(0x555)=0x90;
-  i=FLASH(0x00);
-  if((i==0x01)||(i==0x04)) {
+  if(FLASH(0x00)==0x01) {

-    /* verify device id (AM29LV160BB or BT) */
+    /* verify device id (AM29LV160BB) */
     FLASH(0x555)=0xaa;
     FLASH(0x2aa)=0x55;
     FLASH(0x555)=0x90;
-    i=FLASH(0x01);
-    if((i==0x2249)||(i==0x22c4))  ok=1;
+    if(FLASH(0x01)==0x2249)  ok=1;
   }

   /* reset flash to normal operation */
