]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu:Add Phytium aarch64 cpupart
authorpanchenbo <panchenbo@uniontech.com>
Wed, 11 Aug 2021 05:00:08 +0000 (13:00 +0800)
committerpanchenbo <panchenbo@uniontech.com>
Wed, 11 Aug 2021 05:00:08 +0000 (13:00 +0800)
sys-utils/lscpu-arm.c

index c7128094cfd82ccad63e53324f413ef0605e11f3..7ae2850f7035d1e9c1ef4f74c3e53ee67c4579a0 100644 (file)
@@ -188,6 +188,10 @@ static const struct id_part hisi_part[] = {
     { -1, "unknown" },
 };
 
+static const struct id_part ft_part[] = {
+    { -1, "unknown" },
+};
+
 static const struct id_part unknown_part[] = {
     { -1, "unknown" },
 };
@@ -215,6 +219,7 @@ static const struct hw_impl hw_implementer[] = {
     { 0x61, unknown_part, "Apple" },
     { 0x66, faraday_part, "Faraday" },
     { 0x69, intel_part,   "Intel" },
+    { 0x70, ft_part,      "Phytium" },
     { 0xc0, unknown_part, "Ampere" },
     { -1,   unknown_part, "unknown" },
 };