Reduce duplicate definition in CAR code.
authorWarren Turkal <wt@penguintechs.org>
Tue, 12 Oct 2010 06:13:40 +0000 (06:13 +0000)
committerWarren Turkal <wt@penguintechs.org>
Tue, 12 Oct 2010 06:13:40 +0000 (06:13 +0000)
commit4ffde94c4ec51cdb24103ec13653e6f40513e1bb
tree7b0205166a4436573a4e1b23d4a16b5c14be91c0
parent9c814d2e9ee203a2e4f8c27cb023be8c26380e7b
Reduce duplicate definition in CAR code.

Macros for the register addresses for the MTRR MSRs are already defined
in include/cpu/x86/car.h. This patch uses those macros instead of
creating a second instance of that same data.

I also added a few macros to the amd mtrr.h to make the MSR naming more
consistent.

Signed-off-by: Warren Turkal <wt@penguintechs.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5942 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/cpu/amd/car/cache_as_ram.inc
src/cpu/intel/car/cache_as_ram.inc
src/cpu/via/car/cache_as_ram.inc
src/include/cpu/amd/mtrr.h