Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113778
b: refs/heads/master
c: a88c71e
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Oct 10, 2008
1 parent 09f25cc commit 8ae3658
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c08f1d122627c9559fb03a11f52ea37f960b61e
refs/heads/master: a88c71e4367aada2065c5e247477c891d2ca952f
12 changes: 12 additions & 0 deletions trunk/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 8ae3658

Please sign in to comment.