Mike Banon <mikebdp2(a)gmail.com> writes:
Before borrowing update_microcode.c for our
family15tn, we need to
somehow figure out if its even working for that "
family_10h-family_15h ". If you go to the root directory with coreboot
sources, and issue ' find . -type f -print0 | xargs -0 grep
"cpu_microcode_bins" ' command, you'll see that cpu_microcode_bins
variable is defined ONLY for various Intel CPUs, and even one VIA CPU,
but never for the AMD CPUs !
The amd microcode is included differently, by including it as a
cbfs-file(s) directly. See cpu/amd/family_10h-family_15h/Makefile.inc.
So I have no idea if this update_microcode.c for AMD
has been ever
tested, because there is no "cpu_microcode_bins" variable defined even
for "10h/15h" family, and its essential for this update mechanism to
work : if "cpu_microcode_bins" isnt defined, microcode_amd_fam15h.bin
isnt included, and update_microcode.c is either never launched or
gives an error
It is tested and the update is done quite early on to make sure the CPU
operates properly before done any other initialization.