Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit 8bcc79c

Browse files
committed
FastbootMenu: disable factory options for user builds
Change-Id: I880e4968af71224d87e8f7cb47661ce20b3f5317 Signed-off-by: Alexander Martinz <[email protected]>
1 parent 3a97cc7 commit 8bcc79c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

QcomModulePkg/Library/BootLib/FastbootMenu.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ STATIC MENU_MSG_INFO mFastbootOptionTitle[] = {
7171
OPTION_ITEM,
7272
0,
7373
POWEROFF},
74+
#ifndef USER_BUILD_VARIANT
7475
{{"Boot to FFBM"},
7576
BIG_FACTOR,
7677
BGR_YELLOW,
@@ -85,6 +86,7 @@ STATIC MENU_MSG_INFO mFastbootOptionTitle[] = {
8586
OPTION_ITEM,
8687
0,
8788
QMMI},
89+
#endif
8890
};
8991

9092
#define FASTBOOT_MSG_INDEX_HEADER 0

0 commit comments

Comments
 (0)