From: Detlev Casanova <detlev.casanova@collabora.com>
To: u-boot@lists.denx.de
Cc: Marek Vasut <marek.vasut+renesas@mailbox.org>,
Hai Pham <hai.pham.ud@renesas.com>,
Tam Nguyen <tam.nguyen.xa@renesas.com>,
Detlev Casanova <detlev.casanova@collabora.com>
Subject: [PATCH v1 1/4] sysinfo: Add IDs for board id and revision
Date: Fri, 16 Jun 2023 11:21:19 -0400 [thread overview]
Message-ID: <20230616152122.588168-2-detlev.casanova@collabora.com> (raw)
In-Reply-To: <20230616152122.588168-1-detlev.casanova@collabora.com>
These IDs will be used by the sysinfo command. The new IDs are:
* SYSINFO_ID_BOARD_ID: The board ID as an integer
* SYSINFO_ID_BOARD_REVISION: The board revision as a string
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
include/sysinfo.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/sysinfo.h b/include/sysinfo.h
index b140d742e93..e2a7b10b6f6 100644
--- a/include/sysinfo.h
+++ b/include/sysinfo.h
@@ -47,6 +47,10 @@ enum sysinfo_id {
/* For show_board_info() */
SYSINFO_ID_BOARD_MODEL,
+ /* For sysinfo command */
+ SYSINFO_ID_BOARD_ID,
+ SYSINFO_ID_BOARD_REVISION,
+
/* First value available for downstream/board used */
SYSINFO_ID_USER = 0x1000,
};
--
2.39.3
next prev parent reply other threads:[~2023-06-16 15:21 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-16 15:21 [PATCH v1 0/4] Introduce the sysinfo command Detlev Casanova
2023-06-16 15:21 ` Detlev Casanova [this message]
2023-06-16 15:21 ` [PATCH v1 2/4] cmd: Add a " Detlev Casanova
2023-06-17 0:41 ` Marek Vasut
2023-06-16 15:21 ` [PATCH v1 3/4] sysinfo: rcar3: Implement BOARD_ID and BOARD_REVISION Detlev Casanova
2023-06-17 0:43 ` Marek Vasut
2023-06-19 14:42 ` Detlev Casanova
2023-06-19 16:11 ` Marek Vasut
2023-06-19 18:27 ` Detlev Casanova
2023-06-19 21:54 ` Marek Vasut
2023-06-20 17:49 ` Detlev Casanova
2023-06-20 20:03 ` Marek Vasut
2023-06-20 20:40 ` Detlev Casanova
2023-06-21 3:49 ` Marek Vasut
2023-06-16 15:21 ` [PATCH v1 4/4] configs: rcar3: Add shell function to select the linux devicetree Detlev Casanova
2023-06-17 0:45 ` Marek Vasut
2023-06-19 14:45 ` Detlev Casanova
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=20230616152122.588168-2-detlev.casanova@collabora.com \
--to=detlev.casanova@collabora.com \
--cc=hai.pham.ud@renesas.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=tam.nguyen.xa@renesas.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox