[LinuxBIOS] Intel 440bx

Shaddam Corrino IV shaddamcorrinoiv at gmail.com
Tue Nov 21 20:25:30 CET 2006


To wrap it up,

I was able to program all three eeproms with original pc-bios and verify
each. The pc would boot from all three of them.

The single requried change to the code was :

# svn diff
Index: jedec.c
===================================================================
--- jedec.c     (wersja 2500)
+++ jedec.c     (kopia robocza)
@@ -144,9 +144,11 @@
        /* transfer data from source to destination */
        for (i = 0; i < page_size; i++) {
                /* If the data is 0xFF, don't program it */
-               if (*src == 0xFF)
-                       continue;
-               *dst++ = *src++;
+               if (*src != 0xFF )
+                       *dst = *src;
+               dst++;
+               src++;
+
        }

        toggle_ready_jedec(dst - 1);

-- 
Thanks!
Shaddam IV
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20061121/2a1ad5a5/attachment.html>


More information about the coreboot mailing list