summaryrefslogtreecommitdiffstats
path: root/include/configs/EP1S40.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/EP1S40.h')
-rw-r--r--include/configs/EP1S40.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/EP1S40.h b/include/configs/EP1S40.h
index 5b332e40ee..4ad65d84ac 100644
--- a/include/configs/EP1S40.h
+++ b/include/configs/EP1S40.h
@@ -92,7 +92,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 */
OpenPOWER on IntegriCloud