diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2020-12-01 18:14:01 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-12-02 21:33:14 +0000 |
commit | a5a529599d264da5890fad7b678f7ff9e5e47a80 (patch) | |
tree | e983bbc44d284399884d689250054e1c7698fb91 /src/mainboard | |
parent | f42da176de685ebc6432da1008c408876060dced (diff) | |
download | coreboot-a5a529599d264da5890fad7b678f7ff9e5e47a80.tar.gz coreboot-a5a529599d264da5890fad7b678f7ff9e5e47a80.tar.bz2 coreboot-a5a529599d264da5890fad7b678f7ff9e5e47a80.zip |
soc/amd: factor out common SMI/SCI enums and function prototypes
At least a part or the remaining definitions in the soc-specific smi.h
files are also common, but those have to be verified more closely.
Change-Id: I5a3858e793331a8d2ec262371fa22abac044fd4a
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48217
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/kahlee/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/zork/mainboard.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/mainboard.c b/src/mainboard/google/kahlee/mainboard.c index b33fb69e89c5..b40b4bc8e03d 100644 --- a/src/mainboard/google/kahlee/mainboard.c +++ b/src/mainboard/google/kahlee/mainboard.c @@ -8,6 +8,7 @@ #include <acpi/acpi_gnvs.h> #include <amdblocks/agesawrapper.h> #include <amdblocks/amd_pci_util.h> +#include <amdblocks/smi.h> #include <baseboard/variants.h> #include <boardid.h> #include <smbios.h> diff --git a/src/mainboard/google/zork/mainboard.c b/src/mainboard/google/zork/mainboard.c index 6d930d0e7aa6..5ab90cf768ea 100644 --- a/src/mainboard/google/zork/mainboard.c +++ b/src/mainboard/google/zork/mainboard.c @@ -10,6 +10,7 @@ #include <acpi/acpi_gnvs.h> #include <amdblocks/amd_pci_util.h> #include <amdblocks/gpio_banks.h> +#include <amdblocks/smi.h> #include <baseboard/variants.h> #include <boardid.h> #include <gpio.h> |