summaryrefslogtreecommitdiff
path: root/util/ectool/ectool.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/ectool/ectool.c')
-rw-r--r--util/ectool/ectool.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/ectool/ectool.c b/util/ectool/ectool.c
index 91d42fe02d..b7bb0ef079 100644
--- a/util/ectool/ectool.c
+++ b/util/ectool/ectool.c
@@ -99,5 +99,14 @@ int main(int argc, char *argv[])
}
printf("\n\n");
+ printf("EC IDX RAM:\n");
+ for (i = 0; i < 0x10000; i++) {
+ if ((i % 0x10) == 0)
+ printf("\n%04x: ", i);
+ printf("%02x ", ec_idx_read(i));
+ }
+ printf("\n\n");
+
+
return 0;
}