summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-05-07 19:21:08 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-05-08 18:13:24 +0000
commitf061017480ed6bed412714c33b4a621271feffbb (patch)
tree3bfe69dceb8b0193a2ae568230f74e9a0c0b3176 /src/soc/amd/common/block
parent3acafa20105858ef278ece2ddb7f1e577bba8620 (diff)
soc/amd/picasso,common: move ALIB DPTC parameter struct to common code
Also add an alib_ prefix to avoid possible name collisions. TEST=Timeless build for Mandolin results in identical binary. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ib0f220a4cde6da764bb8bc589b5f44ae16496bd7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/53918 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common/block')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/alib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/alib.h b/src/soc/amd/common/block/include/amdblocks/alib.h
index e11b1ae95b..5e929248fd 100644
--- a/src/soc/amd/common/block/include/amdblocks/alib.h
+++ b/src/soc/amd/common/block/include/amdblocks/alib.h
@@ -16,6 +16,11 @@ enum alib_dptc_parameter_ids {
ALIB_DPTC_SLOW_PPT_LIMIT_ID = 0x7,
};
+struct alib_dptc_param {
+ uint8_t id;
+ uint32_t value;
+} __packed;
+
#endif /* !__ACPI__ */
#endif /* AMD_COMMON_ALIB_H */