u-boot/arch/arm/mach-stm32mp/include/mach/stm32mp.h
Sughosh Ganu 5fe9e0deab stm32mp: allow calling optee_get_reserved_memory() from U-Boot
The optee_get_reserved_memory() function returns the OP-TEE base
address and size. The function gets these values from the
FDT. Currently, this function is defined only to be called in the SPL
phase. Move this function to a place where it can be invoked from the
main U-Boot phase, where it will be used to compute the ram_top
address.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
2024-09-03 14:08:50 -06:00

12 lines
243 B
C

/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
/*
* Copyright (C) 2024, STMicroelectronics - All Rights Reserved
*/
#ifndef __MACH_STM32MP_H_
#define __MACH_STM32MP_H_
int optee_get_reserved_memory(u32 *start, u32 *size);
#endif