Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
37811 commits behind the upstream repository.
  • Paul Burton's avatar
    4baa0ab6
    MIPS: L2 cache support · 4baa0ab6
    Paul Burton authored
    
    This patch adds support for initialising & maintaining L2 caches on MIPS
    systems. The L2 cache configuration may be advertised through either
    coprocessor 0 or the MIPS Coherence Manager depending upon the system,
    and support for both is included.
    
    If the L2 can be bypassed then we bypass it early in boot & initialise
    the L1 caches first, such that we can start making use of the L1
    instruction cache as early as possible. Otherwise we initialise the L2
    first such that the L1s have no opportunity to generate access to the
    uninitialised L2.
    
    Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
    4baa0ab6
    History
    MIPS: L2 cache support
    Paul Burton authored
    
    This patch adds support for initialising & maintaining L2 caches on MIPS
    systems. The L2 cache configuration may be advertised through either
    coprocessor 0 or the MIPS Coherence Manager depending upon the system,
    and support for both is included.
    
    If the L2 can be bypassed then we bypass it early in boot & initialise
    the L1 caches first, such that we can start making use of the L1
    instruction cache as early as possible. Otherwise we initialise the L2
    first such that the L1s have no opportunity to generate access to the
    uninitialised L2.
    
    Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>