From 189d4c3bc40995912b7b4d8b0d4efb1876bcd2a4 Mon Sep 17 00:00:00 2001 From: Yuri Tikhonov Date: Sun, 1 Jan 2017 14:06:36 +0300 Subject: [PATCH] RM-1130 stm qspi: make output more informative and consistent Signed-off-by: Yuri Tikhonov --- drivers/mtd/stm32_qspi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/stm32_qspi.c b/drivers/mtd/stm32_qspi.c index 25604dc..3d3ed7d 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; } -- GitLab