Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
14 results

cpu.c

  • Paul Burton's avatar
    2b8bcc5a
    MIPS: avoid .set ISA for cache operations · 2b8bcc5a
    Paul Burton authored
    
    As a step towards unifying the cache maintenance code for mips32 &
    mips64 CPUs, stop using ".set <ISA>" directives in the more developed
    mips32 version of the code. Instead, when present make use of the GCC
    builtin for emitting a cache instruction. When not present, simply don't
    bother with the .set directives since U-boot always builds with
    -march=mips32 or higher anyway.
    
    Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
    Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
    2b8bcc5a
    History
    MIPS: avoid .set ISA for cache operations
    Paul Burton authored
    
    As a step towards unifying the cache maintenance code for mips32 &
    mips64 CPUs, stop using ".set <ISA>" directives in the more developed
    mips32 version of the code. Instead, when present make use of the GCC
    builtin for emitting a cache instruction. When not present, simply don't
    bother with the .set directives since U-boot always builds with
    -march=mips32 or higher anyway.
    
    Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
    Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>