mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
imx8: ahab: fix 'end address' parameter of rm_find_memreg
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>
This commit is contained in:
parent
a903e13f97
commit
abf7752c40
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ int authenticate_os_container(ulong addr)
|
||||||
img->size);
|
img->size);
|
||||||
|
|
||||||
s = img->dst & ~(CONFIG_SYS_CACHELINE_SIZE - 1);
|
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);
|
flush_dcache_range(s, e);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue