Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8700
-gerrit
commit 97e235b477aa7537b4261a96c3aa189e03d047a9 Author: Stefan Reinauer reinauer@chromium.org Date: Mon Mar 16 16:47:39 2015 -0700
elog: Fix compilation with CONFIG_CHROMEOS enabled
On ChromeOS devices the ELOG section size and offset are provided by the FMAP, rather than KConfig. Some upstream refactoring broke compilation in that case.
Change-Id: I8b08daa327726218815855c7c2be45f44fcffeed Signed-off-by: Stefan Reinauer reinauer@google.com --- src/drivers/elog/elog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c index 7701906..8bc8a07 100644 --- a/src/drivers/elog/elog.c +++ b/src/drivers/elog/elog.c @@ -37,7 +37,7 @@
#include <vendorcode/google/chromeos/fmap.h>
-#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