x86: add intel microcode entries to grub config
authorTomasz Maciej Nowak <tomek_n@o2.pl>
Tue, 20 Nov 2018 16:20:43 +0000 (17:20 +0100)
committerJohn Crispin <john@phrozen.org>
Mon, 26 Nov 2018 11:05:44 +0000 (12:05 +0100)
commit546fced2a23557e95dd34246744c3aa6cad92fe6
treeb74e0145b0ae6db0f770da2acae64eb6d2a34143
parentad83fde30de5d154bf723d0fd07f945a8cdb6510
x86: add intel microcode entries to grub config

Create initrd enries for x86 images, that'll load intel microcode as
early as possible. To achieve that the test module for grub is enabled
which provides shell-like conditionals. Also restrict the late load of
microcode to AMD processors.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
target/linux/x86/base-files/lib/preinit/02_load_x86_ucode
target/linux/x86/image/Makefile
target/linux/x86/image/grub-iso.cfg
target/linux/x86/image/grub.cfg