summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wai-Hong Tam <waihong@chromium.org>2011-03-22 09:14:22 +0800
committerTom Wai-Hong Tam <waihong@chromium.org>2011-03-22 09:14:22 +0800
commitda94282362fce6f198af33356a98ed5274d870f8 (patch)
treec4c2fdf3e787d72a6587378346977eceee7864e5
parentf27583f08361522909e49155d8b14671f644ec85 (diff)
downloadvboot-da94282362fce6f198af33356a98ed5274d870f8.tar.gz
Add a blank screen value into screen index.
A convenient value that firmware to identity the blank screen. TEST=emerge-tegra2_seaboard vboot_reference-firmware successfully BUG=chromium-os:1305 Change-Id: Ib38f0c5ba571e95c966ae58c81d22487e416e666 R=clchious@chromium.org Review URL: http://codereview.chromium.org/6712029
-rw-r--r--firmware/include/bmpblk_header.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/include/bmpblk_header.h b/firmware/include/bmpblk_header.h
index ad697b7a..3edd6739 100644
--- a/firmware/include/bmpblk_header.h
+++ b/firmware/include/bmpblk_header.h
@@ -85,7 +85,8 @@ typedef enum ScreenIndex {
SCREEN_RECOVERY_MODE,
SCREEN_RECOVERY_NO_OS,
SCREEN_RECOVERY_MISSING_OS,
- MAX_SCREEN_INDEX,
+ MAX_VALID_SCREEN_INDEX,
+ SCREEN_BLANK = ~0UL,
} ScreenIndex;
/* Image info, describing the information of the image block */