Added comment about sb600 wideio setting for clarity and a minor witespace cleanup. (trivial)

Signed-off-by: Marc Jones <marcj.jones@amd.com>
Acked-by: Marc Jones <marcj.jones@amd.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3643 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Marc Jones 2008-10-09 16:05:16 +00:00 committed by Marc Jones
parent 4b1971cc62
commit c1d06b782f
1 changed files with 2 additions and 1 deletions

View File

@ -165,7 +165,7 @@ static void sb600_lpc_enable_childrens_resources(device_t dev)
case 0xfd60:
reg_x |= (1 << 23);
break;
default:
default:
if (var_num >= 3)
continue; /* only 3 var ; compact them ? */
switch (var_num) {
@ -188,6 +188,7 @@ static void sb600_lpc_enable_childrens_resources(device_t dev)
}
pci_write_config32(dev, 0x44, reg);
pci_write_config32(dev, 0x48, reg_x);
/* Set WideIO for as many IOs found (fall through is on purpose) */
switch (var_num) {
case 2:
pci_write_config16(dev, 0x90, reg_var[2]);