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/cnl_memcfg_init.h>
7 #include <soc/gpio.h>
8 
9 /* The next set of functions return the gpio table and fill in the number of
10  * entries for each table. */
11 
12 const struct pad_config *variant_gpio_table(size_t *num);
13 const struct pad_config *variant_early_gpio_table(size_t *num);
14 
15 /* Return memory configuration structure. */
16 const struct cnl_mb_cfg *variant_memcfg_config(void);
17 
18 /* Seed the NHLT tables with the board specific information. */
19 struct nhlt;
20 void variant_nhlt_init(struct nhlt *nhlt);
21 
22 #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
const struct mb_cfg * variant_memcfg_config(void)
Definition: memory.c:46
void variant_nhlt_init(struct nhlt *nhlt)
Definition: nhlt.c:7
Definition: nhlt.h:287