x86: add amd microcode entries to grub config
[openwrt/staging/jogo.git] / target / linux / x86 / image / grub.cfg
1 @SERIAL_CONFIG@
2 @TERMINAL_CONFIG@
3
4 set default="0"
5 set timeout="@TIMEOUT@"
6 set root='(@ROOT@)'
7
8 menuentry "@TITLE@" {
9 linux /boot/vmlinuz @CMDLINE@ noinitrd
10 set amd="/boot/amd-ucode.img"
11 set intel="/boot/intel-ucode.img"
12 if [ -s "$amd" ]; then
13 initrd $amd $intel
14 fi
15 if [ -s "$intel" ]; then
16 initrd $intel $amd
17 fi
18 }
19 menuentry "@TITLE@ (failsafe)" {
20 linux /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd
21 }