aboutsummaryrefslogtreecommitdiff
path: root/src/include/console/simnow.h
blob: 9a9d6792b8a45f5b8750483778791ed5d566cb58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef CONSOLE_SIMNOW_H
#define CONSOLE_SIMNOW_H

#include <stdint.h>

void simnow_console_init(void);
void simnow_console_tx_byte(unsigned char data);

#define __SIMNOW_CONSOLE_ENABLE__	CONFIG(CONSOLE_AMD_SIMNOW)

#if __SIMNOW_CONSOLE_ENABLE__
static inline void __simnow_console_init(void)
{
	simnow_console_init();
}

static inline void __simnow_console_tx_byte(u8 data)
{
	simnow_console_tx_byte(data);
}
#else
static inline void __simnow_console_init(void)	{}
static inline void __simnow_console_tx_byte(u8 data)	{}
#endif

#endif /* CONSOLE_SIMNOW_H */