Example how simple it is to use printk instead of printk_something in

coreboot ram stage.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4450 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2009-07-21 21:25:45 +00:00
committed by Stefan Reinauer
parent 094198cf43
commit 0001a7f129
3 changed files with 6 additions and 4 deletions

View File

@@ -49,7 +49,8 @@
/* FIXME: undefine printk for the moment */
#ifdef COREBOOT_VERSION
#include "console/console.h"
#define printk printk_debug
#undef printk
#define printk(x...) do_printk(BIOS_DEBUG, x)
#else
#define printk printf
#endif