summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdmct
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/amd/amdmct')
-rw-r--r--src/northbridge/amd/amdmct/mct/mct_d_gcc.h4
-rw-r--r--src/northbridge/amd/amdmct/mct/mctdqs_d.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/amd/amdmct/mct/mct_d_gcc.h b/src/northbridge/amd/amdmct/mct/mct_d_gcc.h
index 67f546d297..8cbeef11df 100644
--- a/src/northbridge/amd/amdmct/mct/mct_d_gcc.h
+++ b/src/northbridge/amd/amdmct/mct/mct_d_gcc.h
@@ -60,7 +60,7 @@ static inline void _cpu_id(u32 addr, u32 *val)
}
-static inline u32 bsr(u32 x)
+static u32 bsr(u32 x)
{
u8 i;
u32 ret = 0;
@@ -77,7 +77,7 @@ static inline u32 bsr(u32 x)
}
-static inline u32 bsf(u32 x)
+static u32 bsf(u32 x)
{
u8 i;
u32 ret = 32;
diff --git a/src/northbridge/amd/amdmct/mct/mctdqs_d.c b/src/northbridge/amd/amdmct/mct/mctdqs_d.c
index 59ba09294b..7f8b8960fd 100644
--- a/src/northbridge/amd/amdmct/mct/mctdqs_d.c
+++ b/src/northbridge/amd/amdmct/mct/mctdqs_d.c
@@ -65,7 +65,7 @@ static void SetupDqsPattern_D(struct MCTStatStruc *pMCTstat,
#define DQS_TRAIN_DEBUG 0
-static inline void print_debug_dqs(const char *str, u32 val, u8 level)
+static void print_debug_dqs(const char *str, u32 val, u8 level)
{
#if DQS_TRAIN_DEBUG > 0
if (DQS_TRAIN_DEBUG >= level) {
@@ -74,7 +74,7 @@ static inline void print_debug_dqs(const char *str, u32 val, u8 level)
#endif
}
-static inline void print_debug_dqs_pair(const char *str, u32 val, const char *str2, u32 val2, u8 level)
+static void print_debug_dqs_pair(const char *str, u32 val, const char *str2, u32 val2, u8 level)
{
#if DQS_TRAIN_DEBUG > 0
if (DQS_TRAIN_DEBUG >= level) {