coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chip.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef EC_GOOGLE_CHROMEEC_CHIP_H
4
#define EC_GOOGLE_CHROMEEC_CHIP_H
5
6
#include <
device/device.h
>
7
#include <
stddef.h
>
8
9
#define MAX_TYPEC_PORTS 4
10
11
struct
ec_google_chromeec_config
{
12
/* Pointer to PMC Mux connector for each Type-C port */
13
DEVTREE_CONST
struct
device
*
mux_conn
[
MAX_TYPEC_PORTS
];
14
};
15
16
#endif
/* EC_GOOGLE_CHROMEEC_CHIP_H */
MAX_TYPEC_PORTS
#define MAX_TYPEC_PORTS
Definition:
chip.h:9
device.h
stddef.h
DEVTREE_CONST
#define DEVTREE_CONST
Definition:
stddef.h:30
device
Definition:
device.h:107
ec_google_chromeec_config
Definition:
chip.h:11
ec_google_chromeec_config::mux_conn
DEVTREE_CONST struct device * mux_conn[MAX_TYPEC_PORTS]
Definition:
chip.h:13
src
ec
google
chromeec
chip.h
Generated by
1.9.1