summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/picasso/config.c')
-rw-r--r--src/soc/amd/picasso/config.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/config.c b/src/soc/amd/picasso/config.c
new file mode 100644
index 0000000000..5d52e7affa
--- /dev/null
+++ b/src/soc/amd/picasso/config.c
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This file is part of the coreboot project. */
+
+#include <amdblocks/chip.h>
+#include <device/device.h>
+#include "chip.h"
+
+const struct soc_amd_common_config *soc_get_common_config()
+{
+ const struct soc_amd_picasso_config *cfg = config_of_soc();
+ return &cfg->common_config;
+}