Aaron Durbin 98ffb426f4 intel microcode: split up microcode loading stages
This patch only applies to CONFIG_MICROCODE_IN_CBFS. The intel microcode
update routine would always walk the CBFS for the microcode file. Then
it would loop through the whole file looking for a match then load the
microcode. This process was maintained for intel_update_microcode_from_cbfs(),
however 2 new functions were exported:
	1.  const void *intel_microcode_find(void)
	2.  void intel_microcode_load_unlocked(const void *microcode_patch)

The first locates a matching microcode while the second loads that
mircocode. These new functions can then be used to cache the found
microcode blob w/o having to re-walk the CBFS.

Booted baskingridge board to Linux and noted that all microcode
revisions match on all the CPUs.

Change-Id: Ifde3f3e5c100911c4f984dd56d36664a8acdf7d5
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/2778
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-03-19 05:11:50 +01:00
..
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2012-11-27 22:00:49 +01:00
2013-03-07 00:46:32 +01:00
2012-10-07 21:48:37 +02:00