]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
Blackfin: fix jtag console tstc
authorMike Frysinger <vapier@gentoo.org>
Tue, 17 Mar 2009 17:58:23 +0000 (13:58 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 23 Mar 2009 19:14:52 +0000 (15:14 -0400)
commite82b762f293debc53c5afa90f37264f6b07520f9
treeb207f0cedee7789001267274bab53967dc6d0ad6
parentbc683f58b1f1d8d20546fe019483967a51a49df1
Blackfin: fix jtag console tstc

The jtag tstc operation was checking the hardware to see if data is
available from it (which is fine for the jtag getc operation), but the
higher layers need to know whether any data is available.  Since we have
to read up to 4 bytes at a time from the hardware, the higher layers need
to know they can consume the cached bytes as well.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cpu/blackfin/jtag-console.c