summaryrefslogtreecommitdiff
path: root/bl2/bl2_main.c
diff options
context:
space:
mode:
authorDan Handley <dan.handley@arm.com>2014-05-15 14:11:36 +0100
committerAchin Gupta <achin.gupta@arm.com>2014-05-23 17:18:54 +0100
commitdec5e0d1da9fdfe68cea4fbeb096f93e43860493 (patch)
tree36124ce6017a1ce1c500f874d07c507086588ff3 /bl2/bl2_main.c
parent5f0cdb059d7d5c3a8a834074a7f236b85d014dde (diff)
Move BL porting functions into platform.h
Some platform porting functions were in BL specific header files. These have been moved to platform.h so that all porting functions are in the same place. The functions are now grouped by BL. Obsolete BL headers files have been removed. Also, the weak declaration of the init_bl2_mem_layout() function has been moved out the header file and into the source file (bl_common.c) using the more succinct #pragma syntax. This mitigates the risk of 2 weak definitions being created and the wrong one being picked up by the compiler. Change-Id: Ib19934939fd755f3e5a5a5bceec88da684308a83
Diffstat (limited to 'bl2/bl2_main.c')
-rw-r--r--bl2/bl2_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bl2/bl2_main.c b/bl2/bl2_main.c
index 55ae3c0e..46c70a12 100644
--- a/bl2/bl2_main.c
+++ b/bl2/bl2_main.c
@@ -32,7 +32,6 @@
#include <arch_helpers.h>
#include <assert.h>
#include <bl_common.h>
-#include <bl2.h>
#include <debug.h>
#include <platform.h>
#include <platform_def.h>