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
appropriate action.

TEST=Boot to ChromeOS. Force a TCPC FW update and ensure that the EC
reboots to RO after a successful TCPC update.

Cq-Depend: chromium:1627302
Change-Id: I519e72e33a372763ef7d7073a2a615acdcb011fe
Signed-off-by: Karthikeyan Ramasubramanian <>
Tested-by: Karthikeyan Ramasubramanian <>
Commit-Ready: Karthikeyan Ramasubramanian <>
Legacy-Commit-Queue: Commit Bot <>
Reviewed-by: Julius Werner <>
3 files changed