diff options
Diffstat (limited to 'src/soc/amd/mendocino/config.c')
-rw-r--r-- | src/soc/amd/mendocino/config.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/soc/amd/mendocino/config.c b/src/soc/amd/mendocino/config.c new file mode 100644 index 0000000000..9030ed0dab --- /dev/null +++ b/src/soc/amd/mendocino/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(void) +{ + /* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */ + const struct soc_amd_mendocino_config *cfg = config_of_soc(); + return &cfg->common_config; +} |