From 5502ad1011dfff646120b383e60d233285cf6efa Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Fri, 26 Aug 2022 15:22:46 -0600 Subject: soc/amd/mendocino/psp_verstage/svc: Fix reset_system type The size of the input parameter to RESET_SYSTEM svc call is expected to be 4 bytes. Fix the reset_system type from enum to uint32_t. BUG=b:243476183 TEST=Build and boot to OS in Skyrim with PSP verstage. Trigger a system reset to ensure that the system is reset successfully. Change-Id: I6319a1dfc89602722c1c2b1c4ee744493ae8b33f Signed-off-by: Karthikeyan Ramasubramanian Reviewed-on: https://review.coreboot.org/c/coreboot/+/67117 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/soc/amd/mendocino/psp_verstage/svc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/amd/mendocino') diff --git a/src/soc/amd/mendocino/psp_verstage/svc.h b/src/soc/amd/mendocino/psp_verstage/svc.h index c73ac3d61f..941fa763a8 100644 --- a/src/soc/amd/mendocino/psp_verstage/svc.h +++ b/src/soc/amd/mendocino/psp_verstage/svc.h @@ -107,7 +107,7 @@ struct cmd_param_delay_in_micro_second { }; struct cmd_param_reset_system { - enum reset_type reset_type; + uint32_t reset_type; }; struct cmd_param_get_boot_mode { -- cgit v1.2.3