Revert "x86: add intel microcode entries to grub config"

This reverts commit 546fced2a2.

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2018-11-27 18:58:38 +01:00
parent 231d9d5327
commit c6aa4f53e8
4 changed files with 4 additions and 12 deletions

View 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
}