]> Git Repo - J-u-boot.git/blobdiff - arch/arm/lib/cache.c
arm: Migrate SYS_THUMB_BUILD to Kconfig, introduce SPL_SYS_THUMB_BUILD
[J-u-boot.git] / arch / arm / lib / cache.c
index d330b09434a46df1ab6505bf8b46c54e90ccfa21..7683386ad97b0ac742fe98e1d5c86749433b7934 100644 (file)
 #include <common.h>
 #include <malloc.h>
 
-#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;
This page took 0.026022 seconds and 4 git commands to generate.