diff options
author | Nico Huber <nico.h@gmx.de> | 2024-06-01 03:50:29 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-07-10 20:14:30 +0000 |
commit | a054a20c317ce864cd34ab70f35b7df055a85019 (patch) | |
tree | 774a1717485e3602645b531808256d6d705fe163 /src/include | |
parent | e7fa24470dc3b3403eabd757a87cfb993f316b1a (diff) |
console: Fix I2C/SMBus console if it's the only slow one
Change-Id: Ie44fdac6904a4467e408882bb8a5e08e6ff73f32
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82761
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/console/console.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h index 7e9a439c07..8d1a5c5dde 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -72,7 +72,8 @@ enum { CONSOLE_LOG_NONE = 0, CONSOLE_LOG_FAST, CONSOLE_LOG_ALL }; #define HAS_ONLY_FAST_CONSOLES !(CONFIG(SPKMODEM) || CONFIG(CONSOLE_QEMU_DEBUGCON) || \ CONFIG(CONSOLE_SERIAL) || CONFIG(CONSOLE_NE2K) || CONFIG(CONSOLE_USB) || \ CONFIG(EM100PRO_SPI_CONSOLE) || CONFIG(CONSOLE_SPI_FLASH) || \ - CONFIG(CONSOLE_SYSTEM76_EC) || CONFIG(CONSOLE_AMD_SIMNOW)) + CONFIG(CONSOLE_SYSTEM76_EC) || CONFIG(CONSOLE_AMD_SIMNOW) || \ + CONFIG(CONSOLE_I2C_SMBUS)) #else static inline int get_log_level(void) { return -1; } |