firmware: imx: add resource management api
authorPeng Fan <peng.fan@nxp.com>
Fri, 5 Jun 2020 01:59:31 +0000 (09:59 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 23 Jun 2020 07:37:56 +0000 (15:37 +0800)
commit169caf692567897da35382503a5caeb64ab4b8c7
tree985ef9759dfbb337579796f51cab5b18adaf0f49
parenta8dfca1e714fcc8faf3e45453d6e2687db8da727
firmware: imx: add resource management api

Add resource management API, when we have multiple
partition running together, resources not owned to current
partition should not be used.

Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/firmware/imx/Makefile
drivers/firmware/imx/rm.c [new file with mode: 0644]
include/linux/firmware/imx/sci.h
include/linux/firmware/imx/svc/rm.h [new file with mode: 0644]