Commit 2d934a5e authored by Vladimir Khusainov's avatar Vladimir Khusainov

RT106081: Change the CPU name to STM32F7 in the U-Boot banner.

parent 568bbbf6
......@@ -5,6 +5,7 @@
* Alexander Potashev, Emcraft Systems, aspotashev@emcraft.com
* Vladimir Khusainov, Emcraft Systems, vlad@emcraft.com
* Pavel Boldin, Emcraft Systems, paboldin@emcraft.com
* Vladimir Skvortsov, Emcraft Systems, vskvortsov@emcraft.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
......@@ -190,8 +191,7 @@ out:
*/
int board_init(void)
{
int rv, i;
char v;
int rv;
rv = fmc_fsmc_setup_gpio();
if (rv)
......
......@@ -31,10 +31,14 @@ int print_cpuinfo(void)
{
char buf[4][32];
#if defined(CONFIG_SYS_STM32F7)
printf("CPU : %s\n", "STM32F7 (Cortex-M7)");
#else
#if defined(CONFIG_SYS_ARMCORTEXM4)
printf("CPU : %s\n", "STM32F4 (Cortex-M4)");
#else
printf("CPU : %s\n", "STM32F2 (Cortex-M3)");
#endif
#endif
strmhz(buf[0], clock_get(CLOCK_SYSCLK));
......
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