Hello,Since r3482 I have not had any VGA or serial IO from libpayload. The reason seems to be that the CONFIG_ macros generated by kconfig are never made available to the C source files during compilation. Before r3482 the CONFIG_ macros were obtained by including autoconf.h in libpayload.h.
In the attached patch, config.h from the new kconfig is included in libpayload.h, but I'm not quite sure if this is the appropriate place.
Compile tested against libpayload+coreinfo svn HEAD. Runtime tested with libpayload+coreinfo+coreboot-v3 in QEMU.
/ulf
Fix undefined defines resulting from r3482, which led to libpayload lacking output functionality. Signed-off-by: Ulf Jordan <[EMAIL PROTECTED]> Index: libpayload/include/libpayload.h =================================================================== --- libpayload/include/libpayload.h (revision 3493) +++ libpayload/include/libpayload.h (arbetskopia) @@ -30,6 +30,7 @@ #ifndef _LIBPAYLOAD_H #define _LIBPAYLOAD_H +#include <config.h> #include <stddef.h> #include <arch/types.h> #include <arch/io.h>
-- coreboot mailing list [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

