Added comment about sb600 wideio setting for clarity and a minor witespace cleanup...
authorMarc Jones <marcj.jones@amd.com>
Thu, 9 Oct 2008 16:05:16 +0000 (16:05 +0000)
committerMarc Jones <marc.jones@amd.com>
Thu, 9 Oct 2008 16:05:16 +0000 (16:05 +0000)
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

src/southbridge/amd/sb600/sb600_lpc.c

index c342e31f42e506155632722c14d06a8f734dc6c4..83dea99883a6f6c24eeec7c163cc798f55a52135 100644 (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]);