diff options
author | Tom Rini <trini@konsulko.com> | 2021-10-21 07:52:15 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-21 07:52:15 -0400 |
commit | f200a4bcecf1be6d8b546f0eb6af6403c93d80dd (patch) | |
tree | 5c5dfde8a916fd40ce0455ed1a7ead151719ecbb /tools | |
parent | 79b8849d4c1e73df2a79a1d5a5f6166d0dd67a12 (diff) | |
parent | bd4064ff8a82460d6a497faf66ac5830ffe452b1 (diff) | |
download | u-boot-f200a4bcecf1be6d8b546f0eb6af6403c93d80dd.zip u-boot-f200a4bcecf1be6d8b546f0eb6af6403c93d80dd.tar.gz u-boot-f200a4bcecf1be6d8b546f0eb6af6403c93d80dd.tar.bz2 |
Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
- Turris MOX and Omnia changes, mostly moving to Kconfig (Marek)
- a37xx: pci: Misc smaller fixes (Pali)
- cmd: tlv_eeprom: Fix building with DEBUG enabled (Sven)
- termios_linux.h: Fix tcsendbreak() implementation (Pali)
- mvebu: Add missing "if SPL" (Tom)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/termios_linux.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/termios_linux.h b/tools/termios_linux.h index d73989b..e100c8e 100644 --- a/tools/termios_linux.h +++ b/tools/termios_linux.h @@ -90,7 +90,11 @@ static inline int tcflush(int fd, int q) static inline int tcsendbreak(int fd, int d) { - return ioctl(fd, TCSBRK, d); +#ifdef TCSBRKP + return ioctl(fd, TCSBRKP, d); +#else + return ioctl(fd, TCSBRK, 0); +#endif } static inline int tcflow(int fd, int a) |