console/hw-debug_sink: Do not cache state of log level
commit4a00ccc74810b7761a046cf125ddf6855f7f7064
authorNico Huber <nico.huber@secunet.com>
Mon, 4 Jun 2018 13:10:54 +0000 (4 15:10 +0200)
committerMartin Roth <martinroth@google.com>
Thu, 7 Jun 2018 16:35:20 +0000 (7 16:35 +0000)
tree79e961bc7e9ef134ad03c44dff35eeff28c941a8
parent5ce400178a31cab7598cf6244b906ea435753115
console/hw-debug_sink: Do not cache state of log level

As we suppress output now before console_init() is done, the log level
read at start of ramstage is always -1.

Change-Id: Ia078d647c47aaa41ca9f2df9cf8506148ef86538
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/26832
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
src/console/hw-debug_sink.adb