summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom/socinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/soc/qcom/socinfo.c')
-rw-r--r--drivers/soc/qcom/socinfo.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index 74dbd4d42272..7604affe63a8 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009-2017, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2009-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -570,6 +570,9 @@ static struct msm_soc_info cpu_of_id[] = {
[345] = {MSM_CPU_636, "SDM636"},
[346] = {MSM_CPU_636, "SDA636"},
+ /* 455 ID */
+ [385] = {MSM_CPU_455, "SDM455"},
+
/* Uninitialized IDs are not known to run Linux.
MSM_CPU_UNKNOWN is set to 0 to ensure these IDs are
considered as unknown CPU. */
@@ -1277,6 +1280,10 @@ static void * __init setup_dummy_socinfo(void)
dummy_socinfo.id = 324;
strlcpy(dummy_socinfo.build_id, "sda660 - ",
sizeof(dummy_socinfo.build_id));
+ } else if (early_machine_is_sdm455()) {
+ dummy_socinfo.id = 385;
+ strlcpy(dummy_socinfo.build_id, "sdm455 - ",
+ sizeof(dummy_socinfo.build_id));
} else if (early_machine_is_sdm658()) {
dummy_socinfo.id = 325;
strlcpy(dummy_socinfo.build_id, "sdm658 - ",