summaryrefslogtreecommitdiff
path: root/baseboard/herobrine/baseboard.c
blob: 41d40dd7ae2d30567d947d61f5c4151aeb02bd8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Copyright 2021 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.
 */

/* Herobrine baseboard-specific configuration */

#include "i2c.h"

int board_allow_i2c_passthru(const struct i2c_cmd_desc_t *cmd_desc)
{
	return (cmd_desc->port == I2C_PORT_VIRTUAL_BATTERY);
}