2024-03-01 02:53:20 -05:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-01-20 00:31:28 -05:00
|
|
|
/**
|
|
|
|
* SPI flash driver function, compatibility names.
|
|
|
|
*/
|
2019-04-12 00:21:44 -04:00
|
|
|
|
2019-06-13 05:55:51 -04:00
|
|
|
PROVIDE ( g_rom_spiflash_dummy_len_plus = dummy_len_plus);
|
|
|
|
PROVIDE ( g_ticks_per_us_pro = g_ticks_per_us );
|
|
|
|
PROVIDE ( g_rom_flashchip = SPI_flashchip_data );
|
|
|
|
PROVIDE ( g_rom_spiflash_chip = SPI_flashchip_data );
|
|
|
|
PROVIDE ( esp_rom_spiflash_config_param = SPIParamCfg );
|
2020-02-24 22:32:02 -05:00
|
|
|
PROVIDE ( esp_rom_spiflash_read = SPIRead );
|
|
|
|
PROVIDE ( esp_rom_spiflash_read_status = SPI_read_status );
|
2019-06-13 05:55:51 -04:00
|
|
|
PROVIDE ( esp_rom_spiflash_read_statushigh = SPI_read_status_high );
|
|
|
|
PROVIDE ( esp_rom_spiflash_read_user_cmd = SPI_user_command_read );
|
|
|
|
PROVIDE ( esp_rom_spiflash_write = SPIWrite );
|
|
|
|
PROVIDE ( esp_rom_spiflash_write_encrypted_disable = SPI_Write_Encrypt_Disable );
|
|
|
|
PROVIDE ( esp_rom_spiflash_write_encrypted_enable = SPI_Write_Encrypt_Enable );
|
|
|
|
PROVIDE ( esp_rom_spiflash_config_clk = SPIClkConfig );
|
|
|
|
PROVIDE ( esp_rom_spiflash_select_qio_pins = SelectSpiQIO );
|
|
|
|
PROVIDE ( esp_rom_spiflash_unlock = SPIUnlock );
|
|
|
|
PROVIDE ( esp_rom_spiflash_erase_sector = SPIEraseSector );
|
2019-08-08 00:00:45 -04:00
|
|
|
PROVIDE ( esp_rom_spiflash_erase_block = SPIEraseBlock );
|
2019-06-21 09:50:08 -04:00
|
|
|
PROVIDE ( esp_rom_spiflash_wait_idle = SPI_Wait_Idle );
|
|
|
|
PROVIDE ( esp_rom_spiflash_config_readmode = SPIReadModeCnfig );
|
2019-08-18 01:30:11 -04:00
|
|
|
PROVIDE ( esp_rom_spiflash_erase_block = SPIEraseBlock );
|
2020-01-20 00:31:28 -05:00
|
|
|
PROVIDE ( esp_rom_spiflash_write_encrypted = SPI_Encrypt_Write );
|
2022-06-27 03:24:07 -04:00
|
|
|
PROVIDE ( esp_rom_spiflash_erase_area = SPIEraseArea );
|