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/southbridge/ricoh | |
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/southbridge/ricoh')
-rw-r--r-- | src/southbridge/ricoh/rl5c476/rl5c476.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/southbridge/ricoh/rl5c476/rl5c476.c b/src/southbridge/ricoh/rl5c476/rl5c476.c index 72d0390cd5..5d669e78ae 100644 --- a/src/southbridge/ricoh/rl5c476/rl5c476.c +++ b/src/southbridge/ricoh/rl5c476/rl5c476.c @@ -38,9 +38,9 @@ static void rl5c476_init(device_t dev) unsigned char *base; /* cardbus controller function 1 for CF Socket */ - printk_debug("Ricoh RL5c476: Initializing.\n"); + printk(BIOS_DEBUG, "Ricoh RL5c476: Initializing.\n"); - printk_debug("CF Base = %0x\n",cf_base); + printk(BIOS_DEBUG, "CF Base = %0x\n",cf_base); /* misc control register */ pci_write_config16(dev,0x82,0x00a0); @@ -48,7 +48,7 @@ static void rl5c476_init(device_t dev) /* set up second slot as compact flash port if asked to do so */ if (!enable_cf_boot) { - printk_debug("CF boot not enabled.\n"); + printk(BIOS_DEBUG, "CF boot not enabled.\n"); return; } @@ -152,7 +152,7 @@ static void rl5c476_init(device_t dev) */ unsigned char *cptr; cptr = (unsigned char *)(cf_base + 0x200); - printk_debug("CF Config = %x\n",*cptr); + printk(BIOS_DEBUG, "CF Config = %x\n",*cptr); /* Set CF to decode 16 IO bytes on any 16 byte boundary - * rely on the io windows of the bridge set up above to @@ -184,12 +184,12 @@ void rl5c476_read_resources(device_t dev) void rl5c476_set_resources(device_t dev) { struct resource *resource; - printk_debug("%s In set resources \n",dev_path(dev)); + printk(BIOS_DEBUG, "%s In set resources \n",dev_path(dev)); if( enable_cf_boot && (PCI_FUNC(dev->path.pci.devfn) == 1)){ resource = find_resource(dev,1); if( !(resource->flags & IORESOURCE_STORED) ){ resource->flags |= IORESOURCE_STORED ; - printk_debug("%s 1 ==> %x\n", dev_path(dev), resource->base); + printk(BIOS_DEBUG, "%s 1 ==> %x\n", dev_path(dev), resource->base); cf_base = resource->base; } } |