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
@ -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…
Reference in New Issue
Block a user