/* SPDX-License-Identifier: GPL-2.0-only */ /* TODO: Check if this is still correct */ #include #include #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_mendocino_config *cfg = config_of_soc(); return &cfg->common_config; }