blob: 7984781afac220542e5df028baa179e7040e73dc [file] [log] [blame]
Ruchika Gupta5c172532022-04-08 13:14:44 +05301/*
2 * Copyright (c) 2022, Arm Limited. All rights reserved.
3 * Copyright (c) 2022, Linaro.
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
8#include <stdint.h>
9#include <common/desc_image_load.h>
10
11/*
12 * Add dummy functions for measured boot for BL1.
13 * In most of the SoC's, ROM/BL1 code is pre-built. So we are assumimg that
14 * it doesn't have the capability to do measurements and extend eventlog.
15 * hence these are dummy functions.
16 */
17void bl1_plat_mboot_init(void)
18{
19}
20
21void bl1_plat_mboot_finish(void)
22{
23}
24
25int plat_mboot_measure_image(unsigned int image_id, image_info_t *image_data)
26{
27 return 0;
28}
Jens Wiklanderdfcf0942023-09-07 09:29:04 +020029
30int plat_mboot_measure_key(const void *pk_oid, const void *pk_ptr,
31 size_t pk_len)
32{
33 return 0;
34}