From: Marek Vasut Date: Tue, 29 Dec 2015 18:44:02 +0000 (+0100) Subject: arm: Remove S bit from MMU section entry X-Git-Tag: v2016.03-rc1~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8890c2fbe6ed4c5ca9a61f21e846a55f8f2c38fc;p=platform%2Fkernel%2Fu-boot.git arm: Remove S bit from MMU section entry Restore the old behavior of the MMU section entries configuration, which is without the S-bit. Signed-off-by: Marek Vasut Cc: Tom Rini Cc: Albert Aribaud Cc: Simon Glass --- diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h index ab73821..026e7ef 100644 --- a/arch/arm/include/asm/system.h +++ b/arch/arm/include/asm/system.h @@ -274,8 +274,7 @@ static inline void set_dacr(unsigned int val) /* options available for data cache on each page */ enum dcache_option { - DCACHE_OFF = TTB_SECT_S_MASK | TTB_SECT_DOMAIN(0) | - TTB_SECT_XN_MASK | TTB_SECT, + DCACHE_OFF = TTB_SECT_DOMAIN(0) | TTB_SECT_XN_MASK | TTB_SECT, DCACHE_WRITETHROUGH = DCACHE_OFF | TTB_SECT_C_MASK, DCACHE_WRITEBACK = DCACHE_WRITETHROUGH | TTB_SECT_B_MASK, DCACHE_WRITEALLOC = DCACHE_WRITEBACK | TTB_SECT_TEX(1),