X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=arch%2Farm%2Fmach-socfpga%2Fmisc.c;h=db1983dc311dd1617a11323818f802d9b5e5b284;hb=1001502545ff0125c39232cf0e7f26d9213ab55f;hp=d887f0201f7b050a0815e4e8dd64997c3ace13dd;hpb=a0aba8a2ebae51287fbee6848aece71655795fdb;p=platform%2Fkernel%2Fu-boot.git diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c index d887f02..db1983d 100644 --- a/arch/arm/mach-socfpga/misc.c +++ b/arch/arm/mach-socfpga/misc.c @@ -48,10 +48,10 @@ int dram_init(void) void enable_caches(void) { -#ifndef CONFIG_SYS_ICACHE_OFF +#if !CONFIG_IS_ENABLED(SYS_ICACHE_OFF) icache_enable(); #endif -#ifndef CONFIG_SYS_DCACHE_OFF +#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) dcache_enable(); #endif }