commit | b990c7bda4d8f4501b3383be9ed44327de24f36f | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Fri Jul 23 16:51:49 2010 -0400 |
committer | Mike Frysinger <vapier@gentoo.org> | Sun Jul 25 15:17:34 2010 -0400 |
tree | ba0837445a7568f003d6ff124d466d21e9d2d5b5 | |
parent | 4fff5ac2f89140361e373818aa3c8c6c7dbd20e9 [diff] |
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>