upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
482 B
32 lines
482 B
14 years ago
|
/*
|
||
|
* (C) Copyright 2010,2011
|
||
|
* NVIDIA Corporation <www.nvidia.com>
|
||
|
*
|
||
12 years ago
|
* SPDX-License-Identifier: GPL-2.0+
|
||
14 years ago
|
*/
|
||
|
|
||
|
#include <common.h>
|
||
12 years ago
|
#include <linux/ctype.h>
|
||
14 years ago
|
|
||
10 years ago
|
static void upstring(char *s)
|
||
12 years ago
|
{
|
||
|
while (*s) {
|
||
|
*s = toupper(*s);
|
||
|
s++;
|
||
|
}
|
||
|
}
|
||
|
|
||
14 years ago
|
/* Print CPU information */
|
||
|
int print_cpuinfo(void)
|
||
|
{
|
||
12 years ago
|
char soc_name[10];
|
||
|
|
||
|
strncpy(soc_name, CONFIG_SYS_SOC, 10);
|
||
|
upstring(soc_name);
|
||
|
puts(soc_name);
|
||
|
puts("\n");
|
||
14 years ago
|
|
||
|
/* TBD: Add printf of major/minor rev info, stepping, etc. */
|
||
|
return 0;
|
||
|
}
|