diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-02 22:11:20 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-02 22:11:20 +0000 |
commit | 720297c3d46122af14c69545f4ab22337f540ae3 (patch) | |
tree | da2ca126f53813ae0c39931b2e9ffc421a92e754 /src/cpu | |
parent | b54deb77f03269419a257d3c5b0f06d38831f125 (diff) | |
download | coreboot-720297c3d46122af14c69545f4ab22337f540ae3.tar.xz |
remove some more warnings
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5348 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/amd/model_gx2/vsmsetup.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cpu/amd/model_gx2/vsmsetup.c b/src/cpu/amd/model_gx2/vsmsetup.c index aa25042a61..a284a9c726 100644 --- a/src/cpu/amd/model_gx2/vsmsetup.c +++ b/src/cpu/amd/model_gx2/vsmsetup.c @@ -35,7 +35,6 @@ #include <arch/io.h> #include <cbfs.h> -u32 VSA_vrRead(u16 classIndex); void do_vsmbios(void); #define VSA2_BUFFER 0x60000 @@ -150,7 +149,7 @@ extern char real_mode_switch_end[]; /* andrei: Some VSA virtual register helpers: raw read and MSR read. */ -u32 VSA_vrRead(u16 classIndex) +static u32 VSA_vrRead(u16 classIndex) { unsigned eax, ebx, ecx, edx; asm volatile ( @@ -166,7 +165,7 @@ u32 VSA_vrRead(u16 classIndex) return eax; } -u32 VSA_msrRead(u32 msrAddr) +static u32 VSA_msrRead(u32 msrAddr) { unsigned eax, ebx, ecx, edx; asm volatile ( |