Browse Source

Add early microcode support for AMD family 16h

master
jonathan-teh 8 years ago committed by GitHub
parent
commit
af6eee79e3
  1. 6
      dracut-functions.sh

6
dracut-functions.sh

@ -661,8 +661,10 @@ get_ucode_file () @@ -661,8 +661,10 @@ get_ucode_file ()
local stepping=`grep -E "stepping" /proc/cpuinfo | head -1 | sed s/.*:\ //`

if [[ "$(get_cpu_vendor)" == "AMD" ]]; then
# If family greater or equal than 0x15
if [[ $family -ge 21 ]]; then
# If family greater than or equal to 0x16
if [[ $family -ge 22 ]]; then
printf "microcode_amd_fam16h.bin"
elif [[ $family -eq 21 ]]; then
printf "microcode_amd_fam15h.bin"
else
printf "microcode_amd.bin"

Loading…
Cancel
Save