mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 17:52:07 +02: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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user