Merge "xlat_table_v2: Fix enable WARMBOOT_ENABLE_DCACHE_EARLY config" into integration
authorSoby Mathew <soby.mathew@arm.com>
Mon, 21 Oct 2019 12:10:16 +0000 (12:10 +0000)
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>
Mon, 21 Oct 2019 12:10:16 +0000 (12:10 +0000)
lib/xlat_tables_v2/xlat_tables_utils.c

index 232142e84cd517710e99f8849b4c69290cb2d09e..30babc63f11b0b99bd9c06a1964caca9854f4e08 100644 (file)
@@ -551,7 +551,7 @@ int xlat_change_mem_attributes_ctx(const xlat_ctx_t *ctx, uintptr_t base_va,
                 * before writing the new descriptor.
                 */
                *entry = INVALID_DESC;
-#if !(HW_ASSISTED_COHERENCY || WARMBOOT_ENABLE_DCACHE_EARLY)
+#if !HW_ASSISTED_COHERENCY
                dccvac((uintptr_t)entry);
 #endif
                /* Invalidate any cached copy of this mapping in the TLBs. */
@@ -562,7 +562,7 @@ int xlat_change_mem_attributes_ctx(const xlat_ctx_t *ctx, uintptr_t base_va,
 
                /* Write new descriptor */
                *entry = xlat_desc(ctx, new_attr, addr_pa, level);
-#if !(HW_ASSISTED_COHERENCY || WARMBOOT_ENABLE_DCACHE_EARLY)
+#if !HW_ASSISTED_COHERENCY
                dccvac((uintptr_t)entry);
 #endif
                base_va += PAGE_SIZE;