diff options
author | Alison Wang <b18965@freescale.com> | 2015-11-05 11:15:49 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-11-30 09:11:11 -0800 |
commit | d764129d30768df72cd07844dd50d11e74b0de14 (patch) | |
tree | 92ea1506c470dd8f0f04928858e57d4017b65272 /arch/arm/cpu/armv8/fsl-layerscape | |
parent | 61bd2f75f5eaf645e2c90fe2294cba37f7d8627f (diff) | |
download | u-boot-imx-d764129d30768df72cd07844dd50d11e74b0de14.zip u-boot-imx-d764129d30768df72cd07844dd50d11e74b0de14.tar.gz u-boot-imx-d764129d30768df72cd07844dd50d11e74b0de14.tar.bz2 |
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/cpu/armv8/fsl-layerscape')
-rw-r--r-- | arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c index c6e00b8..571ee7b 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c @@ -76,7 +76,7 @@ static int set_block_entry(const struct sys_mmu_table *list, index, block_addr, list->memory_type, - list->share); + list->attribute); block_addr += block_size; index++; } |