1 /* 2 * SPDX-FileCopyrightText: 2017-2021 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #pragma once 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /** @brief Configure clocks for early boot 14 * 15 * Called by bootloader, or by the app if the bootloader version is old (pre v2.1). 16 */ 17 void bootloader_clock_configure(void); 18 19 /** @brief Return the rated maximum frequency of this chip 20 */ 21 int bootloader_clock_get_rated_freq_mhz(void); 22 23 #ifdef __cplusplus 24 } 25 #endif 26