Johnny Lin uploaded patch set #3 to this change.

View Change

console: Override coreboot log level via VPD variable

Add config CONSOLE_VPD_OVERRIDE_LOGLEVEL that overrides loglevel
from VPD variable 'coreboot_log_level' when selected. It will look
for it in RW_VPD first then RO_VPD, if both places cannot find it
the loglevel will be set to CONFIG_CONSOLE_VPD_DEFAULT_LOGLEVEL.

Tested=On OCP Delta Lake, coreboot log level can be changed via VPD.

Change-Id: I278e392bed178df7a8cdb90685963c1fedf0bcc4
Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com>
---
M src/console/Kconfig
M src/console/Makefile.inc
A src/console/loglevel_vpd.c
3 files changed, 42 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/34/45134/3

To view, visit change 45134. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I278e392bed178df7a8cdb90685963c1fedf0bcc4
Gerrit-Change-Number: 45134
Gerrit-PatchSet: 3
Gerrit-Owner: Johnny Lin <Johnny_Lin@wiwynn.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Jingle Hsu <jingle_hsu@wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jonzhang@fb.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Morgan Jang <Morgan_Jang@wiwynn.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Rocky Phagura
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Reviewer: insomniac <insomniac@slackware.it>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset