Ruchika Gupta | 5c17253 | 2022-04-08 13:14:44 +0530 | [diff] [blame] | 1 | /* |
| 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 | */ |
| 17 | void bl1_plat_mboot_init(void) |
| 18 | { |
| 19 | } |
| 20 | |
| 21 | void bl1_plat_mboot_finish(void) |
| 22 | { |
| 23 | } |
| 24 | |
| 25 | int plat_mboot_measure_image(unsigned int image_id, image_info_t *image_data) |
| 26 | { |
| 27 | return 0; |
| 28 | } |
Jens Wiklander | dfcf094 | 2023-09-07 09:29:04 +0200 | [diff] [blame] | 29 | |
| 30 | int plat_mboot_measure_key(const void *pk_oid, const void *pk_ptr, |
| 31 | size_t pk_len) |
| 32 | { |
| 33 | return 0; |
| 34 | } |