diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-09-29 14:56:15 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-09-29 14:56:15 +0000 |
commit | 6e2357676fb9ccf202ac3dbc66c83a040f061a4e (patch) | |
tree | 3cb788b3a5c6866737ea33894ce35ebb4dd80deb /src/cpu/amd/car | |
parent | 5e54871375a3416c576d1d1fbdfddda2dbcc7411 (diff) | |
download | coreboot-6e2357676fb9ccf202ac3dbc66c83a040f061a4e.tar.xz |
Remove some warnings.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4686 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/car')
-rw-r--r-- | src/cpu/amd/car/copy_and_run.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/car/post_cache_as_ram.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/amd/car/copy_and_run.c b/src/cpu/amd/car/copy_and_run.c index f495f6dbba..79cae6bc83 100644 --- a/src/cpu/amd/car/copy_and_run.c +++ b/src/cpu/amd/car/copy_and_run.c @@ -4,7 +4,7 @@ */ #if CONFIG_CBFS == 1 -void cbfs_and_run_core(char*, unsigned ebp); +void cbfs_and_run_core(const char*, unsigned ebp); static void copy_and_run(void) { diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c index 9e988f02be..c42e8339cb 100644 --- a/src/cpu/amd/car/post_cache_as_ram.c +++ b/src/cpu/amd/car/post_cache_as_ram.c @@ -27,10 +27,10 @@ static void inline __attribute__((always_inline)) memcopy(void *dest, const voi static void vErrata343(void) { +#ifdef BU_CFG2_MSR msr_t msr; unsigned int uiMask = 0xFFFFFFF7; -#ifdef BU_CFG2_MSR msr = rdmsr(BU_CFG2_MSR); msr.hi &= uiMask; // set bit 35 to 0 wrmsr(BU_CFG2_MSR, msr); |