diff options
author | Subrata Banik <subratabanik@google.com> | 2022-06-20 08:10:39 +0000 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-06-22 12:50:40 +0000 |
commit | 7734af81bcdc602b71811343dd8f8d092fc1028f (patch) | |
tree | 011f291a1c56ed84696de37edbae6c41a400830b /src/soc/sifive/fu540/memlayout.ld | |
parent | 861ec01b44a3ef2cfbc99d574af74c87b2ecb4b7 (diff) |
cpu/intel/microcode: Create helper function to load microcode patch
This patch refactors the microcode loading and reloading API with a
helper function that perform the actual MSR write operation after
taking the microcode pointer from the caller function.
Also, convert the microcode loading failure msg type from `BIOS_INFO`
to `BIOS_ERR` to catch the error in proper.
TEST=Able to perform microcode loading on google/kano.
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I9a7cdc2d2c9211f1e0c7921015126f7a1be87761
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65249
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/sifive/fu540/memlayout.ld')
0 files changed, 0 insertions, 0 deletions