aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/base-files/lib/preinit
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2018-11-27 18:58:38 +0100
committerJohn Crispin <john@phrozen.org>2018-11-27 18:58:38 +0100
commitc6aa4f53e8179eb262d0da1e52ea869298ed3818 (patch)
tree4b511bd5b221f78e383a62171b9cf70e6b64a1f8 /target/linux/x86/base-files/lib/preinit
parent231d9d5327d161aed166949ea9328609927674ff (diff)
downloadupstream-c6aa4f53e8179eb262d0da1e52ea869298ed3818.tar.gz
upstream-c6aa4f53e8179eb262d0da1e52ea869298ed3818.tar.bz2
upstream-c6aa4f53e8179eb262d0da1e52ea869298ed3818.zip
Revert "x86: add intel microcode entries to grub config"
This reverts commit 546fced2a23557e95dd34246744c3aa6cad92fe6. Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/x86/base-files/lib/preinit')
-rw-r--r--target/linux/x86/base-files/lib/preinit/02_load_x86_ucode6
1 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/x86/base-files/lib/preinit/02_load_x86_ucode b/target/linux/x86/base-files/lib/preinit/02_load_x86_ucode
index d3a23e24b2..fb309c75c1 100644
--- a/target/linux/x86/base-files/lib/preinit/02_load_x86_ucode
+++ b/target/linux/x86/base-files/lib/preinit/02_load_x86_ucode
@@ -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
}