]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu-arm: add Faraday And Brahma cores
authorRiku Voipio <riku.voipio@iki.fi>
Tue, 13 Feb 2018 13:22:54 +0000 (15:22 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 13 Feb 2018 13:25:20 +0000 (15:25 +0200)
Add a handful of more rare cores. Broadcom Brahma cores are
used in Access Points and Faraday was used on some Network
Storage Devices.

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
sys-utils/lscpu-arm.c

index cc3514a0d10e51e2fcb5f4ecac0b721e4f4cef7d..f3a746a6205c8d95f23485ec6d0d82db4e96f5dc 100644 (file)
@@ -77,6 +77,8 @@ static const struct id_part arm_part[] = {
 };
 
 static const struct id_part brcm_part[] = {
+    { 0x0f, "Brahma B15" },
+    { 0x100, "Brahma B53" },
     { 0x516, "ThunderX2" },
     { -1, "unknown" },
 };
@@ -119,7 +121,6 @@ static const struct id_part qcom_part[] = {
 static const struct id_part samsung_part[] = {
     { 0x001, "exynos-m1" },
     { -1, "unknown" },
-
 };
 
 static const struct id_part nvidia_part[] = {
@@ -133,7 +134,12 @@ static const struct id_part marvell_part[] = {
     { 0x581, "PJ4/PJ4b" },
     { 0x584, "PJ4B-MP" },
     { -1, "unknown" },
+};
 
+static const struct id_part faraday_part[] = {
+    { 0x526, "FA526" },
+    { 0x626, "FA626" },
+    { -1, "unknown" },
 };
 
 static const struct id_part intel_part[] = {
@@ -181,6 +187,7 @@ static const struct hw_impl hw_implementer[] = {
     { 0x51, qcom_part,    "Qualcomm" },
     { 0x53, samsung_part, "Samsung" },
     { 0x56, marvell_part, "Marvell" },
+    { 0x66, faraday_part, "Faraday" },
     { 0x69, intel_part,   "Intel" },
     { -1,   unknown_part, "unknown" },
 };