aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorBryan Buckley <bryan.buckley@ti.com>2012-05-21 15:31:21 -0500
committerRoman Shaposhnikov <x0166637@ti.com>2012-08-24 20:34:15 +0300
commitd2adc1d235fd28df3b7987a43efdfec8d5b5ebb5 (patch)
treed1fb9617d995ea934e0c6d1897fb46e0394b17de /security
parente73ccbe4a956a43dac6d5d7852ab5d7be8b45cee (diff)
downloadkernel_samsung_espresso10-d2adc1d235fd28df3b7987a43efdfec8d5b5ebb5.zip
kernel_samsung_espresso10-d2adc1d235fd28df3b7987a43efdfec8d5b5ebb5.tar.gz
kernel_samsung_espresso10-d2adc1d235fd28df3b7987a43efdfec8d5b5ebb5.tar.bz2
SMC: Update UUID to match generic, common secure playback driver
Remove WVDRM prepends as this UUID is now generic. Change-Id: I8b890d3f8227523635a394c9b02d409d597def8c Signed-off-by: Bryan Buckley <bryan.buckley@ti.com>
Diffstat (limited to 'security')
-rw-r--r--security/smc/rproc_drm.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/security/smc/rproc_drm.c b/security/smc/rproc_drm.c
index b86b0b8..5ffeb8f 100644
--- a/security/smc/rproc_drm.c
+++ b/security/smc/rproc_drm.c
@@ -22,13 +22,13 @@
#include "tee_client_api.h"
#include "tf_defs.h"
-/* 7B1DD682-1077-4939-9755-B6192C5CC5FD */
-#define WVDRM_UUID {0x7B1DD682, 0x1077, 0x4939, \
- {0x97, 0x55, 0xB6, 0x19, 0x2C, 0x5C, 0xC5, 0xFD} }
+/*C2537CC3-36F0-48D9-820E-559601478029*/
+#define COMMON_SECURE_DRIVER_UUID {0xC2537CC3, 0x36F0, 0x48D9, \
+ {0x82, 0x0E, 0x55, 0x96, 0x01, 0x47, 0x80, 0x29} }
-#define WVDRM_ENTER_SECURE_PLAYBACK 0x00003000
+#define ENTER_SECURE_PLAYBACK 0x00003000
-#define WVDRM_EXIT_SECURE_PLAYBACK 0x00003001
+#define EXIT_SECURE_PLAYBACK 0x00003001
enum rproc_drm_s_state {
RPROC_DRM_SECURE_LEAVE,
@@ -40,7 +40,7 @@ static enum rproc_drm_s_state s_state;
static TEEC_Result rproc_drm_initialize(TEEC_Context *teec_context,
TEEC_Session *teec_session)
{
- static const TEEC_UUID drm_uuid = WVDRM_UUID;
+ static const TEEC_UUID drm_uuid = COMMON_SECURE_DRIVER_UUID;
static u32 drm_gid = 1019;
TEEC_Result result;
@@ -79,8 +79,8 @@ static TEEC_Result _rproc_drm_invoke_secure_service(bool enable)
operation.paramTypes = TEEC_PARAM_TYPES(TEEC_NONE, TEEC_NONE,
TEEC_NONE, TEEC_NONE);
- command = (enable ? WVDRM_ENTER_SECURE_PLAYBACK :
- WVDRM_EXIT_SECURE_PLAYBACK);
+ command = (enable ? ENTER_SECURE_PLAYBACK :
+ EXIT_SECURE_PLAYBACK);
result = TEEC_InvokeCommand(&teec_session, command, &operation, NULL);
rproc_drm_finalize(&teec_context, &teec_session);
out: