diff options
Diffstat (limited to 'src/soc/amd/mendocino/include')
-rw-r--r-- | src/soc/amd/mendocino/include/fsp/amd_misc_data.h | 10 | ||||
-rw-r--r-- | src/soc/amd/mendocino/include/fsp/amd_misc_data_hob.h | 14 |
2 files changed, 24 insertions, 0 deletions
diff --git a/src/soc/amd/mendocino/include/fsp/amd_misc_data.h b/src/soc/amd/mendocino/include/fsp/amd_misc_data.h new file mode 100644 index 0000000000..df42d536a6 --- /dev/null +++ b/src/soc/amd/mendocino/include/fsp/amd_misc_data.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef AMD_MISC_DATA_H +#define AMD_MISC_DATA_H + +#include <types.h> + +enum cb_err get_amd_smu_reported_tdp(uint32_t *tdp); + +#endif /* AMD_MISC_DATA_H */ diff --git a/src/soc/amd/mendocino/include/fsp/amd_misc_data_hob.h b/src/soc/amd/mendocino/include/fsp/amd_misc_data_hob.h new file mode 100644 index 0000000000..66b8bea4eb --- /dev/null +++ b/src/soc/amd/mendocino/include/fsp/amd_misc_data_hob.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __AMD_MISC_DATA_HOB_H__ +#define __AMD_MISC_DATA_HOB_H__ + +#define AMD_MISC_DATA_VERSION 2 + +struct amd_misc_data { + uint8_t version; + uint8_t unused[3]; + uint32_t smu_power_and_thm_limit; +} __packed; + +#endif /* __AMD_MISC_DATA_HOB_H__ */ |