Mock: Add hard reset to PRL mock
Add the ability to detect hard reset send through the PRL mock.  Note
that a hard reset is a transmit type, not a control or data message.
BRANCH=None
TEST=make -j buildall
@@ -54,7 +54,11 @@ void prl_end_ams(int port)
{}
void prl_execute_hard_reset(int port)
-{}
+{
+ mock_prl_port[port].last_ctrl_msg = 0;
+ mock_prl_port[port].last_data_msg = 0;
+ mock_prl_port[port].last_tx_type = TCPC_TX_HARD_RESET;
+}
enum pd_rev_type prl_get_rev(int port, enum tcpm_transmit_type partner)
{
