slimbootloader/PayloadPkg
Atharva Lele 1c807e51fa
Fix OsLoader handling of non-container images and remove PcdContainerBootEnabled (#1843)
* OsLoader: set default status to EFI_UNSUPPORTED when parsing a boot image

This was set to EFI_SUCCESS which resulted in ParseBootImages() returning
EFI_SUCCESS even if the boot image was not a container or a component.

Thus, the boot would continue and fail at a later stage due to the
LoadedImage structure not being populated correctly.

Setting it to EFI_UNSUPPORTED will result in ParseBootImages() returning
EFI_UNSUPPORTED if a non-supported boot image is provided and OsLoader
will attempt to boot the next entry in the boot options list.

Signed-off-by: Atharva Lele <atharva.lele@intel.com>

* Remove PcdContainerBootEnabled PCD

SBL requires boot images to be packaged as a container or a component

Signed-off-by: Atharva Lele <atharva.lele@intel.com>

---------

Signed-off-by: Atharva Lele <atharva.lele@intel.com>
2023-03-10 14:14:13 -08:00
..
CsmeUpdateDriver Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
FirmwareUpdate Allow to load capsules signed with RSA3072 from raw partition 2022-11-17 20:32:54 -07:00
HelloWorld HelloWorld: Use ConsolePrint to simplify code and fix GCC build 2022-01-13 08:09:25 -08:00
Include Add MP service for payload 2022-03-02 09:04:08 -08:00
Library OSLoader: Append mender command line only if not exist 2022-11-21 10:15:54 -07:00
OsLoader Fix OsLoader handling of non-container images and remove PcdContainerBootEnabled (#1843) 2023-03-10 14:14:13 -08:00
PayloadPkg.dec Add a PCD to set RTCM RSVD SIZE 2021-11-15 19:05:05 -08:00
PayloadPkg.dsc Fix HelloWorld payload build issue 2022-01-12 07:50:06 -08:00