summaryrefslogtreecommitdiffstats
path: root/plat/qemu/qemu/qemu_bl1_measured_boot.c
blob: 7984781afac220542e5df028baa179e7040e73dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Copyright (c) 2022, Arm Limited. All rights reserved.
 * Copyright (c) 2022, Linaro.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#include <stdint.h>
#include <common/desc_image_load.h>

/*
 * Add dummy functions for measured boot for BL1.
 * In most of the SoC's, ROM/BL1 code is pre-built. So we are assumimg that
 * it doesn't have the capability to do measurements and extend eventlog.
 * hence these are dummy functions.
 */
void bl1_plat_mboot_init(void)
{
}

void bl1_plat_mboot_finish(void)
{
}

int plat_mboot_measure_image(unsigned int image_id, image_info_t *image_data)
{
	return 0;
}

int plat_mboot_measure_key(const void *pk_oid, const void *pk_ptr,
			   size_t pk_len)
{
	return 0;
}