summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/cpu/jtag-console.c
Commit message (Collapse)AuthorAgeFilesLines
* Blackfin: jtag-console: fix timer usageMike Frysinger2011-07-121-2/+2
| | | | | Reported-by: Graeme Russ <graeme.russ@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: jtag-console: handle newline stuffingMike Frysinger2010-07-251-9/+32
| | | | | | | | | | Serial devices currently have to manually stuff \r after every \n found, but this is a bit more difficult with the jtag console since we process everything in chunks of 4 bit. So we have to scan & stuff the whole string rather than what most serial drivers do which is output on a byte per byte basis. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: jtag-console: add debug markersMike Frysinger2010-07-251-1/+27
| | | | | | | | | | While we're in here, add some useful debug points. We need custom debug statements because we need the output to only go to the serial port. If we used the standard debug helpers, the output would also go to the stdout (which would be the jtag console) and make it hard to figure out what is going where exactly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: jtag-console: robustify against missing peerMike Frysinger2010-07-251-8/+32
| | | | | | | | | If the other side isn't listening, we should reset the state to ignore the whole message and not just the part we missed. This makes it easier to connect at any time to the jtag console without worrying about the two sides getting out of sync and thus sending garbage back and forth. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/*Peter Tyser2010-04-131-0/+132
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
OpenPOWER on IntegriCloud