diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c index 5740076a34..8816974cab 100644 --- a/src/drivers/elog/elog.c +++ b/src/drivers/elog/elog.c @@ -29,11 +29,12 @@ #include #include "elog_internal.h" -#if CONFIG_CHROMEOS #include -#elif CONFIG_ELOG_FLASH_BASE == 0 + +#if CONFIG_ELOG_FLASH_BASE == 0 #error "CONFIG_ELOG_FLASH_BASE is invalid" #endif + #if CONFIG_ELOG_FULL_THRESHOLD >= CONFIG_ELOG_AREA_SIZE #error "CONFIG_ELOG_FULL_THRESHOLD is larger than CONFIG_ELOG_AREA_SIZE" #endif