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:
parent
573fa36c3a
commit
b5ff9b9f3f
|
@ -166,8 +166,8 @@ uint32_t svc_crypto_sha(struct sha_generic_data *sha_op, enum sha_operation_mode
|
||||||
uint32_t retval = 0;
|
uint32_t retval = 0;
|
||||||
struct cmd_param_sha param = {
|
struct cmd_param_sha param = {
|
||||||
.ptr_sha_op = sha_op,
|
.ptr_sha_op = sha_op,
|
||||||
.sha_mode = sha_mode,
|
|
||||||
};
|
};
|
||||||
|
assert(sha_mode == SHA_GENERIC);
|
||||||
SVC_CALL2(SVC_VERSTAGE_CMD, CMD_SHA, (void *)¶m, retval);
|
SVC_CALL2(SVC_VERSTAGE_CMD, CMD_SHA, (void *)¶m, retval);
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,7 +61,6 @@
|
||||||
|
|
||||||
struct cmd_param_sha {
|
struct cmd_param_sha {
|
||||||
struct sha_generic_data *ptr_sha_op;
|
struct sha_generic_data *ptr_sha_op;
|
||||||
enum sha_operation_mode sha_mode;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct cmd_param_debug {
|
struct cmd_param_debug {
|
||||||
|
|
Loading…
Reference in New Issue