blob: b5855eb40f295c24cb5c9c84658236669167f584 [file] [log] [blame]
Felix Heldc8272782020-12-05 01:39:28 +01001/* SPDX-License-Identifier: GPL-2.0-only */
2
3#include <amdblocks/chip.h>
4#include <device/device.h>
5#include "chip.h"
6
7const struct soc_amd_common_config *soc_get_common_config()
8{
9 /* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */
10 const struct soc_amd_cezanne_config *cfg = config_of_soc();
11 return &cfg->common_config;
12}