• Arnd Bergmann's avatar
    ARM: cache-tauros2: remove ARMv6 code · 027f3f96
    Arnd Bergmann authored
    When building a kernel with support for both ARMv6 and ARMv7 but
    no MMU, the call from tauros2_internal_init to adjust_cr causes
    a link error. While that could probably be resolved, we don't
    actually support cache-tauros2 on ARMv6 any more. All PJ4 CPU
    implementations support both ARMv6 and ARMv7 and we already assume
    that we are using them only in ARMv7 mode.
    
    Removing the ARMv6 code path reduces the code size and avoids
    the linker error.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Acked-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
    027f3f96
cache-tauros2.c 6.93 KB