summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2022-08-26 15:22:46 -0600
committerFelix Held <felix-coreboot@felixheld.de>2022-08-29 14:24:56 +0000
commit5502ad1011dfff646120b383e60d233285cf6efa (patch)
treef3bfcc13772235283d5e82a757ff5783620d1477 /src
parent49fc4e3e434afdcdc543b34cc60c9462ec08facf (diff)
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 <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67117 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/mendocino/psp_verstage/svc.h2
1 files changed, 1 insertions, 1 deletions
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 {