summaryrefslogtreecommitdiff
path: root/src/drivers/elog
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-18 14:28:03 +1000
committerPatrick Georgi <patrick@georgi-clan.de>2014-06-25 11:34:32 +0200
commita3119e5835e4b8fd510d046c56a3bf2bf43a5c0d (patch)
tree49d4d91b98b54ec64dbb1da70f8c746232f615a9 /src/drivers/elog
parentb57fef9f3e2b3cb8d8c8c5a3552c94a28ff81d15 (diff)
downloadcoreboot-a3119e5835e4b8fd510d046c56a3bf2bf43a5c0d.tar.xz
drivers/elog: Unmangle header include out of pre-proc cond
Change-Id: Ic4905d8a6908a30602382f5846f1dc2c0dbe2431 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6068 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/drivers/elog')
-rw-r--r--src/drivers/elog/elog.c5
1 files changed, 3 insertions, 2 deletions
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 <elog.h>
#include "elog_internal.h"
-#if CONFIG_CHROMEOS
#include <vendorcode/google/chromeos/fmap.h>
-#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