nyan*: Add an empty elog functions for the !CONFIG_ELOG case
commitd0d57a7460bf40f96818b064ca4cd9b687c58b4c
authorDavid Hendricks <dhendrix@chromium.org>
Fri, 9 May 2014 03:04:02 +0000 (8 20:04 -0700)
committerMarc Jones <marc.jones@se-eng.com>
Tue, 30 Dec 2014 20:28:50 +0000 (30 21:28 +0100)
tree8efe327a84a0d1741bce6c1c9ae78ee36428c711
parent7086ea920d4181f1d4927e9f150a3976c7a8f3a7
nyan*: Add an empty elog functions for the !CONFIG_ELOG case

Provide elog stub functions so eventlog support can be omitted
without littering code with "#if CONFIG_ELOG".

This makes it so coreboot can be built without eventlog support for
these platforms for debugging purposes.

BUG=none
BRANCH=none
TEST=compiled for Nyan and Rambi with CONFIG_ELOG unset
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Original-Change-Id: Ibf56d29a09234068773378f99ad9bffd5480dc9c
Original-Reviewed-on: https://chromium-review.googlesource.com/198647
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-by: Tom Warren <twarren@nvidia.com>
Original-Commit-Queue: David Hendricks <dhendrix@chromium.org>
Original-Tested-by: David Hendricks <dhendrix@chromium.org>
(cherry picked from commit 8e83dd460647972c4f46c19f8dc3d3ad7baeb550)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Change-Id: I3c0803ceb7a1c06da717416c42b6b7730c029ed0
Reviewed-on: http://review.coreboot.org/7901
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Tested-by: build bot (Jenkins)
Reviewed-by: David Hendricks <dhendrix@chromium.org>
src/include/elog.h