Skip to content
  • Linus Walleij's avatar
    ARM: davinci: fix cache flush build error · 897a6a1a
    Linus Walleij authored
    
    
    The TNET variant of DaVinci compiles some code that it shares
    with other DaVinci variants, however it has a V6 CPU rather than
    an ARM926T, thus the hardcoded call to arm926_flush_kern_cache_all()
    in sleep.S will obviously fail, and we need to build with the
    v6_flush_kern_cache_all() call instead. This was triggered by
    manually altering the DaVinci config to build the TNET version.
    
    Cc: Dave Martin <dave.martin@linaro.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
    Cc: stable@kernel.org
    897a6a1a