load_linux_kernel() checks using_devsize, so we need to
clear it if we are using Artec loader without a file
system.

Signed-off-by: Nathan Williams <nat...@traverse.com.au>

Index: i386/artecboot.c
===================================================================
--- i386/artecboot.c    (revision 140)
+++ i386/artecboot.c    (working copy)
@@ -126,6 +126,7 @@
                        part_start = bootHdr.kernelStart >> DEV_SECTOR_BITS;    
                        part_length = ((bootHdr.kernelSize-1) >> 
DEV_SECTOR_BITS) + 1;
                        filemax = bootHdr.kernelSize;
+                       using_devsize = 0;
                        linux_load(file, bootHdr.cmdLine);
                }
        


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to