mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
correct some missing-prototype warnings
This avoids the following warnings: no previous prototype for 'bl2_arch_setup' [-Wmissing-prototypes] no previous prototype for 'plat_log_get_prefix' [-Wmissing-prototypes] Also correct a compilation issue if BL2_IN_XIP_MEM is enabled: uintptr_t is not defined. Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
This commit is contained in:
parent
b7c6529c41
commit
1b18c6c471
3 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "../bl2_private.h"
|
||||
|
||||
/*******************************************************************************
|
||||
* Place holder function to perform any Secure SVC specific architectural
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
#define BL2_PRIVATE_H
|
||||
|
||||
#if BL2_IN_XIP_MEM
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/*******************************************************************************
|
||||
* Declarations of linker defined symbols which will tell us where BL2 lives
|
||||
* in Trusted ROM and RAM
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <debug.h>
|
||||
#include <platform.h>
|
||||
|
||||
/* Allow platforms to override the log prefix string */
|
||||
#pragma weak plat_log_get_prefix
|
||||
|
|
Loading…
Add table
Reference in a new issue