AMD: Drop six copies of wrmsr_amd and rdmsr_amd
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Mon, 25 Mar 2013 10:48:49 +0000 (12:48 +0200)
committerMarc Jones <marc.jones@se-eng.com>
Thu, 4 Apr 2013 02:52:18 +0000 (04:52 +0200)
commit190011e47c6187479db69344ccf87762009af444
tree9fa99d7b08f37a734bcd4fd10e17ff94a78a6626
parent4d6ab4e2ae25c8148e699e3821b71991ac4d80dc
AMD: Drop six copies of wrmsr_amd and rdmsr_amd

Based on comments in cpu/x86/msr.h for wrmsr/rdmsr, and for symmetry,
I have added __attribute__((always_inline)) for these.

Change-Id: Ia0a34c15241f9fbc8c78763386028ddcbe6690b1
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/2898
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
16 files changed:
src/cpu/amd/agesa/family10/model_10_init.c
src/cpu/amd/agesa/family12/model_12_init.c
src/cpu/amd/agesa/family14/model_14_init.c
src/cpu/amd/agesa/family15/model_15_init.c
src/cpu/amd/agesa/family15tn/model_15_init.c
src/cpu/amd/model_10xxx/model_10xxx_init.c
src/cpu/amd/model_10xxx/processor_name.c
src/cpu/amd/model_fxx/model_fxx_init.c
src/cpu/amd/model_fxx/processor_name.c
src/cpu/amd/mtrr/amd_mtrr.c
src/cpu/x86/mtrr/earlymtrr.c
src/include/cpu/amd/amdfam12.h
src/include/cpu/amd/amdfam14.h
src/include/cpu/amd/amdfam15.h
src/include/cpu/amd/model_10xxx_msr.h
src/include/cpu/amd/mtrr.h