summaryrefslogtreecommitdiffstats
path: root/include/console.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-12 09:31:07 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2007-07-12 09:31:07 +0200
commit149d273b80e48e68b0533bda9af205968cc108c8 (patch)
treeb3691a90a936a7f4776cf2008ac19836e4a15746 /include/console.h
parent93abe4f36b22c7f84bd40eb24c9d39a4f6631c2b (diff)
downloadbarebox-149d273b80e48e68b0533bda9af205968cc108c8.tar.gz
barebox-149d273b80e48e68b0533bda9af205968cc108c8.tar.xz
add early console for mpc5200
Diffstat (limited to 'include/console.h')
-rw-r--r--include/console.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h
index a5b585d112..ce3855e1e4 100644
--- a/include/console.h
+++ b/include/console.h
@@ -54,5 +54,17 @@ int console_register(struct console_device *cdev);
#define CFG_PBSIZE (CONFIG_CBSIZE+sizeof(CONFIG_PROMPT)+16)
+void early_console_putc(void *base, char c);
+void early_console_init(void *base, int baudrate);
+
+void early_console_start(const char *name, int baudrate);
+
+/*
+ * Resolve an early console name to a pointer pointing
+ * to the consoles base address, usually implemented in
+ * board setup file.
+ */
+void *get_early_console_base(const char *name);
+
#endif