Skip to content

Commit 64a026d

Browse files
Kathiravan Thirumoorthyandersson
authored andcommitted
soc: qcom: socinfo: Add support to retrieve TME build details
Add support to retrieve Trust Management Engine (TME) image details from SMEM, which is present in the IPQ5424 SoC. Signed-off-by: Kathiravan Thirumoorthy <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 07a4688 commit 64a026d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/soc/qcom/socinfo.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
#define SMEM_IMAGE_TABLE_CDSP1_INDEX 19
4949
#define SMEM_IMAGE_TABLE_GPDSP_INDEX 20
5050
#define SMEM_IMAGE_TABLE_GPDSP1_INDEX 21
51+
#define SMEM_IMAGE_TABLE_TME_INDEX 28
5152
#define SMEM_IMAGE_VERSION_TABLE 469
5253

5354
/*
@@ -67,6 +68,7 @@ static const char *const socinfo_image_names[] = {
6768
[SMEM_IMAGE_TABLE_CDSP1_INDEX] = "cdsp1",
6869
[SMEM_IMAGE_TABLE_GPDSP_INDEX] = "gpdsp",
6970
[SMEM_IMAGE_TABLE_GPDSP1_INDEX] = "gpdsp1",
71+
[SMEM_IMAGE_TABLE_TME_INDEX] = "tme",
7072
};
7173

7274
static const char *const pmic_models[] = {

0 commit comments

Comments
 (0)