AMD cimx/sb800: Fix console output
These sb800_enable() messages without newline mess up the log. Change-Id: I1689b68702e08e2a287083835f310f52f495c451 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/8384 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
2a2d6135a4
commit
11f9c35bd2
|
@ -373,8 +373,6 @@ static void sb800_enable(device_t dev)
|
||||||
struct southbridge_amd_cimx_sb800_config *sb_chip =
|
struct southbridge_amd_cimx_sb800_config *sb_chip =
|
||||||
(struct southbridge_amd_cimx_sb800_config *)(dev->chip_info);
|
(struct southbridge_amd_cimx_sb800_config *)(dev->chip_info);
|
||||||
|
|
||||||
printk(BIOS_DEBUG, "sb800_enable() ");
|
|
||||||
|
|
||||||
switch (dev->path.pci.devfn) {
|
switch (dev->path.pci.devfn) {
|
||||||
case (0x11 << 3) | 0: /* 0:11.0 SATA */
|
case (0x11 << 3) | 0: /* 0:11.0 SATA */
|
||||||
/* the first sb800 device */
|
/* the first sb800 device */
|
||||||
|
@ -407,7 +405,6 @@ static void sb800_enable(device_t dev)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case (0x14 << 3) | 0: /* 0:14:0 SMBUS */
|
case (0x14 << 3) | 0: /* 0:14:0 SMBUS */
|
||||||
printk(BIOS_INFO, "sm_init().\n");
|
|
||||||
clear_ioapic(IO_APIC_ADDR);
|
clear_ioapic(IO_APIC_ADDR);
|
||||||
#if CONFIG_CPU_AMD_AGESA
|
#if CONFIG_CPU_AMD_AGESA
|
||||||
/* Assign the ioapic ID the next available number after the processor core local APIC IDs */
|
/* Assign the ioapic ID the next available number after the processor core local APIC IDs */
|
||||||
|
@ -434,10 +431,8 @@ static void sb800_enable(device_t dev)
|
||||||
if (AZALIA_DISABLE == sb_config->AzaliaController) {
|
if (AZALIA_DISABLE == sb_config->AzaliaController) {
|
||||||
sb_config->AzaliaController = AZALIA_AUTO;
|
sb_config->AzaliaController = AZALIA_AUTO;
|
||||||
}
|
}
|
||||||
printk(BIOS_DEBUG, "hda enabled\n");
|
|
||||||
} else {
|
} else {
|
||||||
sb_config->AzaliaController = AZALIA_DISABLE;
|
sb_config->AzaliaController = AZALIA_DISABLE;
|
||||||
printk(BIOS_DEBUG, "hda disabled\n");
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -457,10 +452,8 @@ static void sb800_enable(device_t dev)
|
||||||
case (0x14 << 3) | 6: /* 0:14:6 GEC */
|
case (0x14 << 3) | 6: /* 0:14:6 GEC */
|
||||||
if (dev->enabled) {
|
if (dev->enabled) {
|
||||||
sb_config->GecConfig = 0;
|
sb_config->GecConfig = 0;
|
||||||
printk(BIOS_DEBUG, "gec enabled\n");
|
|
||||||
} else {
|
} else {
|
||||||
sb_config->GecConfig = 1;
|
sb_config->GecConfig = 1;
|
||||||
printk(BIOS_DEBUG, "gec disabled\n");
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue