diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-22 11:42:32 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-22 11:42:32 +0000 |
commit | c02b4fc9db3c3c1e263027382697b566127f66bb (patch) | |
tree | 11bd18488e360e5c1beeb9ccb852ef4489c3689a /src/lib/usbdebug_direct.c | |
parent | 27852aba6787617ca5656995cbc7e8ef0a3ea22c (diff) | |
download | coreboot-c02b4fc9db3c3c1e263027382697b566127f66bb.tar.xz |
printk_foo -> printk(BIOS_FOO, ...)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5266 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/lib/usbdebug_direct.c')
-rw-r--r-- | src/lib/usbdebug_direct.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/usbdebug_direct.c b/src/lib/usbdebug_direct.c index c9fe68ecfe..cb70c625e2 100644 --- a/src/lib/usbdebug_direct.c +++ b/src/lib/usbdebug_direct.c @@ -23,7 +23,7 @@ #include <console/console.h> #else #if CONFIG_USE_PRINTK_IN_CAR==0 -#define printk_debug(fmt, arg...) do {} while(0) +#define printk(BIOS_DEBUG, fmt, arg...) do {} while(0) #endif #endif @@ -304,7 +304,7 @@ static int ehci_reset_port(struct ehci_regs *ehci_regs, int port) delay_time += delay; } while ((portsc & PORT_RESET) && (--loop > 0)); if (!loop) { - printk_debug("ehci_reset_port forced done"); + printk(BIOS_DEBUG, "ehci_reset_port forced done"); } } @@ -342,7 +342,7 @@ static int ehci_wait_for_port(struct ehci_regs *ehci_regs, int port) #define DBGP_DEBUG 1 #if DBGP_DEBUG -# define dbgp_printk printk_debug +# define dbgp_printk(fmt, arg...) printk(BIOS_DEBUG, fmt, arg) #else #define dbgp_printk(fmt, arg...) do {} while(0) #endif |