drivers/ec: Return VBERROR_SUCCESS on successful TCPC FW update
TCPC chips request EC Reboot to RO under 2 different situation:
1) to unlock the concerned remote_bus tunnel, if already in locked state
2) to get reset after the FW update is applied successfully.
Returning the same error code in these different situation is ambiguos.
Update the TCPC chips drivers to return VBERROR_SUCCESS on successful FW
update, so that vboot can differentiate the situation and take
TEST=Boot to ChromeOS. Force a TCPC FW update and ensure that the EC
reboots to RO after a successful TCPC update.
Signed-off-by: Karthikeyan Ramasubramanian <firstname.lastname@example.org>
Tested-by: Karthikeyan Ramasubramanian <email@example.com>
Commit-Ready: Karthikeyan Ramasubramanian <firstname.lastname@example.org>
Legacy-Commit-Queue: Commit Bot <email@example.com>
Reviewed-by: Julius Werner <firstname.lastname@example.org>
3 files changed