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
#include <
amdblocks/chip.h
>
4
#include <
device/device.h
>
5
#include "
chip.h
"
6
7
const
struct
soc_amd_common_config
*
soc_get_common_config
(
void
)
8
{
9
/* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */
10
const
struct
soc_amd_picasso_config
*cfg =
config_of_soc
();
11
return
&cfg->
common_config
;
12
}
soc_get_common_config
const struct soc_amd_common_config * soc_get_common_config(void)
Definition:
config.c:7
device.h
config_of_soc
#define config_of_soc()
Definition:
device.h:394
chip.h
soc_amd_common_config
Definition:
chip.h:11
soc_amd_picasso_config
Definition:
chip.h:97
soc_amd_picasso_config::common_config
struct soc_amd_common_config common_config
Definition:
chip.h:98
chip.h
src
soc
amd
picasso
config.c
Generated by
1.9.1