mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / siemens / chili / mainboard.c
blobc1d1a1d94167dc6a8032db2e35b645aba120a5f0
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/device.h>
4 #include <mainboard/ec.h>
6 static void mainboard_dev_init(struct device *dev)
8 const bool enable_usb =
9 CONFIG(BOARD_SIEMENS_CHILI_BASE) || CONFIG(SIEMENS_CHILI_DEBUG_USB);
10 ec_enable_devices(enable_usb);
13 static void mainboard_enable(struct device *dev)
15 dev->ops->init = mainboard_dev_init;
18 struct chip_operations mainboard_ops = {
19 .enable_dev = mainboard_enable,