msm: secure_buffer: Add WLAN support
Add support for WLAN Adrastea hardware. Change-Id: I99868cf456c5b4641731dcea884b67627780477d Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
This commit is contained in:
parent
0b1cf97355
commit
5f181ee0dd
2 changed files with 7 additions and 1 deletions
|
@ -374,6 +374,10 @@ const char *msm_secure_vmid_to_string(int secure_vmid)
|
||||||
return "VMID_CP_SEC_DISPLAY";
|
return "VMID_CP_SEC_DISPLAY";
|
||||||
case VMID_CP_APP:
|
case VMID_CP_APP:
|
||||||
return "VMID_CP_APP";
|
return "VMID_CP_APP";
|
||||||
|
case VMID_WLAN:
|
||||||
|
return "VMID_WLAN";
|
||||||
|
case VMID_WLAN_CE:
|
||||||
|
return "VMID_WLAN_CE";
|
||||||
case VMID_INVAL:
|
case VMID_INVAL:
|
||||||
return "VMID_INVAL";
|
return "VMID_INVAL";
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015, The Linux Foundation. All rights reserved.
|
* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License version 2 and
|
||||||
|
@ -28,6 +28,8 @@
|
||||||
#define VMID_MSS_NONMSA 0x10
|
#define VMID_MSS_NONMSA 0x10
|
||||||
#define VMID_CP_SEC_DISPLAY 0x11
|
#define VMID_CP_SEC_DISPLAY 0x11
|
||||||
#define VMID_CP_APP 0x12
|
#define VMID_CP_APP 0x12
|
||||||
|
#define VMID_WLAN 0x18
|
||||||
|
#define VMID_WLAN_CE 0x19
|
||||||
#define VMID_INVAL -1
|
#define VMID_INVAL -1
|
||||||
/*
|
/*
|
||||||
* if you add a secure VMID here make sure you update
|
* if you add a secure VMID here make sure you update
|
||||||
|
|
Loading…
Add table
Reference in a new issue