X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cpu%2Fnios%2Fasmi.c;h=2c2e838de84c22f7e394107592ad1fae82231a85;hb=f82642e33899766892499b163e60560fbbf87773;hp=c2cd8fead0ebe7c4cfdf342093f2bc0b674f19bf;hpb=42fd5f87b1613d3039f57e93c16f760a768d3e84;p=oweals%2Fu-boot.git diff --git a/cpu/nios/asmi.c b/cpu/nios/asmi.c index c2cd8fead0..2c2e838de8 100644 --- a/cpu/nios/asmi.c +++ b/cpu/nios/asmi.c @@ -27,8 +27,8 @@ #include #include -#if !defined(CFG_NIOS_ASMIBASE) -#error "*** CFG_NIOS_ASMIBASE not defined ***" +#if !defined(CONFIG_SYS_NIOS_ASMIBASE) +#error "*** CONFIG_SYS_NIOS_ASMIBASE not defined ***" #endif /*-----------------------------------------------------------------------*/ @@ -69,7 +69,7 @@ #define ASMI_STATUS_WIP (1<<0) /* Write in progress */ #define ASMI_STATUS_WEL (1<<1) /* Write enable latch */ -static nios_asmi_t *asmi = (nios_asmi_t *)CFG_NIOS_ASMIBASE; +static nios_asmi_t *asmi = (nios_asmi_t *)CONFIG_SYS_NIOS_ASMIBASE; /*********************************************************************** * Device access