diff options
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/via/vt8601/raminit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/northbridge/via/vt8601/raminit.c b/src/northbridge/via/vt8601/raminit.c index 57738e336e..5321e60f66 100644 --- a/src/northbridge/via/vt8601/raminit.c +++ b/src/northbridge/via/vt8601/raminit.c @@ -455,11 +455,10 @@ static void sdram_enable(int controllers, const struct mem_controller *ctrl) // for(i = 0; i < 8; i++) base = do_module_size(0); /*, base);*/ pci_write_config8(north, ramregs[0], base); - base = do_module_size(1); /*, base);*/ - base += pci_read_config8(north, ramregs[0]); + base += do_module_size(1); /*, base);*/ pci_write_config8(north, ramregs[1], base); /* runs out of code space. */ - for(i = 0; i < 8; i++){ + for(i = 2; i < 8; i++){ pci_write_config8(north, ramregs[i], base); /* pci_write_config8(north, ramregs[3], base); |