summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/aoac.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-11-30 17:56:59 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-12-02 21:26:50 +0000
commit5b3831c75abe5fc50739984eaa70fbada2575bb7 (patch)
tree2161a533d7ed50dd612429812f1d6a747cd9c9cd /src/soc/amd/picasso/aoac.c
parentf7b410d4098009e65567f9ad5b7762923830f444 (diff)
soc/amd: factor out common AOAC definitions
The register locations and bit definitions are the same for Stoneyridge and Picasso. Since not all devices are present on all SoCs, keep those numbers in the SoC-specific code. Change-Id: Ib882927e399031c376738e5a35793b3d7654b9cf Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48182 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/picasso/aoac.c')
-rw-r--r--src/soc/amd/picasso/aoac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/aoac.c b/src/soc/amd/picasso/aoac.c
index 00f26fe48e..21031f7d5f 100644
--- a/src/soc/amd/picasso/aoac.c
+++ b/src/soc/amd/picasso/aoac.c
@@ -2,6 +2,7 @@
#include <stdint.h>
#include <amdblocks/acpimmio.h>
+#include <amdblocks/aoac.h>
#include <soc/southbridge.h>
#include <delay.h>