summaryrefslogtreecommitdiff
path: root/src/cpu/amd/model_gx2
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-02 22:11:20 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-02 22:11:20 +0000
commit720297c3d46122af14c69545f4ab22337f540ae3 (patch)
treeda2ca126f53813ae0c39931b2e9ffc421a92e754 /src/cpu/amd/model_gx2
parentb54deb77f03269419a257d3c5b0f06d38831f125 (diff)
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/amd/model_gx2')
-rw-r--r--src/cpu/amd/model_gx2/vsmsetup.c5
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 (