aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@google.com>2019-05-13 17:02:09 -0700
committerBill Richardson <wfrichar@google.com>2019-05-14 08:55:56 -0700
commitc3c0df8f3d93221a27fc1b3a1457b37a5d43e18c (patch)
tree3af1f3b2557dc833f301271d6c39cad25fc1b260
parent3fe45ac5f7bac74e695616eb5ceb05130f6573d9 (diff)
downloadgeneric-c3c0df8f3d93221a27fc1b3a1457b37a5d43e18c.tar.gz
Add board_id_ fields to SignedHeader::print()
Bug: 132648483 Test: manual Change-Id: I5007866ce10c774732362ecc16a00141c6a1e448 Signed-off-by: Bill Richardson <wfrichar@google.com>
-rw-r--r--nugget/include/signed_header.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nugget/include/signed_header.h b/nugget/include/signed_header.h
index d98d456..b5bf879 100644
--- a/nugget/include/signed_header.h
+++ b/nugget/include/signed_header.h
@@ -163,6 +163,11 @@ typedef struct SignedHeader {
printf("%08X", infomap[i]);
}
printf("\n");
+
+ printf("hdr.board_id : %08x %08x %08x\n",
+ SIGNED_HEADER_PADDING ^ board_id_.type,
+ SIGNED_HEADER_PADDING ^ board_id_.type_mask,
+ SIGNED_HEADER_PADDING ^ board_id_.flags);
}
#endif // __cplusplus