Skip to content

Commit

Permalink
Merge branch 'feature/remove_80m_ddr_warning_v5.0' into 'release/v5.0'
Browse files Browse the repository at this point in the history
mspi: remove mspi 80m ddr mode warning regarding to timing tuning (v5.0)

See merge request espressif/esp-idf!21904
  • Loading branch information
ginkgm committed Feb 1, 2023
2 parents c41bb46 + 698be13 commit 885e501
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/spi_flash/spi_flash_timing_tuning.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ static uint32_t select_best_tuning_config_dtr(spi_timing_config_t *config, uint3
static uint32_t select_best_tuning_config_str(spi_timing_config_t *config, uint32_t consecutive_length, uint32_t end)
{
#if (SPI_TIMING_CORE_CLOCK_MHZ == 120 || SPI_TIMING_CORE_CLOCK_MHZ == 240)
ESP_EARLY_LOGW("FLASH/PSRAM", "DO NOT USE FOR MASS PRODUCTION! Timing parameters may be updated in future IDF version.");

//STR best point scheme
uint32_t best_point;

Expand Down Expand Up @@ -297,7 +299,6 @@ static void get_flash_tuning_configs(spi_timing_config_t *config)

void spi_timing_flash_tuning(void)
{
ESP_EARLY_LOGW("FLASH", "DO NOT USE FOR MASS PRODUCTION! Timing parameters will be updated in future IDF version.");
/**
* set SPI01 related regs to 20mhz configuration, to get reference data from FLASH
* see detailed comments in this function (`spi_timing_enter_mspi_low_speed_mode`)
Expand Down Expand Up @@ -348,7 +349,6 @@ static void get_psram_tuning_configs(spi_timing_config_t *config)

void spi_timing_psram_tuning(void)
{
ESP_EARLY_LOGW("PSRAM", "DO NOT USE FOR MASS PRODUCTION! Timing parameters will be updated in future IDF version.");
/**
* set SPI01 related regs to 20mhz configuration, to write reference data to PSRAM
* see detailed comments in this function (`spi_timing_enter_mspi_low_speed_mode`)
Expand Down

0 comments on commit 885e501

Please sign in to comment.