[coreboot] [PATCH] util/vgabios without own copy of x86emu
Stefan Reinauer
stepan at coresystems.de
Sun Mar 21 23:33:25 CET 2010
On 3/21/10 11:17 PM, Stefan Reinauer wrote:
> This patch makes util/vgabios use the coreboot version of x86emu and allows
>
> svn rm util/vgabios/x86emu
>
> The next step would be to make it use YABEL, too.
>
> Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
>
It also needs this guard added to the coreboot x86emu copy to make sure
the printf redefine only occurs in coreboot:
--- src/devices/oprom/x86emu/debug.h (revision 5263)
+++ src/devices/oprom/x86emu/debug.h (working copy)
@@ -42,8 +42,10 @@
/*---------------------- Macros and type definitions
----------------------*/
+#ifdef CONFIG_DEFAULT_CONSOLE_LOGLEVEL
/* printf is not available in coreboot... use printk */
#define printf(x...) printk(BIOS_DEBUG, x)
+#endif
/* checks to be enabled for "runtime" */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100321/b460b1f8/attachment.html>
More information about the coreboot
mailing list