coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
variant.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #include <baseboard/variants.h>
4 #include <device/device.h>
5 #include <soc/pci_devs.h>
7 
9 {
10  struct soc_amd_picasso_config *cfg;
11 
12  cfg = config_of_soc();
13 
14  /*
15  * Enable eMMC if eMMC bit is set in FW_CONFIG or device is unprovisioned.
16  */
19 }
void variant_devtree_update(void)
Definition: variant.c:53
#define config_of_soc()
Definition: device.h:394
int boot_is_factory_unprovisioned(void)
Definition: sku_id.c:14
struct soc_amd_picasso_config::@417 emmc_config
enum soc_amd_picasso_config::@417::@422 timing
int variant_has_emmc(void)
Definition: helpers.c:103