coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
variant.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef VARIANT_H
4 #define VARIANT_H
5 
6 #include <device/device.h>
7 #include <soc/romstage.h>
8 #include <stdint.h>
9 
10 int variant_smbios_data(struct device *dev, int *handle,
11  unsigned long *current);
12 void lan_init(void);
13 
14 unsigned int variant_get_spd_index(void);
15 bool variant_is_dual_channel(const unsigned int spd_index);
16 
17 #endif
int variant_smbios_data(struct device *dev, int *handle, unsigned long *current)
Definition: variant.c:7
bool variant_is_dual_channel(const unsigned int spd_index)
Definition: spd.c:22
void lan_init(void)
Definition: mainboard.c:8
unsigned int variant_get_spd_index(void)
Definition: spd.c:11
static const int spd_index[32]
Definition: memory.c:10
Definition: device.h:107