2020-05-09 23:26:37 +02:00
|
|
|
/* 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()
|
|
|
|
{
|
2020-12-05 19:04:32 +01:00
|
|
|
/* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */
|
2020-05-09 23:26:37 +02:00
|
|
|
const struct soc_amd_picasso_config *cfg = config_of_soc();
|
|
|
|
return &cfg->common_config;
|
|
|
|
}
|