You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
944e5b8d2d
The current implementation used a huge array to represent boot options in a single CFGDATA tag. With this approach, when a different board needs to modify a single field, the whole array needs to be duplicated in the CFGDATA. It is not efficient. A better approach is to break the options into individual boot option CFGDATA tag. It will reduce the overall CFGDATA in general. This patch implemented this mechanism. A library interface FillBootOptionListFromCfgData() is provided to convert the CFGDATA into the required OS_BOOT_OPTION_LIST. Signed-off-by: Maurice Ma <maurice.ma@intel.com>