summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2015-01-08 01:55:22 +1100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-01-09 05:35:11 +0100
commit5e06850c0f588a58f06bbc720bd7f6dd31654940 (patch)
treeed23ac231a57283166c3b7554ae8f915b2046d52
parent199b581f5c24e46c9b1c4ebc7a41d0b0d218918b (diff)
downloadcoreboot-5e06850c0f588a58f06bbc720bd7f6dd31654940.tar.xz
northbridge/intel/nehalem/raminit.c: Remove redundant function
Remove 'read_mchbar8_bypass()' as 'read_mchbar8()' does the same thing and 'read_mchbar8_bypass()' is unused. Change-Id: I0dc2325e6205c38b63e5200c408ece65e4f938dc Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/8166 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r--src/northbridge/intel/nehalem/raminit.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/northbridge/intel/nehalem/raminit.c b/src/northbridge/intel/nehalem/raminit.c
index 9ca98d5a2c..85c82c9e9e 100644
--- a/src/northbridge/intel/nehalem/raminit.c
+++ b/src/northbridge/intel/nehalem/raminit.c
@@ -146,11 +146,6 @@ static inline u8 read_mchbar8(u32 addr)
return MCHBAR8(addr);
}
-static inline u8 read_mchbar8_bypass(u32 addr)
-{
- return MCHBAR8(addr);
-}
-
static void clflush(u32 addr)
{
asm volatile ("clflush (%0)"::"r" (addr));