aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/bd82x6x/me_8.x.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-06-02 17:22:43 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-06-05 12:52:50 +0000
commit1929b571ce0a00edde8250d7794a3fbfaa7a9309 (patch)
treebff75c7a319a746fe86501697204d14f0435b28b /src/southbridge/intel/bd82x6x/me_8.x.c
parent24ee0b599177bd961efb87e866e2a31ec90ec008 (diff)
sb/intel/bd82x6x: Remove dead code
Drop functions that are not being used. Change-Id: If406601f3bb7a98a621c1339b2f3413a43b8cc9f Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42013 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/southbridge/intel/bd82x6x/me_8.x.c')
-rw-r--r--src/southbridge/intel/bd82x6x/me_8.x.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/southbridge/intel/bd82x6x/me_8.x.c b/src/southbridge/intel/bd82x6x/me_8.x.c
index 4fcc090a38..b930d3f1b1 100644
--- a/src/southbridge/intel/bd82x6x/me_8.x.c
+++ b/src/southbridge/intel/bd82x6x/me_8.x.c
@@ -699,21 +699,6 @@ static u32 me_to_host_words_pending(void)
(me.buffer_depth - 1);
}
-#if 0
-/* This function is not yet being used, keep it in for the future. */
-static u32 host_to_me_words_room(void)
-{
- struct mei_csr csr;
-
- read_me_csr(&csr);
- if (!csr.ready)
- return 0;
-
- read_host_csr(&csr);
- return (csr.buffer_read_ptr - csr.buffer_write_ptr - 1) &
- (csr.buffer_depth - 1);
-}
-#endif
/*
* mbp seems to be following its own flow, let's retrieve it in a dedicated
* function.