ectool: Support for dumping EC "index ram"
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5021 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
350ca4a94f
commit
984e0f3a0c
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user