Edward O'Callaghan (eocallaghan@alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8157
-gerrit
commit b3d46a3221146af4bf8dde4511189669432997ec Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Wed Jan 7 15:53:00 2015 +1100
southbridge/intel/lynxpoint/me_9.x.c: Avoid unused func warn
Put a guard around this function to avoid compiler warnings pretaining to unused functions when a false branch is hit on a guard further down the file.
Change-Id: Ie4955ee9df6904c38848f46226b53be37d9fa239 Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com --- src/southbridge/intel/lynxpoint/me_9.x.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/southbridge/intel/lynxpoint/me_9.x.c b/src/southbridge/intel/lynxpoint/me_9.x.c index dfed6de..a8ab737 100644 --- a/src/southbridge/intel/lynxpoint/me_9.x.c +++ b/src/southbridge/intel/lynxpoint/me_9.x.c @@ -374,6 +374,7 @@ static int mei_recv_msg(void *header, int header_bytes, return mei_wait_for_me_ready(); }
+#if IS_ENABLED (CONFIG_DEBUG_INTEL_ME) static inline int mei_sendrecv_mkhi(struct mkhi_header *mkhi, void *req_data, int req_bytes, void *rsp_data, int rsp_bytes) @@ -411,6 +412,7 @@ static inline int mei_sendrecv_mkhi(struct mkhi_header *mkhi,
return 0; } +#endif
static inline int mei_sendrecv_icc(struct icc_header *icc, void *req_data, int req_bytes,