mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
mspi: added timing tuning start, and success log
This commit is contained in:
parent
f1ba6ced19
commit
00bd59dc68
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user