coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
config.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 /* TODO: Check if this is still correct */
4 
5 #include <amdblocks/chip.h>
6 #include <device/device.h>
7 #include "chip.h"
8 
10 {
11  /* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */
12  const struct soc_amd_sabrina_config *cfg = config_of_soc();
13  return &cfg->common_config;
14 }
const struct soc_amd_common_config * soc_get_common_config(void)
Definition: config.c:7
#define config_of_soc()
Definition: device.h:394
struct soc_amd_common_config common_config
Definition: chip.h:18