From 285dd6ec3a8529d2b91eb657e85007be6a3397b6 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 17 Feb 2021 22:16:40 +0100 Subject: soc/amd/common/amdblocks/psp: move MSR_PSP_ADDR to include/cpu/amd/msr.h Signed-off-by: Felix Held Change-Id: I5bd6f74bc0fbe461fa01d3baa63612eaec77b97a Reviewed-on: https://review.coreboot.org/c/coreboot/+/50854 Reviewed-by: Raul Rangel Reviewed-by: Marshall Dawson Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/soc/amd/common/block/include/amdblocks/psp.h | 2 -- src/soc/amd/common/block/psp/psp_gen2.c | 1 + src/soc/amd/stoneyridge/cpu.c | 2 +- src/soc/amd/stoneyridge/psp.c | 1 + 4 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/soc') diff --git a/src/soc/amd/common/block/include/amdblocks/psp.h b/src/soc/amd/common/block/include/amdblocks/psp.h index 9d56d6beee..8cd8236706 100644 --- a/src/soc/amd/common/block/include/amdblocks/psp.h +++ b/src/soc/amd/common/block/include/amdblocks/psp.h @@ -3,8 +3,6 @@ #ifndef AMD_BLOCK_PSP_H #define AMD_BLOCK_PSP_H -#define MSR_PSP_ADDR 0xc00110a2 - /* Get the mailbox base address - specific to family of device. */ void *soc_get_mbox_address(void); diff --git a/src/soc/amd/common/block/psp/psp_gen2.c b/src/soc/amd/common/block/psp/psp_gen2.c index ca84057453..95adce40d2 100644 --- a/src/soc/amd/common/block/psp/psp_gen2.c +++ b/src/soc/amd/common/block/psp/psp_gen2.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include +#include #include #include #include diff --git a/src/soc/amd/stoneyridge/cpu.c b/src/soc/amd/stoneyridge/cpu.c index badea8bb90..17fd9b97bb 100644 --- a/src/soc/amd/stoneyridge/cpu.c +++ b/src/soc/amd/stoneyridge/cpu.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include +#include #include #include #include @@ -15,7 +16,6 @@ #include #include #include -#include /* * MP and SMM loading initialization. diff --git a/src/soc/amd/stoneyridge/psp.c b/src/soc/amd/stoneyridge/psp.c index 69db08dfc3..cd14d7bf69 100644 --- a/src/soc/amd/stoneyridge/psp.c +++ b/src/soc/amd/stoneyridge/psp.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3