diff options
Diffstat (limited to 'src/soc/amd/sabrina')
-rw-r--r-- | src/soc/amd/sabrina/psp_verstage/svc.c | 2 | ||||
-rw-r--r-- | src/soc/amd/sabrina/psp_verstage/svc.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/amd/sabrina/psp_verstage/svc.c b/src/soc/amd/sabrina/psp_verstage/svc.c index 370481c018..021b344a57 100644 --- a/src/soc/amd/sabrina/psp_verstage/svc.c +++ b/src/soc/amd/sabrina/psp_verstage/svc.c @@ -166,8 +166,8 @@ uint32_t svc_crypto_sha(struct sha_generic_data *sha_op, enum sha_operation_mode uint32_t retval = 0; struct cmd_param_sha param = { .ptr_sha_op = sha_op, - .sha_mode = sha_mode, }; + assert(sha_mode == SHA_GENERIC); SVC_CALL2(SVC_VERSTAGE_CMD, CMD_SHA, (void *)¶m, retval); return retval; } diff --git a/src/soc/amd/sabrina/psp_verstage/svc.h b/src/soc/amd/sabrina/psp_verstage/svc.h index 40dbc3e00d..c73ac3d61f 100644 --- a/src/soc/amd/sabrina/psp_verstage/svc.h +++ b/src/soc/amd/sabrina/psp_verstage/svc.h @@ -61,7 +61,6 @@ struct cmd_param_sha { struct sha_generic_data *ptr_sha_op; - enum sha_operation_mode sha_mode; }; struct cmd_param_debug { |