summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/config.c
blob: 577d7b29a8296461913fd4961a4f9c77f8e7c9b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* 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()
{
	/* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */
	const struct soc_amd_picasso_config *cfg = config_of_soc();
	return &cfg->common_config;
}