diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-08-19 16:57:20 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-08-20 20:43:36 +0000 |
commit | 2badaa5b6a65efa86b0fe228628b25744c512a37 (patch) | |
tree | 41007f0914942d77f218d8cd8cc933d134f6cdb3 /src/soc/amd | |
parent | 02b61ae9c034ed80cb726df44210cc7d20898b6f (diff) |
soc/amd/common/block/psp/psb: add missing amdblocks/smn.h include
smn_read32 is used in this file, so include the header file with the
function prototype so that the file compiles successfully.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I5bef96cd08f22b3475e8b5ba4e984a6e1ab4da36
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66913
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/common/block/psp/psb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/psp/psb.c b/src/soc/amd/common/block/psp/psb.c index 57b5bbd55b..58b957d4d7 100644 --- a/src/soc/amd/common/block/psp/psb.c +++ b/src/soc/amd/common/block/psp/psb.c @@ -3,6 +3,7 @@ #include <arch/mmio.h> #include <bootstate.h> #include <amdblocks/reset.h> +#include <amdblocks/smn.h> #include <console/console.h> #include <cpu/amd/msr.h> #include <types.h> |