aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/smu/Makefile.inc
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-11-12 00:14:16 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-11-15 16:48:38 +0000
commit60a4643d6f53c2770bede1a649c3f14cafaa8b75 (patch)
treec0b2f8f9c69dcd1faeb33e870e8566195edcaefd /src/soc/amd/common/block/smu/Makefile.inc
parent34c59056143f3611083fe8f6a88e9920f6a8531e (diff)
soc/amd/common: factor out SMU code from Picasso
The SMU mailbox access code from Picasso can be reused in the next generation, so factor out the code to soc/amd/common/block/smu. Since the mailbox register offsets in the indirect address space, the number of arguments and the message IDs don't always match between different devices, keep those in the soc-specific directories. Change-Id: Ibaf5b91ab35428e4c771e7163c6e0c4fc50371e7 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47483 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jeremy Soller <jeremy@system76.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/common/block/smu/Makefile.inc')
-rw-r--r--src/soc/amd/common/block/smu/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/smu/Makefile.inc b/src/soc/amd/common/block/smu/Makefile.inc
new file mode 100644
index 0000000000..2afd81abde
--- /dev/null
+++ b/src/soc/amd/common/block/smu/Makefile.inc
@@ -0,0 +1 @@
+smm-$(CONFIG_SOC_AMD_COMMON_BLOCK_SMU) += smu.c