From: Neil Armstrong <neil.armstrong@linaro.org>
To: Tom Rini <trini@konsulko.com>
Cc: u-boot-amlogic@groups.io, u-boot@lists.denx.de,
Neil Armstrong <neil.armstrong@linaro.org>
Subject: [PATCH] ARM: meson: stop printing board model after sysinfo update
Date: Wed, 24 Jan 2024 13:47:25 +0100 [thread overview]
Message-ID: <20240124-u-boot-model-print-fix-v1-1-484960069623@linaro.org> (raw)
After the sysinfo update, Model is printed twice, remove
the now duplicate Model print from mach-meson/board-info.
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
arch/arm/mach-meson/board-info.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/arch/arm/mach-meson/board-info.c b/arch/arm/mach-meson/board-info.c
index 95a29da072..d51d9b8f06 100644
--- a/arch/arm/mach-meson/board-info.c
+++ b/arch/arm/mach-meson/board-info.c
@@ -126,13 +126,6 @@ static const char *socinfo_to_soc_id(u32 socinfo)
return "Unknown";
}
-static void print_board_model(void)
-{
- const char *model;
- model = fdt_getprop(gd->fdt_blob, 0, "model", NULL);
- printf("Model: %s\n", model ? model : "Unknown");
-}
-
static unsigned int get_socinfo(void)
{
struct regmap *regmap;
@@ -172,9 +165,6 @@ int checkboard(void)
{
unsigned int socinfo;
- /* print board information */
- print_board_model();
-
socinfo = get_socinfo();
if (!socinfo)
return 0;
---
base-commit: 15e7927b5a2d33666af19879577bf0c30ab088fe
change-id: 20240124-u-boot-model-print-fix-cd2e95d67e21
Best regards,
--
Neil Armstrong <neil.armstrong@linaro.org>
next reply other threads:[~2024-01-24 12:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-24 12:47 Neil Armstrong [this message]
2024-01-30 8:36 ` [PATCH] ARM: meson: stop printing board model after sysinfo update Neil Armstrong
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=20240124-u-boot-model-print-fix-v1-1-484960069623@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=trini@konsulko.com \
--cc=u-boot-amlogic@groups.io \
--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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).