Does not fix 3rdparty/, *.S or *.ld or yet. Change-Id: I66b48013dd89540b35ab219d2b64bc13f5f19cda Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/17656 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
17 lines
449 B
C
17 lines
449 B
C
#ifndef SPKMODEM_H
|
|
#define SPKMODEM_H 1
|
|
|
|
#include <stdint.h>
|
|
|
|
void spkmodem_init(void);
|
|
void spkmodem_tx_byte(unsigned char c);
|
|
|
|
#if IS_ENABLED(CONFIG_SPKMODEM) && (ENV_ROMSTAGE || ENV_RAMSTAGE)
|
|
static inline void __spkmodem_init(void) { spkmodem_init(); }
|
|
static inline void __spkmodem_tx_byte(u8 data) { spkmodem_tx_byte(data); }
|
|
#else
|
|
static inline void __spkmodem_init(void) {}
|
|
static inline void __spkmodem_tx_byte(u8 data) {}
|
|
#endif
|
|
|
|
#endif
|