projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a903e13
)
imx8: ahab: fix 'end address' parameter of rm_find_memreg
author
Peng Fan
<peng.fan@nxp.com>
Wed, 22 Apr 2020 07:36:34 +0000
(15:36 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Fri, 1 May 2020 11:46:21 +0000
(13:46 +0200)
parameter 'end address' must be inclusive of address range.
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8/ahab.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/imx8/ahab.c
b/arch/arm/mach-imx/imx8/ahab.c
index
361c578
..
89544b3
100644
(file)
--- a/
arch/arm/mach-imx/imx8/ahab.c
+++ b/
arch/arm/mach-imx/imx8/ahab.c
@@
-97,7
+97,7
@@
int authenticate_os_container(ulong addr)
img->size);
s = img->dst & ~(CONFIG_SYS_CACHELINE_SIZE - 1);
- e = ALIGN(img->dst + img->size, CONFIG_SYS_CACHELINE_SIZE);
+ e = ALIGN(img->dst + img->size, CONFIG_SYS_CACHELINE_SIZE)
- 1
;
flush_dcache_range(s, e);