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 
6 {
7  struct soc_amd_picasso_config *cfg;
8 
9  cfg = config_of_soc();
10 
11  /*
12  * Enable eMMC if eMMC bit is set in FW_CONFIG or device is unprovisioned.
13  */
16 }
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