Skip to content

Commit

Permalink
Blackfin arch: emulate a TTY over the EMUDAT/JTAG interface
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Oct 10, 2008
1 parent 3c08f1d commit a88c71e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/blackfin/kernel/early_printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
extern struct console *bfin_earlyserial_init(unsigned int port,
unsigned int cflag);
#endif
#ifdef CONFIG_BFIN_JTAG_COMM
extern struct console *bfin_jc_early_init(void);
#endif

static struct console *early_console;

Expand Down Expand Up @@ -142,6 +145,15 @@ int __init setup_early_printk(char *buf)
early_console = earlyserial_init(buf);
}
#endif

#ifdef CONFIG_BFIN_JTAG_COMM
/* Check for Blackfin JTAG */
if (!strncmp(buf, "jtag", 4)) {
buf += 4;
early_console = bfin_jc_early_init();
}
#endif

#ifdef CONFIG_FB
/* TODO: add framebuffer console support */
#endif
Expand Down

0 comments on commit a88c71e

Please sign in to comment.