]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: meson: stop printing board model after sysinfo update
authorNeil Armstrong <neil.armstrong@linaro.org>
Wed, 24 Jan 2024 12:47:25 +0000 (13:47 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 30 Jan 2024 08:35:51 +0000 (09:35 +0100)
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>
arch/arm/mach-meson/board-info.c

index 95a29da072296f28b0aceeaf533d1ada7eb8b255..d51d9b8f064512aa5445f5bb47c5d6d53a095dcc 100644 (file)
@@ -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;