blob: 88b4362f8e07c56c52fb92b1e875ce0566622b29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/* Copyright 2019 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* Stubs needed for fuzz testing the USB TCPMv2 state machines.
*/
#define HIDE_EC_STDLIB
#include "usb_pd.h"
#include "charge_manager.h"
const struct svdm_response svdm_rsp = {
.identity = NULL,
.svids = NULL,
.modes = NULL,
};
int pd_check_vconn_swap(int port)
{
return 1;
}
__override void pd_try_vconn_src(int port)
{
}
|