MLK-23718-2 imx8: ahab: fix 'end address' parameter of rm_find_memreg
authorSeb Fagard <sebastien.fagard@nxp.com>
Mon, 30 Mar 2020 15:12:22 +0000 (17:12 +0200)
committerYe Li <ye.li@nxp.com>
Thu, 29 Apr 2021 10:25:57 +0000 (03:25 -0700)
commitb0cabd635f4bb3580db7d3c41c997990d0dc6d4f
tree89c6f20fe199792c162a487fe5316be03260cfb3
parente9d4459aee1433cc271b48c3ab7adb9de773b45a
MLK-23718-2 imx8: ahab: fix 'end address' parameter of rm_find_memreg

parameter 'end address' must be inclusive of address range.
And include cpu_func.h header file

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit d17ae0d28de88bb637f6c1df5ba5c6d4f0779055)
(cherry picked from commit 489e2f897242beaa4b8a05d95efe55fdb16e4376)
arch/arm/mach-imx/imx8/ahab.c