coreboot/src
Aaron Durbin cf446f8a18 UPSTREAM: 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.

BUG=none
BRANCH=none
TEST=none

Change-Id: Ie38d062b92b9bcd7bf7faf88a9495c52c0d5488d
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 4003950881
Original-Change-Id: I44bcc409266ef52b9be29f75efde73a6707a53f4
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/19438
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Furquan Shaikh <furquan@google.com>
Original-Reviewed-by: Philippe Mathieu-Daud <philippe.mathieu.daude@gmail.com>
Original-Reviewed-by: Kysti Mlkki <kyosti.malkki@gmail.com>
Reviewed-on: https://chromium-review.googlesource.com/488046
2017-04-26 13:36:55 -07:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: arch/x86: Add read64 and write64 functions 2017-04-26 09:21:03 -07:00
commonlib UPSTREAM: include: Add xmalloc, xzmalloc and dma routines 2017-04-26 09:21:02 -07:00
console UPSTREAM: console: rework log level to not be reliant on ROMSTAGE_CONST 2017-04-26 13:36:55 -07:00
cpu UPSTREAM: AGESA: Unify heap location 2017-04-18 13:19:01 -07:00
device UPSTREAM: libgfxinit: Select CONFIG_VGA when needed 2017-04-10 14:28:37 -07:00
drivers UPSTREAM: drivers/storage: Add SD/MMC/eMMC driver based upon depthcharge 2017-04-26 09:21:02 -07:00
ec UPSTREAM: ec/roda/it8518: Do EC write manually with long timeout 2017-04-10 14:28:38 -07:00
include UPSTREAM: drivers/storage: Add SD/MMC/eMMC driver based upon depthcharge 2017-04-26 09:21:02 -07:00
lib UPSTREAM: drivers/i2c/tpm: use iobuf library for marshaling commands 2017-04-26 09:20:53 -07:00
mainboard UPSTREAM: mainboard/amd/gardenia: Remove PMxEE write on S4 resume 2017-04-26 09:21:03 -07:00
northbridge UPSTREAM: nb/intel/pineview: Select RELOCATABLE_RAMSTAGE 2017-04-26 09:21:02 -07:00
soc UPSTREAM: soc/intel/skylake: Add ID's for Kabylake-R 2017-04-26 09:20:58 -07:00
southbridge UPSTREAM: [nb|sb]/amd/[amdfam10|sb700]: Add LPC bridge ACPI names for NB/SB 2017-04-18 13:19:06 -07:00
superio UPSTREAM: superio/fintek: Add support for Fintek F71808A 2017-03-30 05:29:57 -07:00
vboot UPSTREAM: Remove libverstage as separate library and source file class 2017-03-29 13:43:09 -07:00
vendorcode UPSTREAM: Kconfig: provide MAINBOARD_HAS_TPM_CR50 option 2017-04-25 01:45:37 -07:00
Kconfig UPSTREAM: include: Add xmalloc, xzmalloc and dma routines 2017-04-26 09:21:02 -07:00