mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00

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>
32 lines
659 B
C
32 lines
659 B
C
/*
|
|
* Copyright (c) 2019-2020, ARM Limited. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef FCONF_TBBR_GETTER_H
|
|
#define FCONF_TBBR_GETTER_H
|
|
|
|
#include <assert.h>
|
|
|
|
#include <lib/fconf/fconf.h>
|
|
|
|
/* TBBR related getter */
|
|
#define tbbr__cot_getter(id) __extension__ ({ \
|
|
assert((id) < cot_desc_size); \
|
|
cot_desc_ptr[id]; \
|
|
})
|
|
|
|
#define tbbr__dyn_config_getter(id) tbbr_dyn_config.id
|
|
|
|
struct tbbr_dyn_config_t {
|
|
uint32_t disable_auth;
|
|
void *mbedtls_heap_addr;
|
|
size_t mbedtls_heap_size;
|
|
};
|
|
|
|
extern struct tbbr_dyn_config_t tbbr_dyn_config;
|
|
|
|
int fconf_populate_tbbr_dyn_config(uintptr_t config);
|
|
|
|
#endif /* FCONF_TBBR_GETTER_H */
|