All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier-oss@weidmueller.com>
To: u-boot@lists.denx.de, Michal Simek <michal.simek@amd.com>
Cc: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Subject: [PATCH v2 09/15] xilinx: cpuinfo: Print soc machine
Date: Mon, 20 Jun 2022 18:36:44 +0200	[thread overview]
Message-ID: <20220620163650.18756-9-stefan.herbrechtsmeier-oss@weidmueller.com> (raw)
In-Reply-To: <20220620163650.18756-1-stefan.herbrechtsmeier-oss@weidmueller.com>

From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>

Print the soc machine in the print_cpuinfo function.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
---

(no changes since v1)

 board/xilinx/common/board.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c
index 629a6ee036..402fa77006 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
-- 
2.30.2


  parent reply	other threads:[~2022-06-20 16:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20 16:36 [PATCH v2 01/15] firmware: zynqmp: Check if rx channel dev pointer is valid Stefan Herbrechtsmeier
2022-06-20 16:36 ` [PATCH v2 02/15] firmware: zynqmp: Probe driver before use Stefan Herbrechtsmeier
2022-06-20 16:36 ` [PATCH v2 03/15] xilinx: zynqmp: Replace strncat with strlcat Stefan Herbrechtsmeier
2022-06-20 16:36 ` [PATCH v2 04/15] xilinx: zynqmp: Add macro for device type mask Stefan Herbrechtsmeier
2022-06-20 16:36 ` [PATCH v2 05/15] xilinx: zynqmp: Reuse shift macros to define masks Stefan Herbrechtsmeier
2022-06-20 16:36 ` [PATCH v2 06/15] xilinx: zynqmp: Merge device lists Stefan Herbrechtsmeier
2022-06-20 16:36 ` [PATCH v2 07/15] soc: xilinx: zynqmp: Remove redundant checks for zynqmp_mmio_read Stefan Herbrechtsmeier
2022-06-20 16:36 ` [PATCH v2 08/15] soc: xilinx: zynqmp: Add machine identification support Stefan Herbrechtsmeier
2022-06-20 16:36 ` Stefan Herbrechtsmeier [this message]
2022-06-20 16:36 ` [PATCH v2 10/15] xilinx: common: Separate display cpu info function Stefan Herbrechtsmeier
2022-06-20 16:36 ` [PATCH v2 11/15] xilinx: zynqmp: make spi flash support optional Stefan Herbrechtsmeier
2022-06-20 16:36 ` [PATCH v2 12/15] tools: zynqmp_psu_init_minimize: Remove low level uart settings Stefan Herbrechtsmeier
2022-06-20 16:36 ` [PATCH v2 13/15] tools: zynqmp_psu_init_minimize: Use CR instead of LF Stefan Herbrechtsmeier
2022-06-20 16:36 ` [PATCH v2 14/15] tools: zynqmp_psu_init_minimize: Move helper functions below header includes Stefan Herbrechtsmeier
2022-06-20 16:36 ` [PATCH v2 15/15] arm64: zynqmp: " Stefan Herbrechtsmeier
2022-06-24 12:42 ` [PATCH v2 01/15] firmware: zynqmp: Check if rx channel dev pointer is valid Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220620163650.18756-9-stefan.herbrechtsmeier-oss@weidmueller.com \
    --to=stefan.herbrechtsmeier-oss@weidmueller.com \
    --cc=michal.simek@amd.com \
    --cc=stefan.herbrechtsmeier@weidmueller.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.