diff options
author | Neil Armstrong <neil.armstrong@linaro.org> | 2024-01-24 13:47:25 +0100 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2024-01-30 09:35:51 +0100 |
commit | 076529725f16f07a5cb2d5feba25d62b5f5a5872 (patch) | |
tree | 79d778519614d3331e28678be1ae4619b9f199bb | |
parent | 6faba41927bdc8973b59678649ef83c564cc421e (diff) | |
download | u-boot-076529725f16f07a5cb2d5feba25d62b5f5a5872.zip u-boot-076529725f16f07a5cb2d5feba25d62b5f5a5872.tar.gz u-boot-076529725f16f07a5cb2d5feba25d62b5f5a5872.tar.bz2 |
ARM: meson: stop printing board model after sysinfo update
After the sysinfo update, Model is printed twice, remove
the now duplicate Model print from mach-meson/board-info.
Link: https://lore.kernel.org/r/20240124-u-boot-model-print-fix-v1-1-484960069623@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
-rw-r--r-- | arch/arm/mach-meson/board-info.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-meson/board-info.c b/arch/arm/mach-meson/board-info.c index 95a29da..d51d9b8 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; |