diff options
Diffstat (limited to 'src/soc/amd/sabrina/config.c')
-rw-r--r-- | src/soc/amd/sabrina/config.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/soc/amd/sabrina/config.c b/src/soc/amd/sabrina/config.c new file mode 100644 index 0000000000..ef1d5561d3 --- /dev/null +++ b/src/soc/amd/sabrina/config.c @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +/* TODO: Check if this is still correct */ + +#include <amdblocks/chip.h> +#include <device/device.h> +#include "chip.h" + +const struct soc_amd_common_config *soc_get_common_config() +{ + /* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */ + const struct soc_amd_sabrina_config *cfg = config_of_soc(); + return &cfg->common_config; +} |