diff options
author | Manish V Badarkhe <Manish.Badarkhe@arm.com> | 2021-08-10 20:51:55 +0100 |
---|---|---|
committer | Manish V Badarkhe <Manish.Badarkhe@arm.com> | 2021-10-12 17:53:47 +0100 |
commit | eab78e9ba4e36da27941bac99d2de0d5228eca6c (patch) | |
tree | edcbaeb8154168c2c4b6411cb45799c6b03e46f4 /lib/fconf | |
parent | 8cd09cfc9172ee9aed88af41f3601cb619651495 (diff) | |
download | arm-trusted-firmware-eab78e9ba4e36da27941bac99d2de0d5228eca6c.tar.gz |
refactor(measured_boot): remove passing of BL2 hash via device tree
Subsequent patches will provide a solution to do the BL2 hash measurement
and recording in BL1 itself, hence in preparation to adopt that solution
remove the logic of passing BL2 hash measurement to BL2 component
via TB_FW config.
Change-Id: Iff9b3d4c6a236a33b942898fcdf799cbab89b724
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
Diffstat (limited to 'lib/fconf')
-rw-r--r-- | lib/fconf/fconf_tbbr_getter.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/lib/fconf/fconf_tbbr_getter.c b/lib/fconf/fconf_tbbr_getter.c index 9a20ced4e..6f043e645 100644 --- a/lib/fconf/fconf_tbbr_getter.c +++ b/lib/fconf/fconf_tbbr_getter.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2020, ARM Limited. All rights reserved. + * Copyright (c) 2019-2021, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -71,26 +71,13 @@ int fconf_populate_tbbr_dyn_config(uintptr_t config) } tbbr_dyn_config.mbedtls_heap_size = val32; -#if MEASURED_BOOT - /* Retrieve BL2 hash data details from the DTB */ - err = fdtw_read_bytes(dtb, node, "bl2_hash_data", TCG_DIGEST_SIZE, - &tbbr_dyn_config.bl2_hash_data); - if (err < 0) { - ERROR("FCONF: Read %s failed for '%s'\n", - "bytes", "bl2_hash_data"); - return err; - } -#endif VERBOSE("%s%s%s %d\n", "FCONF: `tbbr.", "disable_auth", "` cell found with value =", tbbr_dyn_config.disable_auth); VERBOSE("%s%s%s %p\n", "FCONF: `tbbr.", "mbedtls_heap_addr", "` cell found with value =", tbbr_dyn_config.mbedtls_heap_addr); VERBOSE("%s%s%s %zu\n", "FCONF: `tbbr.", "mbedtls_heap_size", "` cell found with value =", tbbr_dyn_config.mbedtls_heap_size); -#if MEASURED_BOOT - VERBOSE("%s%s%s %p\n", "FCONF: `tbbr.", "bl2_hash_data", - "` array found at address =", tbbr_dyn_config.bl2_hash_data); -#endif + return 0; } |