aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/image
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2018-11-27 18:58:35 +0100
committerJohn Crispin <john@phrozen.org>2018-11-27 18:58:35 +0100
commit8ead5a735df6b999c8853f0bdad81164b1a0917b (patch)
treebb3e80c8d80362a7ef6915d7d1d4d81e8f29318f /target/linux/x86/image
parent30f30d3e11785efa23a2d4c61c0eb6f901c58ef3 (diff)
downloadupstream-8ead5a735df6b999c8853f0bdad81164b1a0917b.tar.gz
upstream-8ead5a735df6b999c8853f0bdad81164b1a0917b.tar.bz2
upstream-8ead5a735df6b999c8853f0bdad81164b1a0917b.zip
Revert "x86: add amd microcode entries to grub config"
This reverts commit a822283c7e56bb3b409712e0eb9af5a91aac247d. Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/x86/image')
-rw-r--r--target/linux/x86/image/grub-iso.cfg9
-rw-r--r--target/linux/x86/image/grub.cfg9
2 files changed, 4 insertions, 14 deletions
diff --git a/target/linux/x86/image/grub-iso.cfg b/target/linux/x86/image/grub-iso.cfg
index c624cbe0ee..5d128aa3aa 100644
--- a/target/linux/x86/image/grub-iso.cfg
+++ b/target/linux/x86/image/grub-iso.cfg
@@ -7,12 +7,7 @@ set root='(cd)'
menuentry "@TITLE@" {
linux /boot/vmlinuz @CMDLINE@ noinitrd
- set amd="/boot/amd-ucode.img"
- set intel="/boot/intel-ucode.img"
- if [ -s "$amd" ]; then
- initrd $amd $intel
- fi
- if [ -s "$intel" ]; then
- initrd $intel $amd
+ if [ -s /boot/intel-ucode.img ]; then
+ initrd /boot/intel-ucode.img
fi
}
diff --git a/target/linux/x86/image/grub.cfg b/target/linux/x86/image/grub.cfg
index 21d719261b..a665686863 100644
--- a/target/linux/x86/image/grub.cfg
+++ b/target/linux/x86/image/grub.cfg
@@ -7,13 +7,8 @@ set root='(@ROOT@)'
menuentry "@TITLE@" {
linux /boot/vmlinuz @CMDLINE@ noinitrd
- set amd="/boot/amd-ucode.img"
- set intel="/boot/intel-ucode.img"
- if [ -s "$amd" ]; then
- initrd $amd $intel
- fi
- if [ -s "$intel" ]; then
- initrd $intel $amd
+ if [ -s /boot/intel-ucode.img ]; then
+ initrd /boot/intel-ucode.img
fi
}
menuentry "@TITLE@ (failsafe)" {