arch/esp32: Fix error: Mixed case identifier found

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-04-10 15:48:09 +08:00 committed by Abdelatif Guettouche
parent 6c05b2479e
commit 0fdde5be26
5 changed files with 23 additions and 23 deletions

View File

@ -55,8 +55,8 @@ static volatile spinlock_t g_appcpu_interlock SP_SECTION;
* ROM function prototypes
****************************************************************************/
extern void Cache_Flush(int cpu);
extern void Cache_Read_Enable(int cpu);
extern void cache_flush(int cpu);
extern void cache_read_enable(int cpu);
extern void ets_set_appcpu_boot_addr(uint32_t start);
/****************************************************************************
@ -277,8 +277,8 @@ int up_cpu_start(int cpu)
/* Flush and enable I-cache for APP CPU */
Cache_Flush(cpu);
Cache_Read_Enable(cpu);
cache_flush(cpu);
cache_read_enable(cpu);
/* Unstall the APP CPU */

View File

@ -173,7 +173,7 @@ struct spiflash_cachestate_s
* ROM function prototypes
****************************************************************************/
extern void Cache_Flush(int cpu);
extern void cache_flush(int cpu);
/****************************************************************************
* Private Functions Prototypes
@ -535,9 +535,9 @@ static void IRAM_ATTR spiflash_flushmapped(size_t start, size_t size)
#ifdef CONFIG_ESP32_SPIRAM
esp_spiram_writeback_cache();
#endif
Cache_Flush(0);
cache_flush(0);
#ifdef CONFIG_SMP
Cache_Flush(1);
cache_flush(1);
#endif
}
}
@ -1377,9 +1377,9 @@ static int IRAM_ATTR esp32_mmap(FAR struct esp32_spiflash_s *priv,
#ifdef CONFIG_ESP32_SPIRAM
esp_spiram_writeback_cache();
#endif
Cache_Flush(0);
cache_flush(0);
#ifdef CONFIG_SMP
Cache_Flush(1);
cache_flush(1);
#endif
}
@ -1422,9 +1422,9 @@ static void IRAM_ATTR esp32_ummap(FAR struct esp32_spiflash_s *priv,
#ifdef CONFIG_ESP32_SPIRAM
esp_spiram_writeback_cache();
#endif
Cache_Flush(0);
cache_flush(0);
#ifdef CONFIG_SMP
Cache_Flush(1);
cache_flush(1);
#endif
esp32_spiflash_opdone(&state);
}

View File

@ -60,10 +60,10 @@ PROVIDE ( btdm_r_plf_func_p_set = 0x40054288 );
PROVIDE ( bt_util_buf_env = 0x3ffb8bd4 );
PROVIDE ( bzero = 0x4000c1f4 );
PROVIDE ( cache_flash_mmu_set = 0x400095e0 );
PROVIDE ( Cache_Flush = 0x40009a14 );
PROVIDE ( Cache_Read_Disable = 0x40009ab8 );
PROVIDE ( Cache_Read_Enable = 0x40009a84 );
PROVIDE ( Cache_Read_Init = 0x40009950 );
PROVIDE ( cache_flush = 0x40009a14 );
PROVIDE ( cache_read_disable = 0x40009ab8 );
PROVIDE ( cache_read_enable = 0x40009a84 );
PROVIDE ( cache_read_init = 0x40009950 );
/* This is static function, but can be used, not generated by script*/
PROVIDE ( calc_rtc_memory_crc = 0x40008170 );
PROVIDE ( calloc = 0x4000bee4 );

View File

@ -60,10 +60,10 @@ PROVIDE ( btdm_r_plf_func_p_set = 0x40054288 );
PROVIDE ( bt_util_buf_env = 0x3ffb8bd4 );
PROVIDE ( bzero = 0x4000c1f4 );
PROVIDE ( cache_flash_mmu_set = 0x400095e0 );
PROVIDE ( Cache_Flush = 0x40009a14 );
PROVIDE ( Cache_Read_Disable = 0x40009ab8 );
PROVIDE ( Cache_Read_Enable = 0x40009a84 );
PROVIDE ( Cache_Read_Init = 0x40009950 );
PROVIDE ( cache_flush = 0x40009a14 );
PROVIDE ( cache_read_disable = 0x40009ab8 );
PROVIDE ( cache_read_enable = 0x40009a84 );
PROVIDE ( cache_read_init = 0x40009950 );
/* This is static function, but can be used, not generated by script*/
PROVIDE ( calc_rtc_memory_crc = 0x40008170 );
PROVIDE ( calloc = 0x4000bee4 );

View File

@ -60,10 +60,10 @@ PROVIDE ( btdm_r_plf_func_p_set = 0x40054288 );
PROVIDE ( bt_util_buf_env = 0x3ffb8bd4 );
PROVIDE ( bzero = 0x4000c1f4 );
PROVIDE ( cache_flash_mmu_set = 0x400095e0 );
PROVIDE ( Cache_Flush = 0x40009a14 );
PROVIDE ( Cache_Read_Disable = 0x40009ab8 );
PROVIDE ( Cache_Read_Enable = 0x40009a84 );
PROVIDE ( Cache_Read_Init = 0x40009950 );
PROVIDE ( cache_flush = 0x40009a14 );
PROVIDE ( cache_read_disable = 0x40009ab8 );
PROVIDE ( cache_read_enable = 0x40009a84 );
PROVIDE ( cache_read_init = 0x40009950 );
/* This is static function, but can be used, not generated by script*/
PROVIDE ( calc_rtc_memory_crc = 0x40008170 );
PROVIDE ( calloc = 0x4000bee4 );