You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
19a0890a54
This patch splitted LoadBzImage() into two functions. One is just for kernel loading. The other one UpdateLinuxBootParams() is for Linux boot parameter updates. It is required to do so because when kernel loading in Stage2 is enabled the loading occurs before all HOBs are finalized. The Linux boot parameters depend on HOBs to fill correct information, such as frame buffer. With this patch, the boot parameters can be updated at the very end. Signed-off-by: Maurice Ma <maurice.ma@intel.com>