soc/amd/common/psp/psp_def.h: increase P2C_BUFFER_MAXSIZE
[coreboot2.git] / src / include / console / spkmodem.h
blobdfafd79e7fab218f687dee058217fc9fac9cd115
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef SPKMODEM_H
4 #define SPKMODEM_H 1
6 #include <stdint.h>
8 void spkmodem_init(void);
9 void spkmodem_tx_byte(unsigned char c);
11 #if CONFIG(SPKMODEM) && (ENV_ROMSTAGE_OR_BEFORE || ENV_RAMSTAGE)
12 static inline void __spkmodem_init(void) { spkmodem_init(); }
13 static inline void __spkmodem_tx_byte(u8 data) { spkmodem_tx_byte(data); }
14 #else
15 static inline void __spkmodem_init(void) {}
16 static inline void __spkmodem_tx_byte(u8 data) {}
17 #endif
19 #endif