diff --git a/drivers/mtd/stm32_qspi.c b/drivers/mtd/stm32_qspi.c index 25604dca22d787f9d5997f0e0b39b36dd1dcd359..3d3ed7d1cacc1117f59a6493449b1d2c7442f8fa 100644 --- a/drivers/mtd/stm32_qspi.c +++ b/drivers/mtd/stm32_qspi.c @@ -519,7 +519,8 @@ int stm32_qspi_init(void) switch_to_memory_mapped(stm32_qspi); - printf("%s: mapped QSPI to 0x%x\n", __func__, STM32_QSPI_BANK); + printf("QSPI: %d MB mapped at 0x%x\n", + 1 << (CONFIG_SPI_FLASH_SIZE_OFF - 20), STM32_QSPI_BANK); return 0; }