[coreboot] [PATCH] fix CONFIG_FS_PAYLOAD=1
Jens Rottmann
JRottmann at LiPPERTEmbedded.de
Mon Nov 3 14:31:18 CET 2008
Fix compile errors if CONFIG_FS_PAYLOAD=1:
Compile error in filo.c if AUTOBOOT_DELAY=0. Replace
#ifndef AUTOBOOT_DELAY
with
#if !AUTOBOOT_DELAY
which should work for both the #undef and the =0 case.
In ext2fs.c, fat.c
#if ARCH == 'i386'
results in a compile warning: "multi-character character constant" and
the condition ARCH == 'i386' is mis-evaluated as FALSE, eventually
choking the assembler on a PPC instruction. Change it to
#ifdef __i386
Signed-off-by: Jens Rottmann <JRottmann at LiPPERTEmbedded.de>
---
Hi,
yes, I already posted this last week, together with 1 other patch, but
got no response. Now I'll try splitting it up to 2 seperate mails,
hopefully that works better.
Regards,
Jens Rottmann
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fs_payload.diff
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081103/068d43e2/attachment.ksh>
More information about the coreboot
mailing list