sb/intel/lynxpoint/me_9.x.c: Drop dead code

This code is not even being build-tested. Drop it before it grows moss.

Change-Id: I88cb6116c112b76336846d01e31f2cd40d6ca4cb
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43229
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner
This commit is contained in:
Angel Pons 2020-07-07 22:48:47 +02:00
parent 3c05531632
commit cdee5e9d12
1 changed files with 0 additions and 42 deletions

View File

@ -515,32 +515,6 @@ static void __unused me_print_fwcaps(mbp_mefwcaps *cap)
print_cap("Wireless LAN (WLAN)", cap->wlan); print_cap("Wireless LAN (WLAN)", cap->wlan);
} }
#if CONFIG(CHROMEOS) && 0 /* DISABLED */
/* Tell ME to issue a global reset */
static int mkhi_global_reset(void)
{
struct me_global_reset reset = {
.request_origin = GLOBAL_RESET_BIOS_POST,
.reset_type = CBM_RR_GLOBAL_RESET,
};
struct mkhi_header mkhi = {
.group_id = MKHI_GROUP_ID_CBM,
.command = MKHI_GLOBAL_RESET,
};
/* Send request and wait for response */
printk(BIOS_NOTICE, "ME: %s\n", __func__);
if (mei_sendrecv_mkhi(&mkhi, &reset, sizeof(reset), NULL, 0) < 0) {
/* No response means reset will happen shortly... */
halt();
}
/* If the ME responded it rejected the reset request */
printk(BIOS_ERR, "ME: Global Reset failed\n");
return -1;
}
#endif
/* Send END OF POST message to the ME */ /* Send END OF POST message to the ME */
static int __unused mkhi_end_of_post(void) static int __unused mkhi_end_of_post(void)
{ {
@ -892,22 +866,6 @@ static u32 me_to_host_words_pending(void)
(me.buffer_depth - 1); (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
struct mbp_payload { struct mbp_payload {
mbp_header header; mbp_header header;
u32 data[0]; u32 data[0];