]> 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)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Aug 2021 10:59:42 +0000 (12:59 +0200)
sys-utils/lscpu-arm.c

index 75dd17d61406b42e60a24d7dcbc9d23d5806070a..96aab4f6d7be7a4c9cd2bf647502fb5fa8819e3c 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" },
 };