diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-16 00:31:44 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-16 00:31:44 +0000 |
commit | d6532116c94c705c7e94a34ab2f046e431fb3682 (patch) | |
tree | 6068b85e702f6eaf5b40fa273edfb9bfc4d155a1 /src/northbridge/amd/amdmct/mct | |
parent | e46c1c85c90b6d263f951ab745a9fadd93041111 (diff) | |
download | coreboot-d6532116c94c705c7e94a34ab2f046e431fb3682.tar.xz |
zero warnings days: unify mp tables. fix 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@5448 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd/amdmct/mct')
-rw-r--r-- | src/northbridge/amd/amdmct/mct/mct_d.c | 11 | ||||
-rw-r--r-- | src/northbridge/amd/amdmct/mct/mct_d_gcc.h | 6 |
2 files changed, 10 insertions, 7 deletions
diff --git a/src/northbridge/amd/amdmct/mct/mct_d.c b/src/northbridge/amd/amdmct/mct/mct_d.c index ef7e2af92a..fe4ae8c30c 100644 --- a/src/northbridge/amd/amdmct/mct/mct_d.c +++ b/src/northbridge/amd/amdmct/mct/mct_d.c @@ -476,7 +476,7 @@ static void LoadDQSSigTmgRegs_D(struct MCTStatStruc *pMCTstat, } } - +#ifdef UNUSED_CODE static void ResetNBECCstat_D(struct MCTStatStruc *pMCTstat, struct DCTStatStruc *pDCTstatA) { @@ -503,7 +503,7 @@ static void ResetNBECCstat_D(struct MCTStatStruc *pMCTstat, } } } - +#endif static void HTMemMapInit_D(struct MCTStatStruc *pMCTstat, struct DCTStatStruc *pDCTstatA) @@ -3337,7 +3337,7 @@ static void SetCSTriState(struct MCTStatStruc *pMCTstat, } - +#ifdef UNUSED_CODE static void SetCKETriState(struct MCTStatStruc *pMCTstat, struct DCTStatStruc *pDCTstat, u8 dct) { @@ -3377,7 +3377,7 @@ static void SetCKETriState(struct MCTStatStruc *pMCTstat, Set_NB32_index_wait(dev, index_reg, index, val); } - +#endif static void SetODTTriState(struct MCTStatStruc *pMCTstat, struct DCTStatStruc *pDCTstat, u8 dct) @@ -3856,7 +3856,7 @@ static void mct_EnableDatIntlv_D(struct MCTStatStruc *pMCTstat, } } - +#ifdef UNUSED_CODE static void mct_SetupSync_D(struct MCTStatStruc *pMCTstat, struct DCTStatStruc *pDCTstat) { @@ -3878,6 +3878,7 @@ static void mct_SetupSync_D(struct MCTStatStruc *pMCTstat, Set_NB32(dev, 0x78, val); } } +#endif static void AfterDramInit_D(struct DCTStatStruc *pDCTstat, u8 dct) { diff --git a/src/northbridge/amd/amdmct/mct/mct_d_gcc.h b/src/northbridge/amd/amdmct/mct/mct_d_gcc.h index 3e36dfe4cc..24f354d4c6 100644 --- a/src/northbridge/amd/amdmct/mct/mct_d_gcc.h +++ b/src/northbridge/amd/amdmct/mct/mct_d_gcc.h @@ -161,7 +161,7 @@ static u32 read32_fs(u32 addr_lo) return value; } - +#ifdef UNUSED_CODE static u8 read8_fs(u32 addr_lo) { u8 byte; @@ -173,7 +173,7 @@ static u8 read8_fs(u32 addr_lo) ); return byte; } - +#endif static void FlushDQSTestPattern_L9(u32 addr_lo) { @@ -369,6 +369,7 @@ static u32 stream_to_int(u8 const *p) } +#ifdef UNUSED_CODE static void oemSet_NB32(u32 addr, u32 val, u8 *valid) { } @@ -379,6 +380,7 @@ static u32 oemGet_NB32(u32 addr, u8 *valid) *valid = 0; return 0xffffffff; } +#endif static u8 oemNodePresent_D(u8 Node, u8 *ret) |