summaryrefslogtreecommitdiff
path: root/cpu/blackfin/serial.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-11 21:52:17 -0400
committerMike Frysinger <vapier@gentoo.org>2009-01-28 13:26:15 -0500
commit7633903bff432ec7b27905dce7396958553f2be6 (patch)
treefb60bb8385e615bcc2ab0d528d4476e1f73f7edc /cpu/blackfin/serial.h
parent36ea8e9ad1107af12d244bba8c73e85b9f655e45 (diff)
downloadu-boot-imx-7633903bff432ec7b27905dce7396958553f2be6.zip
u-boot-imx-7633903bff432ec7b27905dce7396958553f2be6.tar.gz
u-boot-imx-7633903bff432ec7b27905dce7396958553f2be6.tar.bz2
Blackfin: allow serial console to be disabled
Some devices have no UART device pulled out, so allow people to disable the driver completely in favor of other methods (like JTAG-console). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'cpu/blackfin/serial.h')
-rw-r--r--cpu/blackfin/serial.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/blackfin/serial.h b/cpu/blackfin/serial.h
index 90fceec..f671096 100644
--- a/cpu/blackfin/serial.h
+++ b/cpu/blackfin/serial.h
@@ -14,6 +14,10 @@
#include <asm/blackfin.h>
#include <asm/mach-common/bits/uart.h>
+#ifndef CONFIG_UART_CONSOLE
+# define CONFIG_UART_CONSOLE 0
+#endif
+
#ifdef CONFIG_DEBUG_EARLY_SERIAL
# define BFIN_DEBUG_EARLY_SERIAL 1
#else