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
This commit is contained in:
committed by
Stefan Reinauer
parent
27852aba67
commit
c02b4fc9db
@ -44,7 +44,7 @@ static void adm1026_enable_monitoring(device_t dev)
|
||||
|
||||
result = smbus_read_byte(dev, ADM1026_REG_CONFIG1);
|
||||
if (!(result & CFG1_MONITOR)) {
|
||||
printk_debug("ADM1026: monitoring would not enable");
|
||||
printk(BIOS_DEBUG, "ADM1026: monitoring would not enable");
|
||||
}
|
||||
}
|
||||
static void adm1026_noop(device_t dummy)
|
||||
|
@ -26,7 +26,7 @@ static void adm1027_enable_monitoring(device_t dev)
|
||||
result = smbus_read_byte(dev, ADM1027_REG_CONFIG1);
|
||||
|
||||
if (!(result & CFG1_RDY)) {
|
||||
printk_debug("ADM1027: monitoring not ready\r\n");
|
||||
printk(BIOS_DEBUG, "ADM1027: monitoring not ready\r\n");
|
||||
return;
|
||||
}
|
||||
result = (result | CFG1_STRT);
|
||||
@ -34,9 +34,9 @@ static void adm1027_enable_monitoring(device_t dev)
|
||||
|
||||
result = smbus_read_byte(dev, ADM1027_REG_CONFIG1);
|
||||
if (!(result & CFG1_STRT)) {
|
||||
printk_debug("ADM1027: monitoring would not enable\r\n");
|
||||
printk(BIOS_DEBUG, "ADM1027: monitoring would not enable\r\n");
|
||||
}
|
||||
printk_debug("ADM1027: monitoring enabled\r\n");
|
||||
printk(BIOS_DEBUG, "ADM1027: monitoring enabled\r\n");
|
||||
}
|
||||
|
||||
static void adm1027_init(device_t dev)
|
||||
|
Reference in New Issue
Block a user