aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2022-06-20 18:36:44 +0200
committerMichal Simek <michal.simek@amd.com>2022-06-24 14:37:27 +0200
commit381ede9e3885b98ec4d93d51d7da538dfb3db076 (patch)
tree5548ce038c7b99194181f3436eb7e74b79228ceb
parenta1e618a1b925c43e70b2e72928f62f3d447fbf68 (diff)
downloadu-boot-381ede9e3885b98ec4d93d51d7da538dfb3db076.zip
u-boot-381ede9e3885b98ec4d93d51d7da538dfb3db076.tar.gz
u-boot-381ede9e3885b98ec4d93d51d7da538dfb3db076.tar.bz2
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>
-rw-r--r--board/xilinx/common/board.c4
1 files changed, 4 insertions, 0 deletions
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 @@ 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