From b9bceef8eebf5c0f7f213921cca885a3f3c64ec1 Mon Sep 17 00:00:00 2001 From: Manish V Badarkhe Date: Wed, 12 Jul 2023 10:22:39 +0100 Subject: [PATCH] feat(imx): add dummy 'plat_mboot_measure_key' function Added dummy implementation of 'plat_mboot_measure_key' function for IMX platform. Change-Id: Ib41fd86a9da330f62561707bda7d16f2825c0a7f Signed-off-by: Manish V Badarkhe --- plat/imx/imx8m/imx8m_measured_boot.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plat/imx/imx8m/imx8m_measured_boot.c b/plat/imx/imx8m/imx8m_measured_boot.c index e9ea2d873..bfcd6ceb2 100644 --- a/plat/imx/imx8m/imx8m_measured_boot.c +++ b/plat/imx/imx8m/imx8m_measured_boot.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022, Arm Limited. All rights reserved. + * Copyright (c) 2022-2023, Arm Limited. All rights reserved. * Copyright (c) 2022, Linaro. * * SPDX-License-Identifier: BSD-3-Clause @@ -79,3 +79,9 @@ void bl2_plat_mboot_finish(void) dump_event_log((uint8_t *)event_log, event_log_cur_size); } + +int plat_mboot_measure_key(const void *pk_oid, const void *pk_ptr, + size_t pk_len) +{ + return 0; +}