diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-22 22:23:04 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-23 04:14:27 -0400 |
commit | 3649cb065699316bc8cd64b06f273c72f1806323 (patch) | |
tree | cf56f50cedc1a0d897cc271556c067a033d20d67 /sim/bfin/dv-bfin_uart.c | |
parent | 80fc77e6c14835462fca0b7adc15655ce2e4bb99 (diff) | |
download | gdb-3649cb065699316bc8cd64b06f273c72f1806323.zip gdb-3649cb065699316bc8cd64b06f273c72f1806323.tar.gz gdb-3649cb065699316bc8cd64b06f273c72f1806323.tar.bz2 |
sim: dv-sockser: add stub funcs when not available
This lets ports assume that the dv-sockser API is always available if
they want to. This way we don't have to do an abort at configure time
and it makes the resulting code a bit simpler.
Diffstat (limited to 'sim/bfin/dv-bfin_uart.c')
-rw-r--r-- | sim/bfin/dv-bfin_uart.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sim/bfin/dv-bfin_uart.c b/sim/bfin/dv-bfin_uart.c index b40cccb..0460ca5 100644 --- a/sim/bfin/dv-bfin_uart.c +++ b/sim/bfin/dv-bfin_uart.c @@ -74,12 +74,6 @@ static const char *mmr_name (struct bfin_uart *uart, bu32 idx) } #define mmr_name(off) mmr_name (uart, (off) / 4) -#ifndef HAVE_DV_SOCKSER -# define dv_sockser_status(sd) -1 -# define dv_sockser_write(sd, byte) do { ; } while (0) -# define dv_sockser_read(sd) 0xff -#endif - static void bfin_uart_poll (struct hw *me, void *data) { |