Home
last modified time | relevance | path

Searched refs:SPIFLASH (Results 1 – 1 of 1) sorted by relevance

/device/soc/esp/esp32/components/bootloader_support/src/
Dbootloader_flash.c26 # define SPIFLASH SPI1 macro
31 # define SPIFLASH SPIMEM1 macro
450 uint32_t old_ctrl_reg = SPIFLASH.ctrl.val; in bootloader_execute_flash_command()
452 SPIFLASH.ctrl.val = SPI_WP_REG_M; // keep WP high while idle, otherwise leave DIO mode in bootloader_execute_flash_command()
454 SPIFLASH.ctrl.val = SPI_MEM_WP_REG_M; // keep WP high while idle, otherwise leave DIO mode in bootloader_execute_flash_command()
456 SPIFLASH.user.usr_dummy = 0; in bootloader_execute_flash_command()
457 SPIFLASH.user.usr_addr = 0; in bootloader_execute_flash_command()
458 SPIFLASH.user.usr_command = 1; in bootloader_execute_flash_command()
459 SPIFLASH.user2.usr_command_bitlen = 7; in bootloader_execute_flash_command()
461 SPIFLASH.user2.usr_command_value = command; in bootloader_execute_flash_command()
[all …]