mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00

The codebase was using non-standard headers. It is needed to replace them by the correct ones so that we can use the new libc headers. Change-Id: I530f71d9510cb036e69fe79823c8230afe890b9d Acked-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
42 lines
1.2 KiB
C
42 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef __RPI3_PRIVATE_H__
|
|
#define __RPI3_PRIVATE_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
/*******************************************************************************
|
|
* Function and variable prototypes
|
|
******************************************************************************/
|
|
|
|
/* Utility functions */
|
|
void rpi3_console_init(void);
|
|
void rpi3_setup_page_tables(uintptr_t total_base, size_t total_size,
|
|
uintptr_t code_start, uintptr_t code_limit,
|
|
uintptr_t rodata_start, uintptr_t rodata_limit
|
|
#if USE_COHERENT_MEM
|
|
, uintptr_t coh_start, uintptr_t coh_limit
|
|
#endif
|
|
);
|
|
|
|
/* Optional functions required in the Raspberry Pi 3 port */
|
|
unsigned int plat_rpi3_calc_core_pos(u_register_t mpidr);
|
|
|
|
/* BL2 utility functions */
|
|
uint32_t rpi3_get_spsr_for_bl32_entry(void);
|
|
uint32_t rpi3_get_spsr_for_bl33_entry(void);
|
|
|
|
/* IO storage utility functions */
|
|
void plat_rpi3_io_setup(void);
|
|
|
|
/* Hardware RNG functions */
|
|
void rpi3_rng_read(void *buf, size_t len);
|
|
|
|
/* VideoCore firmware commands */
|
|
int rpi3_vc_hardware_get_board_revision(uint32_t *revision);
|
|
|
|
#endif /*__RPI3_PRIVATE_H__ */
|