diff options
author | Dan Handley <dan.handley@arm.com> | 2014-05-15 14:11:36 +0100 |
---|---|---|
committer | Achin Gupta <achin.gupta@arm.com> | 2014-05-23 17:18:54 +0100 |
commit | dec5e0d1da9fdfe68cea4fbeb096f93e43860493 (patch) | |
tree | 36124ce6017a1ce1c500f874d07c507086588ff3 /include/common | |
parent | 5f0cdb059d7d5c3a8a834074a7f236b85d014dde (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 'include/common')
-rw-r--r-- | include/common/bl_common.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/common/bl_common.h b/include/common/bl_common.h index 79f2329..2f3bade 100644 --- a/include/common/bl_common.h +++ b/include/common/bl_common.h @@ -196,13 +196,6 @@ CASSERT(sizeof(unsigned long) == ******************************************************************************/ unsigned long page_align(unsigned long, unsigned); void change_security_state(unsigned int); -void init_bl2_mem_layout(meminfo_t *, - meminfo_t *, - unsigned int, - unsigned long) __attribute__((weak)); -void init_bl31_mem_layout(const meminfo_t *, - meminfo_t *, - unsigned int) __attribute__((weak)); unsigned long image_size(const char *); int load_image(meminfo_t *, const char *, @@ -210,7 +203,6 @@ int load_image(meminfo_t *, unsigned long, image_info_t *, entry_point_info_t *); -unsigned long *get_el_change_mem_ptr(void); extern const char build_message[]; #endif /*__ASSEMBLY__*/ |