coreboot/src/soc/amd
Fred Reitberger f73a3a5e08 soc/amd/*/smihandler: Make fch_apmc_smi_handler common
Rename soc/amd/common/block/cpu/smm/smi_ampc_helper.c to smi_apmc.c and
add the fch_apmc_smi_handler function.
Remove the duplicated function from picasso, cezanne, mendocino, and
morgana SoC.

The stoneyridge soc does not implement the APM_CNT_SMMINFO handler, so
give the handler a unique name that does not conflict with the common
handler name.

Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com>
Change-Id: I2e6fb59a1ee15b075ee3bbb5f95debe884b66789
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68441
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
2022-10-17 13:42:46 +00:00
..
cezanne soc/amd/*/smihandler: Make fch_apmc_smi_handler common 2022-10-17 13:42:46 +00:00
common soc/amd/*/smihandler: Make fch_apmc_smi_handler common 2022-10-17 13:42:46 +00:00
mendocino soc/amd/*/smihandler: Make fch_apmc_smi_handler common 2022-10-17 13:42:46 +00:00
morgana soc/amd/*/smihandler: Make fch_apmc_smi_handler common 2022-10-17 13:42:46 +00:00
picasso soc/amd/*/smihandler: Make fch_apmc_smi_handler common 2022-10-17 13:42:46 +00:00
stoneyridge soc/amd/*/smihandler: Make fch_apmc_smi_handler common 2022-10-17 13:42:46 +00:00