diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-06-18 14:28:03 +1000 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-06-25 11:34:32 +0200 |
commit | a3119e5835e4b8fd510d046c56a3bf2bf43a5c0d (patch) | |
tree | 49d4d91b98b54ec64dbb1da70f8c746232f615a9 | |
parent | b57fef9f3e2b3cb8d8c8c5a3552c94a28ff81d15 (diff) | |
download | coreboot-a3119e5835e4b8fd510d046c56a3bf2bf43a5c0d.tar.gz coreboot-a3119e5835e4b8fd510d046c56a3bf2bf43a5c0d.tar.bz2 coreboot-a3119e5835e4b8fd510d046c56a3bf2bf43a5c0d.zip |
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>
-rw-r--r-- | src/drivers/elog/elog.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c index 5740076a340e..8816974cab73 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 |