soc/intel/*/smihandler: Only compile in TCO SMI handler if needed
commita7ec42619c310a5e72256821d17f62e7e64bce45
authorPatrick Georgi <pgeorgi@google.com>
Wed, 11 Mar 2020 15:31:59 +0000 (11 16:31 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 12 Mar 2020 21:36:20 +0000 (12 21:36 +0000)
tree6dede012ca12345e705b185e222e75ca73a671bc
parent4f8b00602c10088ceee2485821ceb53dbbf717ad
soc/intel/*/smihandler: Only compile in TCO SMI handler if needed

commit 7f9ceef disables TCO SMIs unless specifically enabled, so help
the linker throw out the function that handles them in that case.

Change-Id: Ia3c93b46e979fb8b99282875b188415f249d38dd
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39452
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Michael Niewöhner
src/soc/intel/apollolake/smihandler.c
src/soc/intel/cannonlake/smihandler.c
src/soc/intel/icelake/smihandler.c
src/soc/intel/skylake/smihandler.c
src/soc/intel/tigerlake/smihandler.c