soc/intel/common: Simply code accessing scaling factors
[coreboot.git] / src / mainboard / google / gale / cdp.c
blob7d29df87f4bdaa99325c2eabeb2e3e20f98179ce
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <gpio.h>
4 #include <soc/cdp.h>
5 #include <soc/ebi2.h>
6 #include <soc/clock.h>
8 void ipq_configure_gpio(const gpio_func_data_t *gpio, unsigned int count)
10 int i;
12 for (i = 0; i < count; i++) {
13 gpio_tlmm_config(gpio->gpio, gpio->func, gpio->dir,
14 gpio->pull, gpio->drvstr, gpio->enable);
15 gpio++;