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:
parent
4b1971cc62
commit
c1d06b782f
|
@ -165,7 +165,7 @@ static void sb600_lpc_enable_childrens_resources(device_t dev)
|
||||||
case 0xfd60:
|
case 0xfd60:
|
||||||
reg_x |= (1 << 23);
|
reg_x |= (1 << 23);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (var_num >= 3)
|
if (var_num >= 3)
|
||||||
continue; /* only 3 var ; compact them ? */
|
continue; /* only 3 var ; compact them ? */
|
||||||
switch (var_num) {
|
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, 0x44, reg);
|
||||||
pci_write_config32(dev, 0x48, reg_x);
|
pci_write_config32(dev, 0x48, reg_x);
|
||||||
|
/* Set WideIO for as many IOs found (fall through is on purpose) */
|
||||||
switch (var_num) {
|
switch (var_num) {
|
||||||
case 2:
|
case 2:
|
||||||
pci_write_config16(dev, 0x90, reg_var[2]);
|
pci_write_config16(dev, 0x90, reg_var[2]);
|
||||||
|
|
Loading…
Reference in New Issue