summaryrefslogtreecommitdiff
path: root/include/configs/PK1C20.h
diff options
context:
space:
mode:
authorScott McNutt <smcnutt@psyent.com>2010-03-19 19:03:28 -0400
committerScott McNutt <smcnutt@psyent.com>2010-04-02 12:28:40 -0400
commitc9d4f46b5d639a45747d5eaabd31d35856cb918f (patch)
tree41f2cf126f8371bffc10e382464e219bc6294a5d /include/configs/PK1C20.h
parentffa37fc98d71ef930bccd4e9eed37f6ce6b4d6af (diff)
nios2: Move serial drivers to individual files in drivers/serial
The standard Altera UART & JTAG UART as well as the OpenCores YANU driver are now in individual files in drivers/serial rather than a single file uner cpu/nios2. Signed-off-by: Scott McNutt <smcnutt@psyent.com>
Diffstat (limited to 'include/configs/PK1C20.h')
-rw-r--r--include/configs/PK1C20.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/PK1C20.h b/include/configs/PK1C20.h
index cf6f7a9e8ac..165dde043e6 100644
--- a/include/configs/PK1C20.h
+++ b/include/configs/PK1C20.h
@@ -94,7 +94,8 @@
/*------------------------------------------------------------------------
* CONSOLE
*----------------------------------------------------------------------*/
-#if defined(CONFIG_CONSOLE_JTAG)
+#define CONFIG_ALTERA_UART 1 /* Use altera uart */
+#if defined(CONFIG_ALTERA_JTAG_UART)
#define CONFIG_SYS_NIOS_CONSOLE 0x021208b0 /* JTAG UART base addr */
#else
#define CONFIG_SYS_NIOS_CONSOLE 0x02120840 /* UART base addr */