]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/nios2/epcs.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / cpu / nios2 / epcs.c
index 414c38c2b1df370f8432777e28bb635a90e028ad..968b50f3d8c357c18049e778e77e5b235cccb8e0 100644 (file)
@@ -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