broadwell: Fix compilation failure when loglevel is lowered
The ME debug info is not compiled in when the loglevel is turned down to save the space of all the strings so the contents in me_status.c should not be included either. BUG=chrome-os-partner:28234 TEST=Build and boot with LOGLEVEL=BIOS_ERROR Change-Id: Ibef46d0da038e13b0de0a29ab038ab6fce395730 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/202357 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
0c031df1ce
commit
708ce78b2b
1 changed files with 3 additions and 0 deletions
|
|
@ -26,6 +26,8 @@
|
|||
#include <broadwell/pci_devs.h>
|
||||
#include <broadwell/me.h>
|
||||
|
||||
#if (CONFIG_DEFAULT_CONSOLE_LOGLEVEL >= BIOS_DEBUG)
|
||||
|
||||
/* HFS1[3:0] Current Working State Values */
|
||||
static const char *me_cws_values[] = {
|
||||
[ME_HFS_CWS_RESET] = "Reset",
|
||||
|
|
@ -276,3 +278,4 @@ void intel_me_status(void)
|
|||
}
|
||||
printk(BIOS_DEBUG, "\n");
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue