add flash and PSRAM CS IO acquire function

This commit is contained in:
chenjianqiang
2021-07-02 21:46:49 +08:00
committed by Li Shuai
parent 9f957cbfe2
commit 9b53e18c44
14 changed files with 108 additions and 1 deletions

View File

@@ -119,6 +119,15 @@ bool bootloader_common_label_search(const char *list, char *label);
*/
void bootloader_configure_spi_pins(int drv);
/**
* @brief Get flash CS IO
*
* Can be determined by eFuse values, or the default value
*
* @return Flash CS IO
*/
uint8_t bootloader_flash_get_cs_io(void);
/**
* @brief Calculates a sha-256 for a given partition or returns a appended digest.
*