summaryrefslogtreecommitdiffstats
path: root/cpu/nios2/epcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/nios2/epcs.c')
-rw-r--r--cpu/nios2/epcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/nios2/epcs.c b/cpu/nios2/epcs.c
index 414c38c2b1..968b50f3d8 100644
--- a/cpu/nios2/epcs.c
+++ b/cpu/nios2/epcs.c
@@ -23,7 +23,7 @@
#include <common.h>
-#if defined(CFG_NIOS_EPCSBASE)
+#if defined(CONFIG_SYS_NIOS_EPCSBASE)
#include <command.h>
#include <asm/io.h>
#include <nios2-io.h>
@@ -72,7 +72,7 @@
*/
#define EPCS_TIMEOUT 100 /* 100 msec timeout */
-static nios_spi_t *epcs = (nios_spi_t *)CFG_NIOS_EPCSBASE;
+static nios_spi_t *epcs = (nios_spi_t *)CONFIG_SYS_NIOS_EPCSBASE;
/***********************************************************************
* Device access
OpenPOWER on IntegriCloud