1 /*
2  * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 #pragma once
7 
8 #include <stdint.h>
9 #include <stdbool.h>
10 
11 int spi_flash_init_chip_state(void);
12 
13 bool flash_is_octal_mode_enabled(void);
14 
15 /**
16  * @brief Common flash initialization code
17  */
18 void esp_flash_config(void);
19