summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/ipmi/ocp/ipmi_sel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ipmi/ocp/ipmi_sel.c b/src/drivers/ipmi/ocp/ipmi_sel.c
index b10755fd97..f7605ec572 100644
--- a/src/drivers/ipmi/ocp/ipmi_sel.c
+++ b/src/drivers/ipmi/ocp/ipmi_sel.c
@@ -105,7 +105,7 @@ __weak uint8_t get_blade_id(void)
{
struct ipmi_config_rsp rsp = {.slot_id = UINT8_MAX};
- if (CONFIG(IPMI_KCS) && CONFIG_BMC_KCS_BASE) {
+ if (CONFIG(IPMI_KCS) && CONFIG_BMC_KCS_BASE != 0) {
if (ipmi_get_board_config(CONFIG_BMC_KCS_BASE, &rsp) != CB_SUCCESS)
return UINT8_MAX;
}