diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c index 77019065ed..8bc8a0753a 100644 --- a/src/drivers/elog/elog.c +++ b/src/drivers/elog/elog.c @@ -37,7 +37,7 @@ #include -#if CONFIG_ELOG_FLASH_BASE == 0 +#if !IS_ENABLED(CONFIG_CHROMEOS) && CONFIG_ELOG_FLASH_BASE == 0 #error "CONFIG_ELOG_FLASH_BASE is invalid" #endif #if CONFIG_ELOG_FULL_THRESHOLD >= CONFIG_ELOG_AREA_SIZE