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

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

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