summaryrefslogtreecommitdiff
path: root/src/include/elog.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-05-24 14:47:10 -0500
committerAaron Durbin <adurbin@chromium.org>2016-05-25 18:04:11 +0200
commit9acd39d95ebf7ffb318a91322d531a777c9b133e (patch)
tree211548323fdf07c027a7e86e4d5a2e04da40431d /src/include/elog.h
parent277279343f1dcb5385b79c6dfd93719f19e87c6f (diff)
console/post: be explicit about conditional cmos_post_log() compiling
The current code was using !__PRE_RAM__ as a proxy for ramstage conditional compilation. In the face of postcar stage not defining __PRE_RAM__ (because it's after RAM is up) these code paths can fail to compile with a __SIMPLE_DEVICE__ defined for the entire stage. Remedy the current situation by just compiling explicity for ramstage because that was the original intent. In the future, the __SIMPLE_DEVICE__ selection for postcar can also be re-evaluated. Change-Id: I0f887f1e45f0cf5c235ae5144eaa227921e7119b Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/14958 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/include/elog.h')
0 files changed, 0 insertions, 0 deletions