• Sandrine Bailleux's avatar
    Always enable CCI coherency in BL3-1 · a6695275
    Sandrine Bailleux authored
    On ARM standard platforms, snoop and DVM requests used to be enabled
    for the primary CPU's cluster only in the first EL3 bootloader.
    In other words, if the platform reset into BL1 then CCI coherency
    would be enabled by BL1 only, and not by BL3-1 again.
    
    However, this doesn't cater for platforms that use BL3-1 along with
    a non-TF ROM bootloader that doesn't enable snoop and DVM requests.
    In this case, CCI coherency is never enabled.
    
    This patch modifies the function bl31_early_platform_setup() on
    ARM standard platforms so that it always enables snoop and DVM
    requests regardless of whether earlier bootloader stages have
    already done it. There is no harm in executing this code twice.
    
    ARM Trusted Firmware Design document updated accordingly.
    
    Change-Id: Idf1bdeb24d2e1947adfbb76a509f10beef224e1c
    a6695275
firmware-design.md 80.5 KB