From 29b8a0976f3def83d88d78b04a84834a9b1a7886 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 7 Dec 2014 11:47:17 +0100 Subject: early_me_native.c: Remove unused pci_write_dword_ptr. Change-Id: I97f4ef373c250665c4a2265571e71a27ecef13da Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/7680 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/southbridge/intel/bd82x6x/early_me_native.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/southbridge/intel/bd82x6x') diff --git a/src/southbridge/intel/bd82x6x/early_me_native.c b/src/southbridge/intel/bd82x6x/early_me_native.c index 15e40871a9..33ed549df3 100644 --- a/src/southbridge/intel/bd82x6x/early_me_native.c +++ b/src/southbridge/intel/bd82x6x/early_me_native.c @@ -45,13 +45,6 @@ static inline void pci_read_dword_ptr(void *ptr, int offset) memcpy(ptr, &dword, sizeof(dword)); } -static inline void pci_write_dword_ptr(void *ptr, int offset) -{ - u32 dword = 0; - memcpy(&dword, ptr, sizeof(dword)); - pci_write_config32(PCH_ME_DEV, offset, dword); -} - void intel_early_me_status(void) { struct me_hfs hfs; -- cgit v1.2.3