]> git.ipfire.org Git - people/ms/u-boot.git/blame - tools/gdb/serial.h
Remove CONFIG_SYS_BOOTCOUNT_SINGLEWORD
[people/ms/u-boot.git] / tools / gdb / serial.h
CommitLineData
6dd652fa
WD
1/*
2 * (C) Copyright 2000
3 * Murray Jensen <Murray.Jensen@csiro.au>
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
6dd652fa
WD
6 */
7
3ba68654
WD
8#include <termios.h>
9
10#define SERIAL_ERROR -1 /* General error, see errno for details */
11#define SERIAL_TIMEOUT -2
12#define SERIAL_EOF -3
13
14extern speed_t cvtspeed(char *);
15extern int serialopen(char *, speed_t);
16extern int serialreadchar(int, int);
17extern int serialwrite(int, char *, int);
18extern int serialclose(int);