Drop \r\n and \n\r as both print_XXX and printk now do this internally.
Only some assembler files still have \r\n ... Can we move that part to C completely? Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5342 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
5a1f597085
commit
64ed2b7345
@@ -195,7 +195,7 @@ static void pnp_exit_conf_state(device_t dev)
|
||||
static void dump_pnp_device(device_t dev)
|
||||
{
|
||||
int register_index;
|
||||
print_debug("\r\n");
|
||||
print_debug("\n");
|
||||
|
||||
for(register_index = 0; register_index <= LPC47B272_MAX_CONFIG_REGISTER; register_index++) {
|
||||
uint8_t register_value;
|
||||
@@ -214,10 +214,10 @@ static void dump_pnp_device(device_t dev)
|
||||
print_debug_char(' ');
|
||||
print_debug_hex8(register_value);
|
||||
if ((register_index & 0x0f) == 0x0f) {
|
||||
print_debug("\r\n");
|
||||
print_debug("\n");
|
||||
}
|
||||
}
|
||||
|
||||
print_debug("\r\n");
|
||||
print_debug("\n");
|
||||
}
|
||||
#endif
|
||||
|
@@ -106,7 +106,7 @@ static void lpc47b397_pnp_enable_resources(device_t dev)
|
||||
|
||||
switch(dev->path.pnp.device) {
|
||||
case LPC47B397_HWM:
|
||||
printk(BIOS_DEBUG, "lpc47b397 SensorBus Register Access enabled\r\n");
|
||||
printk(BIOS_DEBUG, "lpc47b397 SensorBus Register Access enabled\n");
|
||||
pnp_set_logical_device(dev);
|
||||
enable_hwm_smbus(dev);
|
||||
break;
|
||||
|
@@ -193,7 +193,7 @@ static void pnp_exit_conf_state(device_t dev)
|
||||
static void dump_pnp_device(device_t dev)
|
||||
{
|
||||
int register_index;
|
||||
print_debug("\r\n");
|
||||
print_debug("\n");
|
||||
|
||||
for(register_index = 0; register_index <= LPC47M10X2_MAX_CONFIG_REGISTER; register_index++) {
|
||||
uint8_t register_value;
|
||||
@@ -212,10 +212,10 @@ static void dump_pnp_device(device_t dev)
|
||||
print_debug_char(' ');
|
||||
print_debug_hex8(register_value);
|
||||
if ((register_index & 0x0f) == 0x0f) {
|
||||
print_debug("\r\n");
|
||||
print_debug("\n");
|
||||
}
|
||||
}
|
||||
|
||||
print_debug("\r\n");
|
||||
print_debug("\n");
|
||||
}
|
||||
#endif
|
||||
|
@@ -361,7 +361,7 @@ static void pnp_exit_conf_state(device_t dev)
|
||||
static void dump_pnp_device(device_t dev)
|
||||
{
|
||||
int register_index;
|
||||
print_debug("\r\n");
|
||||
print_debug("\n");
|
||||
|
||||
for(register_index = 0; register_index <= LPC47N217_MAX_CONFIG_REGISTER; register_index++) {
|
||||
uint8_t register_value;
|
||||
@@ -380,10 +380,10 @@ static void dump_pnp_device(device_t dev)
|
||||
print_debug_char(' ');
|
||||
print_debug_hex8(register_value);
|
||||
if ((register_index & 0x0f) == 0x0f) {
|
||||
print_debug("\r\n");
|
||||
print_debug("\n");
|
||||
}
|
||||
}
|
||||
|
||||
print_debug("\r\n");
|
||||
print_debug("\n");
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user