commit | 62c500741a94d88b7b93bd4e68dd9a13d7b87eea | [log] [tgz] |
---|---|---|
author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | Mon Jun 20 18:36:44 2022 +0200 |
committer | Michal Simek <michal.simek@amd.com> | Fri Jun 24 14:37:27 2022 +0200 |
tree | 5548ce038c7b99194181f3436eb7e74b79228ceb | |
parent | 3ff3bd4ed52222e47611935954ea8465a48c752b [diff] |
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>
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c index 629a6ee..402fa77 100644 --- a/board/xilinx/common/board.c +++ b/board/xilinx/common/board.c
@@ -506,6 +506,10 @@ 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