• Dan Handley's avatar
    Move BL porting functions into platform.h · dec5e0d1
    Dan Handley authored
    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
    dec5e0d1
bl2_plat_setup.c 11.6 KB