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)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:15 +0000 (17:48 +0100)
commit74a8b95b69d50bff8f6b3128e18b770cd427d18e
treedb1c1980112caa61963ce6f7f68f466519fabe2e
parent24c3462053018307c9f9180157ed402567b7f6da
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>
(backported from 546fced2a23557e95dd34246744c3aa6cad92fe6)
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