libpayload: configs: Add new config.featuretest to broaden CI
[coreboot.git] / src / mainboard / intel / shadowmountain / mainboard.c
blobf035aa9b535fe409dbe168dd9dc7ee314186ac16
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <baseboard/gpio.h>
4 #include <baseboard/variants.h>
5 #include <device/device.h>
6 #include <ec/ec.h>
7 #include <soc/gpio.h>
9 static void mainboard_init(void *chip_info)
11 const struct pad_config *base_pads;
12 const struct pad_config *override_pads;
13 size_t base_num, override_num;
15 base_pads = variant_base_gpio_table(&base_num);
16 override_pads = variant_override_gpio_table(&override_num);
18 gpio_configure_pads_with_override(base_pads, base_num, override_pads, override_num);
20 mainboard_ec_init();
23 struct chip_operations mainboard_ops = {
24 .init = mainboard_init,