blob: 724209a160fd9961c105346336d41cbbb0b5c3dd [file] [log] [blame] [edit]
/*
* Copyright (c) 2023-2024, STMicroelectronics - All Rights Reserved
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <cdefs.h>
#include <stdint.h>
#include <common/debug.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include <stm32mp_common.h>
void bl2_el3_early_platform_setup(u_register_t arg0 __unused,
u_register_t arg1 __unused,
u_register_t arg2 __unused,
u_register_t arg3 __unused)
{
}
void bl2_platform_setup(void)
{
}
void bl2_el3_plat_arch_setup(void)
{
if (stm32_otp_probe() != 0U) {
EARLY_ERROR("OTP probe failed\n");
panic();
}
}