summaryrefslogtreecommitdiff
path: root/src/soc/amd/sabrina/config.c
blob: 187f1664bc8ce2c8560824d3a73565a51aec404c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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_sabrina_config *cfg = config_of_soc();
	return &cfg->common_config;
}