diff options
author | Ji Luo <ji.luo@nxp.com> | 2018-09-18 09:42:42 +0800 |
---|---|---|
committer | faqiang.zhu <faqiang.zhu@nxp.com> | 2018-11-12 09:18:38 +0800 |
commit | 26131b6347be315b9b87e0c10bc7a000c34c10c0 (patch) | |
tree | b70e72236ec4fffcb5eff839c602506652d7af8b /include/configs/imx8mq_evk_androidthings.h | |
parent | 17a0dd7344e1495338258659ef060cf0aaa1ac8b (diff) |
[iot] Calculate VBH in bootloader
SHA256 hash of the entire verified software stack should be calculated
and passed to 'trusty_set_boot_params'. This commit will calculate the
SHA256 hash which represents spl.bin and bootloader.img, and then extend
that hash with the hash of vbmeta image into the final VBH.
Bug: 110905171
Test: VBH is calculated and passed ok on AIY.
Change-Id: Id83ad36f3de79bedd435ca8f26035a35cca66b07
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Diffstat (limited to 'include/configs/imx8mq_evk_androidthings.h')
-rw-r--r-- | include/configs/imx8mq_evk_androidthings.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/imx8mq_evk_androidthings.h b/include/configs/imx8mq_evk_androidthings.h index f0884d9684..3d35cee92c 100644 --- a/include/configs/imx8mq_evk_androidthings.h +++ b/include/configs/imx8mq_evk_androidthings.h @@ -92,4 +92,10 @@ #define CONFIG_SPL_MAX_SIZE 176128 #endif +#ifdef CONFIG_IMX_TRUSTY_OS +#ifdef CONFIG_DUAL_BOOTLOADER +#define ANDROID_SPL_SIZE 0x80000 +#endif +#endif + #endif /* IMX8MQ_EVK_ANDROID_THINGS_H */ |