summaryrefslogtreecommitdiff
path: root/firmware/lib/vboot_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/vboot_display.c')
-rw-r--r--firmware/lib/vboot_display.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/firmware/lib/vboot_display.c b/firmware/lib/vboot_display.c
index e7359460..c4b4f87a 100644
--- a/firmware/lib/vboot_display.c
+++ b/firmware/lib/vboot_display.c
@@ -399,22 +399,11 @@ VbError_t VbDisplayDebugInfo(struct vb2_context *ctx)
return VbExDisplayDebugInfo(buf, 1);
}
-#define MAGIC_WORD_LEN 5
-#define MAGIC_WORD "xyzzy"
-static uint8_t MagicBuffer[MAGIC_WORD_LEN];
-
VbError_t VbCheckDisplayKey(struct vb2_context *ctx, uint32_t key,
const VbScreenData *data)
{
uint32_t loc = 0;
uint32_t count = 0;
- int i;
-
- /* Update key buffer */
- for(i = 1; i < MAGIC_WORD_LEN; i++)
- MagicBuffer[i - 1] = MagicBuffer[i];
- /* Save as lower-case ASCII */
- MagicBuffer[MAGIC_WORD_LEN - 1] = (key | 0x20) & 0xFF;
switch (key) {
case '\t':
@@ -457,11 +446,5 @@ VbError_t VbCheckDisplayKey(struct vb2_context *ctx, uint32_t key,
return VbDisplayScreen(ctx, disp_current_screen, 1, data);
}
- if (0 == memcmp(MagicBuffer, MAGIC_WORD, MAGIC_WORD_LEN)) {
- if (VBEASTEREGG)
- (void)VbDisplayScreen(ctx, disp_current_screen, 1,
- NULL);
- }
-
return VBERROR_SUCCESS;
}