x86: add amd microcode entries to grub config
[oweals/openwrt.git] / target / linux / x86 / image / grub-iso.cfg
1 @SERIAL_CONFIG@
2 @TERMINAL_CONFIG@
3
4 set default="0"
5 set timeout="@TIMEOUT@"
6 set root='(cd)'
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 }