Browse Source

【修改】RT_NEED_FLUSH_DCACHE_ALL 改名为 ARCH_ARM_BOOTWITH_FLUSH_CACHE

Signed-off-by: WillianChan <chentingwei@rt-thread.com>
WillianChan 3 years ago
parent
commit
19d52d4236
2 changed files with 3 additions and 3 deletions
  1. 2 2
      libcpu/Kconfig
  2. 1 1
      libcpu/aarch64/cortex-a/entry_point.S

+ 2 - 2
libcpu/Kconfig

@@ -5,11 +5,11 @@ config RT_USING_CACHE
     bool
     default n
 
-config RT_NEED_FLUSH_DCACHE_ALL
+config RT_USING_CPU_FFS
     bool
     default n
 
-config RT_USING_CPU_FFS
+config ARCH_ARM_BOOTWITH_FLUSH_CACHE
     bool
     default n
 

+ 1 - 1
libcpu/aarch64/cortex-a/entry_point.S

@@ -13,7 +13,7 @@
 .global __start
 
 __start:
-#ifdef RT_NEED_FLUSH_DCACHE_ALL
+#ifdef ARCH_ARM_BOOTWITH_FLUSH_CACHE
     bl      __asm_flush_dcache_all
 #endif
     bl      rt_hw_cpu_id_set