armv8/ls1043a: enable workaround for errarum A009942
[platform/kernel/u-boot.git] / arch / arm / lib / cache-cp15.c
index c65e068..8e18538 100644 (file)
@@ -96,7 +96,7 @@ static inline void mmu_setup(void)
                dram_bank_mmu_setup(i);
        }
 
-#ifdef CONFIG_ARMV7
+#ifdef CONFIG_CPU_V7
        /* Set TTBR0 */
        reg = gd->arch.tlb_addr & TTBR0_BASE_ADDR_MASK;
 #if defined(CONFIG_SYS_ARM_CACHE_WRITETHROUGH)