soc/amd*/smihandler: factor out and rename clear_all_smi_status
commit4f69ab729a9e0fe929728c5726e78f7769fe5a3a
authorFelix Held <felix-coreboot@felixheld.de>
Wed, 10 Feb 2021 00:26:07 +0000 (10 01:26 +0100)
committerMartin Roth <martinroth@google.com>
Thu, 11 Feb 2021 00:50:14 +0000 (11 00:50 +0000)
treeee2b29509b35eee4951087b024f5b38c364f2c1c
parentee2a3658727578721808620c526efa757f91aab0
soc/amd*/smihandler: factor out and rename clear_all_smi_status

The old name was misleading, since it doesn't disable the generation of
SMIs, but clears the status registers.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Iddadbec013091c2e5993a6303e291451c3d1e7ce
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50459
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/amd/common/block/include/amdblocks/smi.h
src/soc/amd/common/block/smi/smi_util.c
src/soc/amd/picasso/smihandler.c
src/soc/amd/stoneyridge/smihandler.c