diff options
author | Subrata Banik <subrata.banik@intel.com> | 2018-02-19 13:57:02 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-02-22 09:56:12 +0000 |
commit | f9eaede51848d28214b47ade110b20ceac8a53e2 (patch) | |
tree | 4c0b2e0d7c2b6af65744f86cbbc20e7b5021e0cb /src/soc/intel/common/block/include | |
parent | 736a03fd248174ef27d0b5b9adffc8970cee4c14 (diff) | |
download | coreboot-f9eaede51848d28214b47ade110b20ceac8a53e2.tar.xz |
soc/intel/common/block/smm: Add option to have SOC specific SMI Handler at finalize()
This patch ensures common code provides an option to register a
SOC specific SMI handler before booting to OS (specifically during ramstage).
Change-Id: I50fb154cc1ad4b3459bc352d2065f2c582711c20
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/23810
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Tung Lun Loo <tung.lun.loo@intel.com>
Diffstat (limited to 'src/soc/intel/common/block/include')
-rw-r--r-- | src/soc/intel/common/block/include/intelblocks/smihandler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/smihandler.h b/src/soc/intel/common/block/include/intelblocks/smihandler.h index df2d17c9e2..197268b29e 100644 --- a/src/soc/intel/common/block/include/intelblocks/smihandler.h +++ b/src/soc/intel/common/block/include/intelblocks/smihandler.h @@ -148,6 +148,9 @@ struct global_nvs_t *smm_get_gnvs(void); /* SoC overrides. */ +/* Specific SOC SMI handler during ramstage finalize phase */ +void smihandler_soc_at_finalize(void); + /* * This function returns a 1 or 0 depending on whether disable_busmaster * needs to be done for the specified device on S5 entry |