]> granicus.if.org Git - esp-idf/commit
bootloader(flash): fix flash QIO mode configuration error.
authorWangjialin <wangjialin@espressif.com>
Tue, 15 May 2018 09:14:52 +0000 (17:14 +0800)
committerbot <bot@espressif.com>
Wed, 16 May 2018 12:42:29 +0000 (12:42 +0000)
commitf6927ccde97b2a3c8831ed05b7ab9e7d2f518051
tree9b1381eb2f8a9a08abac207eb7515c540402916c
parentf147a8d73dc8eff31e7ebe64736cbadb519827a6
bootloader(flash): fix flash QIO mode configuration error.

reported from github: https://github.com/espressif/esp-idf/issues/1944

1. Add SPI register setup in execute_flash_command.
2. Save and recover the SPI ctrl register in execute_flash_command.
components/bootloader_support/src/flash_qio_mode.c