mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-01 12:52:26 +00:00
Change-Id: I3d0c61c37399e96c1d154c1d3af5c47db967a07a Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/19763 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
19 lines
468 B
C
19 lines
468 B
C
#ifndef SPKMODEM_H
|
|
#define SPKMODEM_H 1
|
|
|
|
#include <rules.h>
|
|
#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
|