diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2020-09-29 11:51:34 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-11-09 10:20:18 +0000 |
commit | 342802726739e95105a4a9e9425b34f03ac89db4 (patch) | |
tree | c3d8d7f0ad214e7d09b89a7cf3c80f9432a692ba /src/soc/amd/picasso | |
parent | 3967cf931b02414d4b420dcb43b4aeb5ce7d2430 (diff) | |
download | coreboot-342802726739e95105a4a9e9425b34f03ac89db4.tar.xz |
soc/amd/*/smi.h: Move the pm_acpi_smi_cmd_port function declaration
This prototype will be used outside of soc/amd.
Change-Id: Icc69cf8a910764b27edf64f0f527b8f6a9013121
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45813
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso')
-rw-r--r-- | src/soc/amd/picasso/include/soc/smi.h | 1 | ||||
-rw-r--r-- | src/soc/amd/picasso/smi_util.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/picasso/include/soc/smi.h b/src/soc/amd/picasso/include/soc/smi.h index 0529ef6877..6413c6a06d 100644 --- a/src/soc/amd/picasso/include/soc/smi.h +++ b/src/soc/amd/picasso/include/soc/smi.h @@ -214,7 +214,6 @@ struct sci_source { uint8_t level; /* Edge or Level, smi_sci_dir */ }; -uint16_t pm_acpi_smi_cmd_port(void); void configure_smi(uint8_t smi_num, uint8_t mode); void configure_gevent_smi(uint8_t gevent, uint8_t mode, uint8_t level); void configure_scimap(const struct sci_source *sci); diff --git a/src/soc/amd/picasso/smi_util.c b/src/soc/amd/picasso/smi_util.c index 2c5085b5e9..2fbc8e2d6a 100644 --- a/src/soc/amd/picasso/smi_util.c +++ b/src/soc/amd/picasso/smi_util.c @@ -5,6 +5,7 @@ */ #include <console/console.h> +#include <cpu/x86/smm.h> #include <soc/southbridge.h> #include <soc/smi.h> #include <amdblocks/acpimmio.h> |