ARM: uniphier: remove part number info from the boot log
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 13 Jul 2017 11:32:17 +0000 (20:32 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 26 Jul 2017 13:27:15 +0000 (22:27 +0900)
As is often the case with SoC development, slightly different
products (i.e. different part number) are developed based on the
same silicon-die.  Such fine grained information is unmaintainable.

Also, "SoC:" is a better fit that "CPU:".

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/cpu-info.c

index 94dce7c90d8a9b36037ea1d6f8042f297ab8494d..2ce73c5af8889ed5ce4398d39829e3fb24761309 100644 (file)
@@ -20,37 +20,37 @@ int print_cpuinfo(void)
        model = uniphier_get_soc_model();
        rev = uniphier_get_soc_revision();
 
-       puts("CPU:   ");
+       puts("SoC:   ");
 
        switch (id) {
        case UNIPHIER_SLD3_ID:
-               puts("sLD3 (MN2WS0220)");
+               puts("sLD3");
                required_model = 2;
                break;
        case UNIPHIER_LD4_ID:
-               puts("LD4 (MN2WS0250)");
+               puts("LD4");
                required_rev = 2;
                break;
        case UNIPHIER_PRO4_ID:
-               puts("Pro4 (MN2WS0230)");
+               puts("Pro4");
                break;
        case UNIPHIER_SLD8_ID:
-               puts("sLD8 (MN2WS0270)");
+               puts("sLD8");
                break;
        case UNIPHIER_PRO5_ID:
-               puts("Pro5 (MN2WS0300)");
+               puts("Pro5");
                break;
        case UNIPHIER_PXS2_ID:
-               puts("PXs2 (MN2WS0310)");
+               puts("PXs2");
                break;
        case UNIPHIER_LD6B_ID:
-               puts("LD6b (MN2WS0320)");
+               puts("LD6b");
                break;
        case UNIPHIER_LD11_ID:
-               puts("LD11 (SC1405AP1)");
+               puts("LD11");
                break;
        case UNIPHIER_LD20_ID:
-               puts("LD20 (SC1401AJ1)");
+               puts("LD20");
                break;
        case UNIPHIER_PXS3_ID:
                puts("PXs3");
@@ -60,7 +60,7 @@ int print_cpuinfo(void)
                return -ENOTSUPP;
        }
 
-       printf(" model %d (revision %d)\n", model, rev);
+       printf(" (model %d, revision %d)\n", model, rev);
 
        if (model < required_model) {
                printf("Only model %d or newer is supported.\n",