Merge pull request #261 from jonathan-teh/amd-family-16h
Add early microcode support for AMD family 16hmaster
commit
98663fcaac
|
@ -661,8 +661,10 @@ get_ucode_file ()
|
||||||
local stepping=`grep -E "stepping" /proc/cpuinfo | head -1 | sed s/.*:\ //`
|
local stepping=`grep -E "stepping" /proc/cpuinfo | head -1 | sed s/.*:\ //`
|
||||||
|
|
||||||
if [[ "$(get_cpu_vendor)" == "AMD" ]]; then
|
if [[ "$(get_cpu_vendor)" == "AMD" ]]; then
|
||||||
# If family greater or equal than 0x15
|
# If family greater than or equal to 0x16
|
||||||
if [[ $family -ge 21 ]]; then
|
if [[ $family -ge 22 ]]; then
|
||||||
|
printf "microcode_amd_fam16h.bin"
|
||||||
|
elif [[ $family -eq 21 ]]; then
|
||||||
printf "microcode_amd_fam15h.bin"
|
printf "microcode_amd_fam15h.bin"
|
||||||
else
|
else
|
||||||
printf "microcode_amd.bin"
|
printf "microcode_amd.bin"
|
||||||
|
|
Loading…
Reference in New Issue