amd/stoneyridge: Change SMM setup functions
commita05fdcb2695a9d7c553c23ef6c35c37d7cd7b795
authorMarshall Dawson <marshalldawson3rd@gmail.com>
Wed, 27 Sep 2017 21:01:37 +0000 (27 15:01 -0600)
committerMartin Roth <martinroth@google.com>
Mon, 2 Oct 2017 22:31:32 +0000 (2 22:31 +0000)
treeef4ac74501958f7e44592fbb77ea22143ac5a20b
parentf039a0befc9072c4e346f084c2a40dc8fd6de9fe
amd/stoneyridge: Change SMM setup functions

Remove the APMC-specific initialization call.  Make the function
which programs the event type not static and call it from the
southbridge.c file.

Change-Id: I1e3cf898637720fa835de0a6e735c6a65fe2d3a2
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/21750
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
src/soc/amd/stoneyridge/include/soc/smi.h
src/soc/amd/stoneyridge/smi_util.c
src/soc/amd/stoneyridge/southbridge.c