southbridge/intel/ibexpeak/me.c: Silence warns about unused func
Move some __SMM__ functions under the #if preprocessor condition to avoid warnings about unused functions. Change-Id: I7f6fbc6a577032bc4e4635d91e8e94aecb517bd3 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6127 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
caac5ef86d
commit
78d33b649e
|
@ -138,6 +138,7 @@ static inline void write_host_csr(struct mei_csr *csr)
|
||||||
mei_write_dword_ptr(csr, MEI_H_CSR);
|
mei_write_dword_ptr(csr, MEI_H_CSR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __SMM__
|
||||||
static inline void read_me_csr(struct mei_csr *csr)
|
static inline void read_me_csr(struct mei_csr *csr)
|
||||||
{
|
{
|
||||||
mei_read_dword_ptr(csr, MEI_ME_CSR_HA);
|
mei_read_dword_ptr(csr, MEI_ME_CSR_HA);
|
||||||
|
@ -353,7 +354,6 @@ static inline int mei_sendrecv(struct mei_header *mei, struct mkhi_header *mkhi,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __SMM__
|
|
||||||
/* Send END OF POST message to the ME */
|
/* Send END OF POST message to the ME */
|
||||||
static int mkhi_end_of_post(void)
|
static int mkhi_end_of_post(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue