soc/intel/apl: Call mca_configure() on cold boots only
commitaa4d9b94fd1c84f9dc73a029a8eae4743cec8da4
authorNico Huber <nico.huber@secunet.com>
Fri, 1 Feb 2019 13:20:37 +0000 (1 14:20 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 5 Feb 2019 13:27:22 +0000 (5 13:27 +0000)
tree1742aa5871a5bc6688f53fc3402b2a2cdf4155c9
parent53229425c72fd702d980a0b363becf6f2516e69f
soc/intel/apl: Call mca_configure() on cold boots only

By APL BIOS Spec, we must not do this on warm boots.

The TODO comment seems stale and copied over. So the actual
requirements for SGX are unknown and we add a guard for that
case.

Change-Id: I09b4a2fe22267d7318951aac20a3ea566403492e
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/31200
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/intel/apollolake/cpu.c