diff options
author | Yann Gautier <yann.gautier@st.com> | 2018-12-10 10:41:03 +0100 |
---|---|---|
committer | Yann Gautier <yann.gautier@st.com> | 2018-12-10 18:09:49 +0100 |
commit | 1b18c6c47185fd83682c77de510c43d8d5d200df (patch) | |
tree | 7d5d3b7f68e2c5653e0c73e1a90c71667828af48 /bl2 | |
parent | b7c6529c412d53b74e2a1fb6a7b1a70438a02802 (diff) |
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>
Diffstat (limited to 'bl2')
-rw-r--r-- | bl2/aarch32/bl2_arch_setup.c | 1 | ||||
-rw-r--r-- | bl2/bl2_private.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bl2/aarch32/bl2_arch_setup.c b/bl2/aarch32/bl2_arch_setup.c index db8a068a..4fd8d072 100644 --- a/bl2/aarch32/bl2_arch_setup.c +++ b/bl2/aarch32/bl2_arch_setup.c @@ -4,6 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "../bl2_private.h" /******************************************************************************* * Place holder function to perform any Secure SVC specific architectural diff --git a/bl2/bl2_private.h b/bl2/bl2_private.h index 7fd17bfe..01f6c6bd 100644 --- a/bl2/bl2_private.h +++ b/bl2/bl2_private.h @@ -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 |