diff options
Diffstat (limited to 'futility')
-rw-r--r-- | futility/file_type_bios.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/futility/file_type_bios.c b/futility/file_type_bios.c index d9d132a5..d79e76f8 100644 --- a/futility/file_type_bios.c +++ b/futility/file_type_bios.c @@ -9,7 +9,6 @@ #include <stdio.h> #include <string.h> -#include "bmpblk_header.h" #include "fmap.h" #include "file_type.h" #include "file_type_bios.h" @@ -55,7 +54,6 @@ int ft_show_gbb(const char *name, uint8_t *buf, uint32_t len, void *data) { GoogleBinaryBlockHeader *gbb = (GoogleBinaryBlockHeader *)buf; struct bios_state_s *state = (struct bios_state_s *)data; - BmpBlockHeader *bmp; int retval = 0; uint32_t maxlen = 0; @@ -130,23 +128,6 @@ int ft_show_gbb(const char *name, uint8_t *buf, uint32_t len, void *data) printf(" Recovery Key: <invalid>\n"); } - bmp = (BmpBlockHeader *)(buf + gbb->bmpfv_offset); - if (0 != memcmp(bmp, BMPBLOCK_SIGNATURE, BMPBLOCK_SIGNATURE_SIZE)) { - printf(" BmpBlock: <invalid>\n"); - /* We don't support older BmpBlock formats, so we can't - * be strict about this. */ - } else { - printf(" BmpBlock:\n"); - printf(" Version: %d.%d\n", - bmp->major_version, bmp->minor_version); - printf(" Localizations: %d\n", - bmp->number_of_localizations); - printf(" Screen layouts: %d\n", - bmp->number_of_screenlayouts); - printf(" Image infos: %d\n", - bmp->number_of_imageinfos); - } - if (!retval && state) state->area[BIOS_FMAP_GBB].is_valid = 1; |