• John Tsichritzis's avatar
    Apply compile-time check for AArch64-only cores · 629d04f5
    John Tsichritzis authored
    
    
    Some cores support only AArch64 mode. In those cores, only a limited
    subset of the AArch32 system registers are implemented. Hence, if TF-A
    is supposed to run on AArch64-only cores, it must be compiled with
    CTX_INCLUDE_AARCH32_REGS=0.
    
    Currently, the default settings for compiling TF-A are with the AArch32
    system registers included. So, if we compile TF-A the default way and
    attempt to run it on an AArch64-only core, we only get a runtime panic.
    
    Now a compile-time check has been added to ensure that this flag has the
    appropriate value when AArch64-only cores are included in the build.
    
    Change-Id: I298ec550037fafc9347baafb056926d149197d4c
    Signed-off-by: default avatarJohn Tsichritzis <john.tsichritzis@arm.com>
    629d04f5
platform.mk 8.62 KB