On Tue, Nov 21, 2006 at 08:25:30PM +0100, Shaddam Corrino IV wrote:
> 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);

Just to be sure - please try again with the latest svn version, as
http://tracker.linuxbios.org/trac/LinuxBIOS/changeset/2505
has been committed.


Thanks, Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

Attachment: signature.asc
Description: Digital signature

-- 
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to