From patchwork Sun Mar 21 22:33:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: util/vgabios without own copy of x86emu Date: Sun, 21 Mar 2010 22:33:25 -0000 From: Stefan Reinauer X-Patchwork-Id: 1112 Message-Id: <4BA69EB5.5060304@coresystems.de> To: coreboot@coreboot.org 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 > 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" */