X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=cpu%2Fnios2%2Fepcs.c;h=483b249cd5c10dde685f57067a8a7215f7a30a4b;hb=95da7841960723734518380aec64a062ebc4fb0d;hp=414c38c2b1df370f8432777e28bb635a90e028ad;hpb=38546f08c608b871a65bd538b9c460b3348b1261;p=u-boot diff --git a/cpu/nios2/epcs.c b/cpu/nios2/epcs.c index 414c38c2b1..483b249cd5 100644 --- a/cpu/nios2/epcs.c +++ b/cpu/nios2/epcs.c @@ -23,7 +23,7 @@ #include -#if defined(CFG_NIOS_EPCSBASE) +#if defined(CONFIG_SYS_NIOS_EPCSBASE) #include #include #include @@ -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