soc/amd/sabrina: Do not pass SHA operation mode

Currently only SHA_GENERIC is used and does not need to be passed.

BUG=b:217414563
TEST=Build and boot to OS in Skyrim with PSP and x86 verstage.

Change-Id: Id705b1361fffaf940c51515e7f77d7fb0677fc4a
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66133
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Karthikeyan Ramasubramanian 2022-07-25 13:35:14 -06:00 committed by Paul Fagerburg
parent 573fa36c3a
commit b5ff9b9f3f
2 changed files with 1 additions and 2 deletions

View File

@ -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 *)&param, retval);
return retval;
}

View File

@ -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 {