diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2023-11-06 15:24:01 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-11-07 17:23:02 +0000 |
commit | d0cb97ef2e6e5088f6b256d5a4e9f0665eaa6218 (patch) | |
tree | 09ce7470a2defd745ece7530da84f32966d60031 /src/include | |
parent | 91e6117c09ad7aaa81344bcc378dc424f574a772 (diff) |
console/spkmodem: Make it work for bootblock
This code was written in a romcc bootblock time. There is no reason why
it would not work in bootblock now.
Untested but expected to work.
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I4113dc3208fe15305d1132136dd33417dd086bfb
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78935
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/console/spkmodem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/console/spkmodem.h b/src/include/console/spkmodem.h index fe4181c51b..dfafd79e7f 100644 --- a/src/include/console/spkmodem.h +++ b/src/include/console/spkmodem.h @@ -8,7 +8,7 @@ void spkmodem_init(void); void spkmodem_tx_byte(unsigned char c); -#if CONFIG(SPKMODEM) && (ENV_ROMSTAGE || ENV_RAMSTAGE) +#if CONFIG(SPKMODEM) && (ENV_ROMSTAGE_OR_BEFORE || ENV_RAMSTAGE) static inline void __spkmodem_init(void) { spkmodem_init(); } static inline void __spkmodem_tx_byte(u8 data) { spkmodem_tx_byte(data); } #else |