blob: 71ac1fe62bcb479ebf652653de817f12ddcdbc8c (
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;
}
void charge_manager_set_ceil(int port, enum ceil_requestor requestor, int ceil)
{
}
|