• John Tsichritzis's avatar
    Add compile-time errors for HW_ASSISTED_COHERENCY flag · 076b5f02
    John Tsichritzis authored
    This patch fixes this issue:
    https://github.com/ARM-software/tf-issues/issues/660
    
    
    
    The introduced changes are the following:
    
    1) Some cores implement cache coherency maintenance operation on the
    hardware level. For those cores, such as - but not only - the DynamIQ
    cores, it is mandatory that TF-A is compiled with the
    HW_ASSISTED_COHERENCY flag. If not, the core behaviour at runtime is
    unpredictable. To prevent this, compile time checks have been added and
    compilation errors are generated, if needed.
    
    2) To enable this change for FVP, a logical separation has been done for
    the core libraries. A system cannot contain cores of both groups, i.e.
    cores that manage coherency on hardware and cores that don't do it. As
    such, depending on the HW_ASSISTED_COHERENCY flag, FVP includes the
    libraries only of the relevant cores.
    
    3) The neoverse_e1.S file has been added to the FVP sources.
    
    Change-Id: I787d15819b2add4ec0d238249e04bf0497dc12f3
    Signed-off-by: default avatarJohn Tsichritzis <john.tsichritzis@arm.com>
    076b5f02
platform.mk 8.5 KB