From d1d6fc77f6b1b7768d44696db30f5c7537f685df Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Mon, 13 Sep 2021 15:37:29 +0800 Subject: [PATCH] sdm845Pkg: Library: PlatformBootManagerLib: PlatformBm.c: only register option when simple-init enabled Signed-off-by: BigfootACA --- sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c index ff77cbb..8cd1e6a 100644 --- a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -741,12 +741,14 @@ PlatformBootManagerAfterConsole ( // EfiBootManagerRefreshAllBootOption (); + #ifdef ENABLE_SIMPLE_INIT // // Register Simple Init GUI APP // PlatformRegisterFvBootOption ( &gSimpleInitFileGuid, L"Simple Init", LOAD_OPTION_ACTIVE ); + #endif // // Register UEFI Shell -- 2.45.2