summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorLuo Ji <ji.luo@nxp.com>2018-05-23 14:34:33 +0800
committerJi Luo <ji.luo@nxp.com>2018-08-20 21:25:44 +0800
commitd2275a5926ac2ff7e9f656ac7803de010b51e870 (patch)
treeb42c880201e3ff7d573c825b59c7a87a113252f1 /drivers/usb
parentaceb62dbfb1c5ecd17a46ca11e39db77ce1ba680 (diff)
[iot] Return full zero hash if fuse not initialized
Part of permanent attributes hash was stored in fuse for security reason, however, the write operation of fuse was disabled by default because it was an irreversible operation. Returning AVB_IO_RESULT_ERROR_IO will stop following AVB process and won't pass dm-verity related commandlines to kernel, in such case, board will fail to boot even in unlock state. Returning AVB_IO_RESULT_OK and full zero permanent attributes hash when the fuse haven't been initialized, let the lock/unlock policy in libavb to handle the mismatch errors. Test: imx7d_pico boot successfully with dm-verity feature. Change-Id: I6bcf58ff8ce71859fa2d85c86572ea6de1c3a0df Signed-off-by: Luo Ji <ji.luo@nxp.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions