]> git.sur5r.net Git - u-boot/commitdiff
arm: Remove S bit from MMU section entry
authorMarek Vasut <marex@denx.de>
Tue, 29 Dec 2015 18:44:02 +0000 (19:44 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 31 Jan 2016 15:32:56 +0000 (16:32 +0100)
Restore the old behavior of the MMU section entries configuration,
which is without the S-bit.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/system.h

index ab73821f6ce5b9cdfc9711bdb0e394ec1b3f4b8c..026e7ef83bb5017d3d3d88d1c4f58962894252c5 100644 (file)
@@ -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),