summaryrefslogtreecommitdiff
path: root/src/superio/serverengines
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2017-04-24 16:03:57 -0500
committerAaron Durbin <adurbin@chromium.org>2017-04-25 18:13:56 +0200
commit4003950881af6fc4761aa0b177a3670d04ee9881 (patch)
treeab6b4fecc6838f038b8f8a8ae72e8432c6499ab9 /src/superio/serverengines
parent42bcd13c758c3b72c46e8d7aeabddb4c37a1657e (diff)
console: rework log level to not be reliant on ROMSTAGE_CONST
The console log level variable doesn't really rely on ROMSTAGE_CONST proper. Instead, the mutability of the variable is based on the current implementation of ROMSTAGE_CONST (__PRE_RAM__). As such directly use that logic for the code. In addition, refactor the code to let the compiler and linker optimize out accesses instead of using the pre-processor. Change-Id: I44bcc409266ef52b9be29f75efde73a6707a53f4 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/19438 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/superio/serverengines')
0 files changed, 0 insertions, 0 deletions