drivers/intel/fsp2_0: Split reset handling logic
FSP 2.0 spec only defines 2 reset request (COLD, WARM) exit codes. The rest 6 codes are platform-specific and may vary. Modify helper function so that only basic resets are handled and let SoC deal with the rest. Change-Id: Ib2f446e0449301407b135933a2088bcffc3ac32a Signed-off-by: Andrey Petrov <andrey.petrov@intel.com> Reviewed-on: https://review.coreboot.org/15730 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
This commit is contained in:
committed by
Aaron Durbin
parent
1b1d4b7ae6
commit
3a94a3ba5b
@ -412,8 +412,7 @@ static void fsp_notify_dummy(void *arg)
|
||||
|
||||
if ((ret = fsp_notify(ph)) != FSP_SUCCESS) {
|
||||
printk(BIOS_CRIT, "FspNotify failed, ret = %x!\n", ret);
|
||||
if (fsp_reset_requested(ret))
|
||||
fsp_handle_reset(ret);
|
||||
fsp_handle_reset(ret);
|
||||
}
|
||||
/* Call END_OF_FIRMWARE Notify after READY_TO_BOOT Notify */
|
||||
if (ph == READY_TO_BOOT) {
|
||||
|
Reference in New Issue
Block a user