summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb800/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sb800/lpc.c')
-rw-r--r--src/southbridge/amd/sb800/lpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/amd/sb800/lpc.c b/src/southbridge/amd/sb800/lpc.c
index 649add5515..74b63741a5 100644
--- a/src/southbridge/amd/sb800/lpc.c
+++ b/src/southbridge/amd/sb800/lpc.c
@@ -220,11 +220,11 @@ static void sb800_lpc_enable_childrens_resources(struct device *dev)
pci_write_config32(dev, 0x48, reg_x);
/* Set WideIO for as many IOs found (fall through is on purpose) */
switch (var_num) {
- case 2:
+ case 3:
pci_write_config16(dev, 0x90, reg_var[2]);
- case 1:
+ case 2:
pci_write_config16(dev, 0x66, reg_var[1]);
- case 0:
+ case 1:
pci_write_config16(dev, 0x64, reg_var[0]);
break;
}