mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 16:01:27 +00:00
xilinx: cpuinfo: Print soc machine
Print the soc machine in the print_cpuinfo function. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Link: https://lore.kernel.org/r/20220620163650.18756-9-stefan.herbrechtsmeier-oss@weidmueller.com Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
parent
a1e618a1b9
commit
381ede9e38
1 changed files with 4 additions and 0 deletions
|
@ -506,6 +506,10 @@ int print_cpuinfo(void)
|
|||
if (ret)
|
||||
printf("Silicon: %s\n", name);
|
||||
|
||||
ret = soc_get_machine(soc, name, SOC_MAX_STR_SIZE);
|
||||
if (ret)
|
||||
printf("Chip: %s\n", name);
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue