mspi: added timing tuning start, and success log

This commit is contained in:
Armando 2023-06-12 16:12:20 +08:00
parent f1ba6ced19
commit 00bd59dc68

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); best_point = select_best_tuning_config_str(config, consecutive_length, end);
#endif #endif
s_flash_best_timing_tuning_config = config->tuning_config_table[best_point]; s_flash_best_timing_tuning_config = config->tuning_config_table[best_point];
ESP_EARLY_LOGI(TAG, "Flash timing tuning index: %d", best_point);
} else { } else {
#if SPI_TIMING_PSRAM_DTR_MODE #if SPI_TIMING_PSRAM_DTR_MODE
best_point = select_best_tuning_config_dtr(config, consecutive_length, end); 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); best_point = select_best_tuning_config_str(config, consecutive_length, end);
#endif #endif
s_psram_best_timing_tuning_config = config->tuning_config_table[best_point]; s_psram_best_timing_tuning_config = config->tuning_config_table[best_point];
ESP_EARLY_LOGI(TAG, "PSRAM timing tuning index: %d", best_point);
} }
} }