diff options
Diffstat (limited to 'src/northbridge/intel/i855pm/raminit.c')
-rw-r--r-- | src/northbridge/intel/i855pm/raminit.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/northbridge/intel/i855pm/raminit.c b/src/northbridge/intel/i855pm/raminit.c index 4f7ab231fd..5bb3b7f653 100644 --- a/src/northbridge/intel/i855pm/raminit.c +++ b/src/northbridge/intel/i855pm/raminit.c @@ -1980,7 +1980,15 @@ static void mem_err { static void sdram_enable(int controllers, const struct mem_controller *ctrl) { int i; + uint32_t mchtst; /* 1 & 2 Power up and start clocks */ + /* arg! the parts are memory mapped! For now, just grab address 0xc0000000 as the base, since I want to use + * constants, not variables, for this. + */ + mchtst = pci_read_config32(ctrl->d0, 0xf4); + mchtst |= (1 << 22); + pci_write_config32(ctrl->d0, 0xf4, mchtst); + #if DEBUG_RAM_CONFIG print_debug(ram_enable_1); print_debug(ram_enable_2); |