[coreboot] Porting to RS780/SB700 board

Rudolf Marek r.marek at assembler.cz
Wed Apr 28 21:01:51 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I found that in k8 CAR set_var_mtrr is set as it the arguments would be an
adresses, but in fact they HAVE TO be in kilobytes.

Try this:

/* So we can access RAM from [1M, CONFIG_RAMTOP) */
set_var_mtrr(0, 0x00000000, (CONFIG_RAMTOP >> 10), MTRR_TYPE_WRBACK);


Instead of:
set_var_mtrr(0, 0x00000000, CONFIG_RAMTOP, MTRR_TYPE_WRBACK);

Rudolf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvYhh4ACgkQ3J9wPJqZRNXMDwCgzgKfBUptS+sdpAEOC5bPsKqo
KAwAoIx6dQe6J2jklI0bvKEe3dQwtzvg
=tGsd
-----END PGP SIGNATURE-----




More information about the coreboot mailing list