From dc1a6b3ff6e378dcf9c57adce20e7200cbd9f921 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Fri, 30 Sep 2016 08:59:58 -0600 Subject: [PATCH] UPSTREAM: soc/intel/apollolake: Try to update BSP microcode from cbfs The microcode for the BSP gets loaded early from the fit table, but in case we have newer microcode in cbfs, try to load it again from cbfs. BUG=chrome-os-partner:53013 BRANCH=None TEST=Boot and verify that microcode tries to load into the BSP. Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/16829 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Change-Id: Ifd6c78d7b0eec333b79e0fe5cb6a81981b078f5d Reviewed-on: https://chromium-review.googlesource.com/391931 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- src/soc/intel/apollolake/cpu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/intel/apollolake/cpu.c b/src/soc/intel/apollolake/cpu.c index 86fe3e1fd5..f3cf050415 100644 --- a/src/soc/intel/apollolake/cpu.c +++ b/src/soc/intel/apollolake/cpu.c @@ -73,6 +73,9 @@ static void pre_mp_init(void) { x86_setup_mtrrs_with_detect(); x86_mtrr_check(); + + /* Make sure BSP is using the microcode from cbfs */ + intel_update_microcode_from_cbfs(); } /* Find CPU topology */