X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=arch%2Farm%2Flib%2Fcache.c;h=7683386ad97b0ac742fe98e1d5c86749433b7934;hb=541f538f4ca50082f77f7f34f05950d57804b1cc;hp=d330b09434a46df1ab6505bf8b46c54e90ccfa21;hpb=66669fcf809c1e3ff644b12e04e625d3737ffd8e;p=oweals%2Fu-boot.git diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c index d330b09434..7683386ad9 100644 --- a/arch/arm/lib/cache.c +++ b/arch/arm/lib/cache.c @@ -10,10 +10,6 @@ #include #include -#ifndef CONFIG_SYS_CACHELINE_SIZE -#define CONFIG_SYS_CACHELINE_SIZE 32 -#endif - /* * Flush range from all levels of d-cache/unified-cache. * Affects the range [start, start + size - 1]. @@ -111,7 +107,7 @@ phys_addr_t noncached_alloc(size_t size, size_t align) } #endif /* CONFIG_SYS_NONCACHED_MEMORY */ -#if defined(CONFIG_SYS_THUMB_BUILD) +#if CONFIG_IS_ENABLED(SYS_THUMB_BUILD) void invalidate_l2_cache(void) { unsigned int val = 0;