soc: soc_ti_k3: identify j7200 SR2.0 SoCs
[platform/kernel/u-boot.git] / drivers / soc / soc_ti_k3.c
index 4234414..b1e7c4a 100644 (file)
@@ -64,8 +64,8 @@ static char *j721e_rev_string_map[] = {
        "1.0", "1.1",
 };
 
-static char *am65x_rev_string_map[] = {
-       "1.0", "2.0",
+static char *typical_rev_string_map[] = {
+       "1.0", "2.0", "3.0",
 };
 
 static const char *get_rev_string(u32 idreg)
@@ -82,16 +82,10 @@ static const char *get_rev_string(u32 idreg)
                        goto bail;
                return j721e_rev_string_map[rev];
 
-       case AM65X:
-               if (rev > ARRAY_SIZE(am65x_rev_string_map))
-                       goto bail;
-               return am65x_rev_string_map[rev];
-
-       case AM64X:
-       case J7200:
        default:
-               if (!rev)
-                       return "1.0";
+               if (rev > ARRAY_SIZE(typical_rev_string_map))
+                       goto bail;
+               return typical_rev_string_map[rev];
        };
 
 bail: