arm: remove TTB_SECT_XN_MASK in DCACHE_WRITETHROUGH
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 5 Feb 2021 12:53:34 +0000 (13:53 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 2 Mar 2021 20:53:37 +0000 (15:53 -0500)
commit342e1abd5c009cb2e119965415eabb7aa5e4dcd9
tree627560791fac2bd88d0c94a4958af625e0461f9b
parentaad84147945f27fffeccb84053399ff11447c9d6
arm: remove TTB_SECT_XN_MASK in DCACHE_WRITETHROUGH

The normal memory (other that DCACHE_OFF) should be executable by default,
only the device memory (DCACHE_OFF) used for peripheral access should have
the bit execute never (TTB_SECT_XN_MASK).

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/include/asm/system.h