Commit 189d4c3b authored by Yuri Tikhonov's avatar Yuri Tikhonov

RM-1130 stm qspi: make output more informative and consistent

Signed-off-by: default avatarYuri Tikhonov <yur@emcraft.com>
parent 80c451d2
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment