litespi/spiflash: Use shorted message when first SPI Flash block is erased and freq test cannot be done.

This commit is contained in:
Florent Kermarrec 2021-09-02 11:26:56 +02:00
parent 103b108ea8
commit 8c50366d15
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ int spiflash_freq_init(void)
/* Check if block is erased (filled with 0xFF) */ /* Check if block is erased (filled with 0xFF) */
if(crc == CRC32_ERASED_FLASH) { if(crc == CRC32_ERASED_FLASH) {
printf("Block of size %d, started on address 0x%lx is erased. Cannot proceed with SPI Flash frequency test.\n\r", SPI_FLASH_BLOCK_SIZE, SPIFLASH_BASE); printf("First SPI Flash block erased, unable to perform freq test.\n\r");
return -1; return -1;
} }