aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arm/linux/chipset.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/arm/linux/chipset.c b/src/arm/linux/chipset.c
index 9f306c2..c322e89 100644
--- a/src/arm/linux/chipset.c
+++ b/src/arm/linux/chipset.c
@@ -493,7 +493,7 @@ static bool match_and_parse_smdk(
}
/**
- * Tries to match /MTK?\d{4}[A-Z]*$/ signature for MediaTek MT chipsets.
+ * Tries to match /MTK?\d{4}[A-Z/]*$/ signature for MediaTek MT chipsets.
* If match successful, extracts model information into \p chipset argument.
*
* @param start - start of the platform identifier (/proc/cpuinfo Hardware string, ro.product.board, ro.board.platform,
@@ -1367,6 +1367,11 @@ static const struct huawei_map_entry huawei_platform_map[] = {
.model = 970,
},
{
+ /* "BKL" -> Kirin 970 */
+ .platform = UINT32_C(0x004C4B42), /* "\0LKB" = reverse("BKL\0") */
+ .model = 970,
+ },
+ {
/* "DUK" -> Kirin 960 */
.platform = UINT32_C(0x004B5544), /* "\0KUD" = reverse("DUK\0") */
.model = 960,