coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
variants.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _BASEBOARD_VARIANTS_H_
4 #define _BASEBOARD_VARIANTS_H_
5 
6 #include <soc/gpio.h>
7 
12 };
13 #define NUM_POWER_PROFILES 3
14 
16 
17 /*
18  * The next set of functions return the gpio table and fill in the number of
19  * entries for each table.
20  */
21 const struct pad_config *variant_gpio_table(size_t *num);
22 const struct pad_config *variant_early_gpio_table(size_t *num);
23 
24 void devtree_update(void);
25 
26 #endif /* _BASEBOARD_VARIANTS_H_ */
const struct pad_config * variant_gpio_table(size_t *num)
Definition: gpio.c:406
const struct pad_config * variant_early_gpio_table(size_t *num)
Definition: gpio.c:204
void devtree_update(void)
Definition: devtree.c:11
cmos_power_profile
Definition: variants.h:8
@ PP_PERFORMANCE
Definition: variants.h:11
@ PP_POWER_SAVER
Definition: variants.h:9
@ PP_BALANCED
Definition: variants.h:10
enum cmos_power_profile get_power_profile(enum cmos_power_profile fallback)
Definition: mainboard.c:8