esp32s3_rom.ld: Lowercase cache related function to comply with nxstyle.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2022-01-31 13:16:12 +01:00 committed by Xiang Xiao
parent 512676cb06
commit 94fb8f4d2a
2 changed files with 26 additions and 4 deletions

View File

@ -45,7 +45,7 @@ PROVIDE ( Cache_Get_Mode = 0x40017ff0 );
PROVIDE ( Cache_Get_Virtual_Addr = 0x40019210 ); PROVIDE ( Cache_Get_Virtual_Addr = 0x40019210 );
PROVIDE ( cache_ibus_mmu_set = 0x40018df4 ); PROVIDE ( cache_ibus_mmu_set = 0x40018df4 );
PROVIDE ( Cache_ICache_Preload_Done = 0x4001859c ); PROVIDE ( Cache_ICache_Preload_Done = 0x4001859c );
PROVIDE ( Cache_Invalidate_Addr = 0x400182e4 ); PROVIDE ( cache_invalidate_addr = 0x400182e4 );
PROVIDE ( Cache_Invalidate_DCache_All = 0x4001842c ); PROVIDE ( Cache_Invalidate_DCache_All = 0x4001842c );
PROVIDE ( Cache_Invalidate_DCache_Items = 0x40018208 ); PROVIDE ( Cache_Invalidate_DCache_Items = 0x40018208 );
PROVIDE ( cache_invalidate_icache_all = 0x40018420 ); PROVIDE ( cache_invalidate_icache_all = 0x40018420 );
@ -816,6 +816,28 @@ PROVIDE ( strncpy = 0x40007f20 );
PROVIDE ( strlen = 0x40007e08 ); PROVIDE ( strlen = 0x40007e08 );
PROVIDE ( strnlen = 0x4001ae9c ); PROVIDE ( strnlen = 0x4001ae9c );
/* Rename the SPI Flash data and functions. */
PROVIDE ( g_rom_spiflash_dummy_len_plus = dummy_len_plus);
PROVIDE ( g_spiflash_chip = SPI_flashchip_data );
PROVIDE ( spi_flash_config_param = SPIParamCfg );
PROVIDE ( spi_flash_read = SPIRead );
PROVIDE ( spi_flash_read_status = SPI_read_status );
PROVIDE ( spi_flash_read_statushigh = SPI_read_status_high );
PROVIDE ( spi_flash_read_user_cmd = SPI_user_command_read );
PROVIDE ( spi_flash_write = SPIWrite );
PROVIDE ( spi_flash_write_encrypted_disable = SPI_Write_Encrypt_Disable );
PROVIDE ( spi_flash_write_encrypted_enable = SPI_Write_Encrypt_Enable );
PROVIDE ( spi_flash_config_clk = SPIClkConfig );
PROVIDE ( spi_flash_select_qio_pins = SelectSpiQIO );
PROVIDE ( spi_flash_unlock = SPIUnlock );
PROVIDE ( spi_flash_erase_sector = SPIEraseSector );
PROVIDE ( spi_flash_erase_block = SPIEraseBlock );
PROVIDE ( spi_flash_wait_idle = SPI_Wait_Idle );
PROVIDE ( spi_flash_config_readmode = SPIReadModeCnfig );
PROVIDE ( spi_flash_erase_block = SPIEraseBlock );
PROVIDE ( spi_flash_write_encrypted = SPI_Encrypt_Write );
/* Unlike other ROM functions which are exported using PROVIDE, which declares weak symbols, /* Unlike other ROM functions which are exported using PROVIDE, which declares weak symbols,
* these libgcc functions are exported using assignment, which declare strong symbols. * these libgcc functions are exported using assignment, which declare strong symbols.
* This is done so that ROM functions are always used instead of the ones provided by libgcc.a. * This is done so that ROM functions are always used instead of the ones provided by libgcc.a.

View File

@ -388,7 +388,7 @@ PROVIDE( Cache_Invalidate_DCache_Items = 0x40001680 );
PROVIDE( Cache_Clean_Items = 0x4000168c ); PROVIDE( Cache_Clean_Items = 0x4000168c );
PROVIDE( Cache_WriteBack_Items = 0x40001698 ); PROVIDE( Cache_WriteBack_Items = 0x40001698 );
PROVIDE( Cache_Op_Addr = 0x400016a4 ); PROVIDE( Cache_Op_Addr = 0x400016a4 );
PROVIDE( Cache_Invalidate_Addr = 0x400016b0 ); PROVIDE( cache_invalidate_addr = 0x400016b0 );
PROVIDE( Cache_Clean_Addr = 0x400016bc ); PROVIDE( Cache_Clean_Addr = 0x400016bc );
PROVIDE( Cache_WriteBack_Addr = 0x400016c8 ); PROVIDE( Cache_WriteBack_Addr = 0x400016c8 );
PROVIDE( Cache_Invalidate_ICache_All = 0x400016d4 ); PROVIDE( Cache_Invalidate_ICache_All = 0x400016d4 );
@ -429,8 +429,8 @@ PROVIDE( Cache_Disable_ICache = 0x4000186c );
PROVIDE( Cache_Enable_ICache = 0x40001878 ); PROVIDE( Cache_Enable_ICache = 0x40001878 );
PROVIDE( Cache_Disable_DCache = 0x40001884 ); PROVIDE( Cache_Disable_DCache = 0x40001884 );
PROVIDE( Cache_Enable_DCache = 0x40001890 ); PROVIDE( Cache_Enable_DCache = 0x40001890 );
PROVIDE( Cache_Suspend_ICache = 0x4000189c ); PROVIDE( cache_suspend_icache = 0x4000189c );
PROVIDE( Cache_Resume_ICache = 0x400018a8 ); PROVIDE( cache_resume_icache = 0x400018a8 );
PROVIDE( cache_suspend_dcache = 0x400018b4 ); PROVIDE( cache_suspend_dcache = 0x400018b4 );
PROVIDE( cache_resume_dcache = 0x400018c0 ); PROVIDE( cache_resume_dcache = 0x400018c0 );
PROVIDE( Cache_Occupy_Items = 0x400018cc ); PROVIDE( Cache_Occupy_Items = 0x400018cc );