]> git.sur5r.net Git - u-boot/blobdiff - cpu/nios2/epcs.c
SPEAr : Support added for SPEAr300 board
[u-boot] / cpu / nios2 / epcs.c
index 414c38c2b1df370f8432777e28bb635a90e028ad..483b249cd5c10dde685f57067a8a7215f7a30a4b 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>
@@ -47,7 +47,7 @@
        "epcs write addr offset count\n"\
        "    - write count bytes to offset from addr.\n"\
        "epcs verify addr offset count\n"\
-       "    - verify count bytes at offset from addr.\n"
+       "    - verify count bytes at offset from addr."
 
 
 /*-----------------------------------------------------------------------*/
@@ -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