summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/armv8
diff options
context:
space:
mode:
authorAlison Wang <b18965@freescale.com>2015-11-05 11:15:49 +0800
committerYork Sun <yorksun@freescale.com>2015-11-30 09:11:11 -0800
commitd764129d30768df72cd07844dd50d11e74b0de14 (patch)
tree92ea1506c470dd8f0f04928858e57d4017b65272 /arch/arm/include/asm/armv8
parent61bd2f75f5eaf645e2c90fe2294cba37f7d8627f (diff)
downloadtalos-obmc-uboot-d764129d30768df72cd07844dd50d11e74b0de14.tar.gz
talos-obmc-uboot-d764129d30768df72cd07844dd50d11e74b0de14.zip
armv8/layerscape: Update MMU table with execute-never bits
For most device addresses excution shouldn't be allowed. Revise the MMU table to enforce execute-never bits. OCRAM, DDR and IFC are allowed for excution. Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Alison Wang <alison.wang@freescale.com> Reported-by: Zhichun Hua <zhichun.hua@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/armv8')
-rw-r--r--arch/arm/include/asm/armv8/mmu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h
index d8d9af45db..2e2a3a8226 100644
--- a/arch/arm/include/asm/armv8/mmu.h
+++ b/arch/arm/include/asm/armv8/mmu.h
@@ -119,7 +119,7 @@
void set_pgtable_section(u64 *page_table, u64 index,
u64 section, u64 memory_type,
- u64 share);
+ u64 attribute);
void set_pgtable_table(u64 *page_table, u64 index,
u64 *table_addr);
OpenPOWER on IntegriCloud