imx8m: restrict reset_cpu
authorPeng Fan <peng.fan@nxp.com>
Tue, 27 Aug 2019 06:25:41 +0000 (06:25 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:36 +0000 (16:36 +0200)
commitd2041725e84b6796d12a0ea587e6ed84dee8a59f
tree6a6aaae731dd3dabcfd89ff7d00015464fffed59
parent0528ba0e1c4f879278d597b1aeaf1bf31a943f75
imx8m: restrict reset_cpu

Make reset_cpu only visible when CONFIG_SYSRESET not defined
or CONFIG_SPL_BUILD.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/soc.c