summaryrefslogtreecommitdiff
path: root/util/ifdtool
diff options
context:
space:
mode:
Diffstat (limited to 'util/ifdtool')
-rw-r--r--util/ifdtool/ifdtool.c6
-rw-r--r--util/ifdtool/ifdtool.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c
index 93f29d4fc3..56e05fe21b 100644
--- a/util/ifdtool/ifdtool.c
+++ b/util/ifdtool/ifdtool.c
@@ -811,6 +811,12 @@ static void dump_fd(char *image, int size)
printf(" FMSBA: 0x%x\n", ((fdb->flmap2) & 0xff) << 4);
}
+ if (chipset == CHIPSET_500_SERIES_TIGER_POINT) {
+ printf("FLMAP3: 0x%08x\n", fdb->flmap3);
+ printf(" Minor Revision ID: 0x%04x\n", (fdb->flmap3 >> 14) & 0x7f);
+ printf(" Major Revision ID: 0x%04x\n", (fdb->flmap3 >> 21) & 0x7ff);
+ }
+
char *flumap = find_flumap(image, size);
uint32_t flumap1 = *(uint32_t *)flumap;
printf("FLUMAP1: 0x%08x\n", flumap1);
diff --git a/util/ifdtool/ifdtool.h b/util/ifdtool/ifdtool.h
index a113d2958c..fb3de2fb39 100644
--- a/util/ifdtool/ifdtool.h
+++ b/util/ifdtool/ifdtool.h
@@ -81,6 +81,7 @@ typedef struct {
uint32_t flmap0;
uint32_t flmap1;
uint32_t flmap2;
+ uint32_t flmap3; // Exist for 500 series onwards
} __attribute__((packed)) fdbar_t;
// regions