• Masahiro Yamada's avatar
    Build: add generic way to include SCP_BL2 into FIP image · 4d045d0e
    Masahiro Yamada authored
    
    
    If SCP_BL2 is passed in from the command line, it is recognized by
    make_helpers/tbbr/tbbr_tools.mk, and the cert_create tool generates
    the corresponding key and content certificates.
    
    On the other hand, the top-level Makefile does not care SCP_BL2, so
    the --scp-fw option is not passed to the fiptool.  As far as I see
    plat/arm/css/common/css_common.mk, it looks like a platform's job to
    add $(eval $(call FIP_ADD_IMG,SCP_BL2,--scp-fw)).
    
    We can make the top-level Makefile kind enough to take care of it.
    This is useful when we want to have optional SCP_BL2 firmware.
    
    Adjust css_common.mk so that Juno still requires SCP_BL2 by default.
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    4d045d0e
css_common.mk 3.12 KB