mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-26 19:25:02 +00:00
Define all screens in enum ScreenIndex and use them
This enum seems partially complete, and not used in vboot_reference. Complete it and use it. BUG=chrome-os-partner:13492 BRANCH=snow TEST=manual Build and boot through to recovery on snow. Run through the various screens and check that they still appear correctly. Change-Id: Ifca54d072457d9a0396a38026f44f8334efb9cf5 Reviewed-on: https://gerrit.chromium.org/gerrit/32628 Reviewed-by: Mike Truty <truty@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Commit-Ready: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -84,10 +84,14 @@ typedef struct ScreenLayout {
|
||||
|
||||
/* Constants for screen index */
|
||||
typedef enum ScreenIndex {
|
||||
SCREEN_DEVELOPER_MODE = 0,
|
||||
SCREEN_RECOVERY_MODE,
|
||||
SCREEN_RECOVERY_NO_OS,
|
||||
SCREEN_RECOVERY_MISSING_OS,
|
||||
SCREEN_DEVELOPER_WARNING = 0,
|
||||
SCREEN_RECOVERY_REMOVE,
|
||||
SCREEN_RECOVERY_NO_GOOD,
|
||||
SCREEN_RECOVERY_INSERT,
|
||||
SCREEN_RECOVERY_TO_DEV,
|
||||
SCREEN_DEVELOPER_TO_NORM,
|
||||
SCREEN_WAIT,
|
||||
SCREEN_TO_NORM_CONFIRMED,
|
||||
MAX_VALID_SCREEN_INDEX,
|
||||
SCREEN_BLANK = ~0UL,
|
||||
} ScreenIndex;
|
||||
|
||||
Reference in New Issue
Block a user