mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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. BUG=None BRANCH=None TEST=None Change-Id: I0f887f1e45f0cf5c235ae5144eaa227921e7119b Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org> Original-Reviewed-on: https://review.coreboot.org/14958 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Furquan Shaikh <furquan@google.com> Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/347169 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> |
||
---|---|---|
.. | ||
console.c | ||
die.c | ||
early_print.c | ||
init.c | ||
Kconfig | ||
Makefile.inc | ||
post.c | ||
printk.c | ||
vsprintf.c | ||
vtxprintf.c |