Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bootloader_support/bootloader_flash/src/
Dbootloader_flash.c20 # define SPIFLASH SPI1 macro
25 # define SPIFLASH SPIMEM1 macro
544 uint32_t old_ctrl_reg = SPIFLASH.ctrl.val; in bootloader_flash_execute_command_common()
545 uint32_t old_user_reg = SPIFLASH.user.val; in bootloader_flash_execute_command_common()
546 uint32_t old_user1_reg = SPIFLASH.user1.val; in bootloader_flash_execute_command_common()
548 SPIFLASH.ctrl.val = SPI_WP_REG_M; // keep WP high while idle, otherwise leave DIO mode in bootloader_flash_execute_command_common()
550 SPIFLASH.ctrl.val = SPI_MEM_WP_REG_M; // keep WP high while idle, otherwise leave DIO mode in bootloader_flash_execute_command_common()
553 SPIFLASH.user.usr_command = 1; in bootloader_flash_execute_command_common()
554 SPIFLASH.user2.usr_command_bitlen = 7; in bootloader_flash_execute_command_common()
555 SPIFLASH.user2.usr_command_value = command; in bootloader_flash_execute_command_common()
[all …]
/hal_espressif-latest/zephyr/port/bootloader/
Dbootloader_flash.c20 # define SPIFLASH SPI1 macro
25 # define SPIFLASH SPIMEM1 macro
536 uint32_t old_ctrl_reg = SPIFLASH.ctrl.val; in bootloader_flash_execute_command_common()
537 uint32_t old_user_reg = SPIFLASH.user.val; in bootloader_flash_execute_command_common()
538 uint32_t old_user1_reg = SPIFLASH.user1.val; in bootloader_flash_execute_command_common()
540 SPIFLASH.ctrl.val = SPI_WP_REG_M; // keep WP high while idle, otherwise leave DIO mode in bootloader_flash_execute_command_common()
542 SPIFLASH.ctrl.val = SPI_MEM_WP_REG_M; // keep WP high while idle, otherwise leave DIO mode in bootloader_flash_execute_command_common()
545 SPIFLASH.user.usr_command = 1; in bootloader_flash_execute_command_common()
546 SPIFLASH.user2.usr_command_bitlen = 7; in bootloader_flash_execute_command_common()
547 SPIFLASH.user2.usr_command_value = command; in bootloader_flash_execute_command_common()
[all …]