summaryrefslogtreecommitdiff
path: root/src/soc/amd/phoenix/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/phoenix/config.c')
-rw-r--r--src/soc/amd/phoenix/config.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/soc/amd/phoenix/config.c b/src/soc/amd/phoenix/config.c
new file mode 100644
index 0000000000..b25298750a
--- /dev/null
+++ b/src/soc/amd/phoenix/config.c
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <amdblocks/chip.h>
+#include <device/device.h>
+#include "chip.h"
+
+const struct soc_amd_common_config *soc_get_common_config(void)
+{
+ const struct soc_amd_phoenix_config *cfg = config_of_soc();
+ return &cfg->common_config;
+}