]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Blackfin: jtag-console: handle newline stuffing
authorMike Frysinger <vapier@gentoo.org>
Fri, 23 Jul 2010 20:51:49 +0000 (16:51 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 25 Jul 2010 19:17:34 +0000 (15:17 -0400)
commitb990c7bda4d8f4501b3383be9ed44327de24f36f
treeba0837445a7568f003d6ff124d466d21e9d2d5b5
parent4fff5ac2f89140361e373818aa3c8c6c7dbd20e9
Blackfin: jtag-console: handle newline stuffing

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>
arch/blackfin/cpu/jtag-console.c