Corey Osgood wrote:
It also needs the MA map type set manually, look for this bit in raminit.c:
/* Set to 2T, MA Map type 1.
- TODO: Needs to become dynamic */
pci_write_config16(ctrl->d0f3, 0x50, 0x0020);
The correct values for your dimm can be found with 'lspci -xxx -s 0:0.3' or 'setpci -s 0:0:0.3 0x50 0x51' on the stock bios.
Forgot to mention, bits 4 and 0 need to be set to 0. register 51 should always be 00, so 50 is the only one you need to worry about.
-Corey