projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6beb2df
)
LF-3161-2 mx6ul: bee: Remove XN bit for bee enabled region
author
Ye Li
<ye.li@nxp.com>
Wed, 13 Jan 2021 08:16:26 +0000
(
00:16
-0800)
committer
Ye Li
<ye.li@nxp.com>
Thu, 29 Apr 2021 10:26:23 +0000
(
03:26
-0700)
We will test a program on BEE enabled region, so remove XN bit
to allow execution when current MMU domain is changed to client.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit
e4bd1734bcba2012d4d7dea7598635256f155c96
)
(cherry picked from commit
ebae18a52c57ffdc087902233d24b650bc886d82
)
arch/arm/mach-imx/mx6/bee.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/mx6/bee.c
b/arch/arm/mach-imx/mx6/bee.c
index
a3489f7
..
641c038
100644
(file)
--- a/
arch/arm/mach-imx/mx6/bee.c
+++ b/
arch/arm/mach-imx/mx6/bee.c
@@
-275,9
+275,9
@@
static int do_bee_init(cmd_tbl_t *cmdtp, int flag, int argc,
struct bee_parameters *p = ¶
#if defined(CONFIG_SYS_ARM_CACHE_WRITETHROUGH)
- enum dcache_option option = DCACHE_WRITETHROUGH;
+ enum dcache_option option = DCACHE_WRITETHROUGH
& ~TTB_SECT_XN_MASK
;
#else
- enum dcache_option option = DCACHE_WRITEBACK;
+ enum dcache_option option = DCACHE_WRITEBACK
& ~TTB_SECT_XN_MASK
;
#endif
if (argc > 5)