Merge branch 'feature/add_log_when_mspi_timing_tuning_is_enabled_v5.0' into 'release/v5.0'

mspi: added timing tuning start, and success log (v5.0)

See merge request espressif/esp-idf!24054
This commit is contained in:
Jiang Jiang Jian 2023-06-13 10:51:49 +08:00
commit 9f99495cb2

View File

@ -242,6 +242,7 @@ static void select_best_tuning_config(spi_timing_config_t *config, uint32_t cons
best_point = select_best_tuning_config_str(config, consecutive_length, end);
#endif
s_flash_best_timing_tuning_config = config->tuning_config_table[best_point];
ESP_EARLY_LOGI(TAG, "Flash timing tuning index: %d", best_point);
} else {
#if SPI_TIMING_PSRAM_DTR_MODE
best_point = select_best_tuning_config_dtr(config, consecutive_length, end);
@ -249,6 +250,7 @@ static void select_best_tuning_config(spi_timing_config_t *config, uint32_t cons
best_point = select_best_tuning_config_str(config, consecutive_length, end);
#endif
s_psram_best_timing_tuning_config = config->tuning_config_table[best_point];
ESP_EARLY_LOGI(TAG, "PSRAM timing tuning index: %d", best_point);
}
}