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/mainboard/roda/rk886ex/ec.c | |
parent | 27852aba6787617ca5656995cbc7e8ef0a3ea22c (diff) |
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/mainboard/roda/rk886ex/ec.c')
-rw-r--r-- | src/mainboard/roda/rk886ex/ec.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mainboard/roda/rk886ex/ec.c b/src/mainboard/roda/rk886ex/ec.c index 5121ac2e08..f2d23ad6c5 100644 --- a/src/mainboard/roda/rk886ex/ec.c +++ b/src/mainboard/roda/rk886ex/ec.c @@ -32,10 +32,10 @@ int send_ec_command(u8 command) while ((inb(EC_SC) & EC_IBF) && --timeout) { udelay(10); if ((timeout & 0xff) == 0) - printk_spew("."); + printk(BIOS_SPEW, "."); } if (!timeout) { - printk_debug("Timeout while sending command 0x%02x to EC!\n", + printk(BIOS_DEBUG, "Timeout while sending command 0x%02x to EC!\n", command); // return -1; } @@ -52,10 +52,10 @@ int send_ec_data(u8 data) while ((inb(EC_SC) & EC_IBF) && --timeout) { // wait for IBF = 0 udelay(10); if ((timeout & 0xff) == 0) - printk_spew("."); + printk(BIOS_SPEW, "."); } if (!timeout) { - printk_debug("Timeout while sending data 0x%02x to EC!\n", + printk(BIOS_DEBUG, "Timeout while sending data 0x%02x to EC!\n", data); // return -1; } @@ -84,15 +84,15 @@ u8 recv_ec_data(void) } udelay(10); if ((timeout & 0xff) == 0) - printk_spew("."); + printk(BIOS_SPEW, "."); } if (!timeout) { - printk_debug("\nTimeout while receiving data from EC!\n"); + printk(BIOS_DEBUG, "\nTimeout while receiving data from EC!\n"); // return -1; } data = inb(EC_DATA); - printk_debug("recv_ec_data: 0x%02x\n", data); + printk(BIOS_DEBUG, "recv_ec_data: 0x%02x\n", data); return data; } |