Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
12740 commits behind the upstream repository.
  • Paul Burton's avatar
    8cb4817d
    MIPS: Probe cache line sizes once during boot · 8cb4817d
    Paul Burton authored
    
    Rather than probing the cache line sizes on every call of any cache
    maintenance function, probe them once during boot & store the values in
    the global data structure for later use. This will reduce the overhead
    of the cache maintenance functions, which isn't a big deal yet but
    becomes more important once L2 caches which may expose their properties
    via coprocessor 2 or the CM are supported.
    
    Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
    8cb4817d
    History
    MIPS: Probe cache line sizes once during boot
    Paul Burton authored
    
    Rather than probing the cache line sizes on every call of any cache
    maintenance function, probe them once during boot & store the values in
    the global data structure for later use. This will reduce the overhead
    of the cache maintenance functions, which isn't a big deal yet but
    becomes more important once L2 caches which may expose their properties
    via coprocessor 2 or the CM are supported.
    
    Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
cache.c 2.41 KiB