[coreboot] Porting to RS780/SB700 board
r.marek at assembler.cz
Mon May 3 00:45:51 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Rudolf Marek wrote:
> 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.
I re-checked and it was OK, we do have an early function with same name which
takes bytes parameters (mtrr-early.c). So this is not the case. I investigated
MTRRs bit more.
The RAM init on AMD does not use the varmtrr0 and varmtrr1 the reason is that it
thinks the first is used for 0-RAMBASE second for ROM caching.
I also changed the XIP MTRR setup to cache whole ROM with the MTRR. I think it
is OK to do it this way...
After the code goes to the post_cache_as_ram.c it sets up an mtrr for the
coreboot_ram as 0-RAMTOP. Maybe we can go with a big mtrr 0-TOM and create UCs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the coreboot