mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/tw19020_force_1.9V_when_flash_is_80M_v3.0' into 'release/v3.0'
bootloader: force SDIO 1.9V if flash is 80M See merge request idf/esp-idf!2084
This commit is contained in:
commit
a12e7fa638
@ -43,9 +43,9 @@ config BOOTLOADER_SPI_WP_PIN
|
|||||||
|
|
||||||
The default value (GPIO 7) is correct for WP pin on ESP32-D2WD integrated flash.
|
The default value (GPIO 7) is correct for WP pin on ESP32-D2WD integrated flash.
|
||||||
|
|
||||||
config BOOTLOADER_VDDSDIO_BOOST
|
choice BOOTLOADER_VDDSDIO_BOOST
|
||||||
bool "Increase VDDSDIO 1.8V LDO voltage to 1.9V"
|
bool "VDDSDIO LDO voltage"
|
||||||
default y
|
default BOOTLOADER_VDDSDIO_BOOST_1_9V
|
||||||
help
|
help
|
||||||
If this option is enabled, and VDDSDIO LDO is set to 1.8V (using EFUSE
|
If this option is enabled, and VDDSDIO LDO is set to 1.8V (using EFUSE
|
||||||
or MTDI bootstrapping pin), bootloader will change LDO settings to
|
or MTDI bootstrapping pin), bootloader will change LDO settings to
|
||||||
@ -55,6 +55,13 @@ config BOOTLOADER_VDDSDIO_BOOST
|
|||||||
This option has no effect if VDDSDIO is set to 3.3V, or if the internal
|
This option has no effect if VDDSDIO is set to 3.3V, or if the internal
|
||||||
VDDSDIO regulator is disabled via efuse.
|
VDDSDIO regulator is disabled via efuse.
|
||||||
|
|
||||||
|
config BOOTLOADER_VDDSDIO_BOOST_1_8V
|
||||||
|
bool "1.8V"
|
||||||
|
depends on !ESPTOOLPY_FLASHFREQ_80M
|
||||||
|
config BOOTLOADER_VDDSDIO_BOOST_1_9V
|
||||||
|
bool "1.9V"
|
||||||
|
endchoice
|
||||||
|
|
||||||
endmenu # Bootloader
|
endmenu # Bootloader
|
||||||
|
|
||||||
|
|
||||||
|
@ -743,7 +743,7 @@ static void print_flash_info(const esp_image_header_t* phdr)
|
|||||||
|
|
||||||
static void vddsdio_configure()
|
static void vddsdio_configure()
|
||||||
{
|
{
|
||||||
#if CONFIG_BOOTLOADER_VDDSDIO_BOOST
|
#if CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V
|
||||||
rtc_vddsdio_config_t cfg = rtc_vddsdio_get_config();
|
rtc_vddsdio_config_t cfg = rtc_vddsdio_get_config();
|
||||||
if (cfg.enable == 1 && cfg.tieh == 0) { // VDDSDIO regulator is enabled @ 1.8V
|
if (cfg.enable == 1 && cfg.tieh == 0) { // VDDSDIO regulator is enabled @ 1.8V
|
||||||
cfg.drefh = 3;
|
cfg.drefh = 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user