X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cpu%2Fnios2%2Fepcs.c;h=968b50f3d8c357c18049e778e77e5b235cccb8e0;hb=2fb2604d5c20beb061b0a94282b7f6eb14d00cb8;hp=414c38c2b1df370f8432777e28bb635a90e028ad;hpb=7fd392c2d0b27e372a1771e0bda877820b30d6e0;p=oweals%2Fu-boot.git 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 -#if defined(CFG_NIOS_EPCSBASE) +#if defined(CONFIG_SYS_NIOS_EPCSBASE) #include #include #include @@ -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