coreboot/src/cpu/amd
Zheng Bao b8c473e32f amd/00730F01: Clean the Microcode updating
According to the comments of
https://review.coreboot.org/c/coreboot/+/41719
, which is about Microcode patch for amd/picasso.
Change the code with the same way.

The changes include:
1. combine the microcode_xxx.c and update_microcode.c
   into one source.
2. Redefine the microcode updating function to eliminate
   the parameter. Get the revision ID in the black box.
   Reduce the depth of function calls.
3. Get the revision ID by bitwise calculation instead of
   lookup table.
4. Reduce the confusing type casts.
5. Squash some lines.

We do not change the way it used to be. The code assume
only one microcode is integrated in CBFS. If needed in future,
41719 is the example of integrating multiple binaries.

And, 41719 depends on the definition in this patch.

Change-Id: I8b0da99db0d3189058f75e199f05492c4e6c5881
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42094
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
2020-06-10 02:59:29 +00:00
..
agesa src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
microcode cpu/amd/microcode: Remove microcode update routine 2019-11-22 06:23:43 +00:00
mtrr treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pi amd/00730F01: Clean the Microcode updating 2020-06-10 02:59:29 +00:00
smm src: Remove unused '#include <cpu/x86/lapic.h>' 2020-06-02 07:38:45 +00:00
Kconfig Kconfig: comply to Linux 5.3's Kconfig language rules 2019-11-23 20:09:56 +00:00
Makefile.inc cpu/amd/fam10: Drop support 2019-11-21 09:28:41 +00:00