Revert "x86: add intel microcode entries to grub config"
[openwrt/staging/lynxis.git] / target / linux / x86 / base-files / lib / preinit / 02_load_x86_ucode
index d3a23e24b231b52ddf16cf3cbc722a5c7c2400de..fb309c75c115c16436209f0f69df0c3f491bd19e 100644 (file)
@@ -2,10 +2,8 @@
 # Copyright (C) 2018 OpenWrt.org
 
 do_load_x86_ucode() {
-       if grep -q AuthenticAMD /proc/cpuinfo; then
-               if [ -e "/sys/devices/system/cpu/microcode/reload" ]; then
-                       echo 1 > /sys/devices/system/cpu/microcode/reload
-               fi
+       if [ -e "/sys/devices/system/cpu/microcode/reload" ]; then
+               echo 1 > /sys/devices/system/cpu/microcode/reload
        fi
 }