mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-12 18:26:59 +02:00
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>
12 lines
243 B
C
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
|