summaryrefslogtreecommitdiff
path: root/test/bloblist.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-12-27 13:06:59 -0800
committerSimon Glass <sjg@chromium.org>2023-12-31 07:21:02 -0700
commite748e4b780057872b4a7192db87476adaa8b501c (patch)
tree19cd05c684f6907a2095ca7adfb2240943ccb03f /test/bloblist.c
parentaca95282c1b72c41d8e72984b1dceb15f396b2f8 (diff)
downloadu-boot-e748e4b780057872b4a7192db87476adaa8b501c.tar.gz
u-boot-e748e4b780057872b4a7192db87476adaa8b501c.tar.bz2
u-boot-e748e4b780057872b4a7192db87476adaa8b501c.zip
bloblist: Update the tag numbering
Align bloblist tags with the FW handoff spec v0.9. The most common ones are from 0. TF related ones are from 0x100. All non-standard ones from 0xfff000. Added new defined tags: BLOBLISTT_OPTEE_PAGABLE_PART for TF. BLOBLISTT_TPM_EVLOG and BLOBLISTT_TPM_CRB_BASE for TPM. Signed-off-by: Simon Glass <sjg@chromium.org> Co-developed-by: Raymond Mao <raymond.mao@linaro.org> Signed-off-by: Raymond Mao <raymond.mao@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'test/bloblist.c')
-rw-r--r--test/bloblist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bloblist.c b/test/bloblist.c
index 720be7e244..efa1e32afd 100644
--- a/test/bloblist.c
+++ b/test/bloblist.c
@@ -291,9 +291,9 @@ static int bloblist_test_cmd_list(struct unit_test_state *uts)
console_record_reset();
run_command("bloblist list", 0);
ut_assert_nextline("Address Size Tag Name");
- ut_assert_nextline("%08lx %8x 8000 SPL hand-off",
+ ut_assert_nextline("%08lx %8x fff000 SPL hand-off",
(ulong)map_to_sysmem(data), TEST_SIZE);
- ut_assert_nextline("%08lx %8x 106 Chrome OS vboot context",
+ ut_assert_nextline("%08lx %8x 202 Chrome OS vboot context",
(ulong)map_to_sysmem(data2), TEST_SIZE2);
ut_assert_console_end();
ut_unsilence_console(uts);