Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
5acb7932
Unverified
Commit
5acb7932
authored
Aug 31, 2018
by
Dimitris Papastamos
Committed by
GitHub
Aug 31, 2018
Browse files
Merge pull request #1550 from danielboulby-arm/db/weakdefs
Prevent two weak definitions of the same function
parents
708531cf
490eeb04
Changes
2
Hide whitespace changes
Inline
Side-by-side
plat/arm/board/juno/juno_bl2_setup.c
View file @
5acb7932
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
* boot flow as the core comes up in aarch64 and to enter the BL32 image a warm
* boot flow as the core comes up in aarch64 and to enter the BL32 image a warm
* reset in aarch32 state is required.
* reset in aarch32 state is required.
******************************************************************************/
******************************************************************************/
int
bl2_plat_handle_post_image_load
(
unsigned
int
image_id
)
int
arm_
bl2_plat_handle_post_image_load
(
unsigned
int
image_id
)
{
{
int
err
=
arm_bl2_handle_post_image_load
(
image_id
);
int
err
=
arm_bl2_handle_post_image_load
(
image_id
);
...
...
plat/arm/common/arm_bl2_setup.c
View file @
5acb7932
...
@@ -42,7 +42,7 @@ CASSERT(BL2_BASE >= ARM_TB_FW_CONFIG_LIMIT, assert_bl2_base_overflows);
...
@@ -42,7 +42,7 @@ CASSERT(BL2_BASE >= ARM_TB_FW_CONFIG_LIMIT, assert_bl2_base_overflows);
#if LOAD_IMAGE_V2
#if LOAD_IMAGE_V2
#pragma weak bl2_plat_handle_post_image_load
#pragma weak
arm_
bl2_plat_handle_post_image_load
#else
/* LOAD_IMAGE_V2 */
#else
/* LOAD_IMAGE_V2 */
...
@@ -328,11 +328,16 @@ int arm_bl2_handle_post_image_load(unsigned int image_id)
...
@@ -328,11 +328,16 @@ int arm_bl2_handle_post_image_load(unsigned int image_id)
* This function can be used by the platforms to update/use image
* This function can be used by the platforms to update/use image
* information for given `image_id`.
* information for given `image_id`.
******************************************************************************/
******************************************************************************/
int
bl2_plat_handle_post_image_load
(
unsigned
int
image_id
)
int
arm_
bl2_plat_handle_post_image_load
(
unsigned
int
image_id
)
{
{
return
arm_bl2_handle_post_image_load
(
image_id
);
return
arm_bl2_handle_post_image_load
(
image_id
);
}
}
int
bl2_plat_handle_post_image_load
(
unsigned
int
image_id
)
{
return
arm_bl2_plat_handle_post_image_load
(
image_id
);
}
#else
/* LOAD_IMAGE_V2 */
#else
/* LOAD_IMAGE_V2 */
/*******************************************************************************
/*******************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment