imx: imx8m: Don't use the addr parameter of reset_cpu
authorClaudius Heine <ch@denx.de>
Wed, 4 Mar 2020 14:23:12 +0000 (15:23 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 1 May 2020 11:46:22 +0000 (13:46 +0200)
commit3675d93875df54532681450140a536d93b30de95
tree9e7a26c9a31926dc72c4563087c8a86b8995416d
parentb9bb1d06e2623a9e42db72ab269aac615d56a336
imx: imx8m: Don't use the addr parameter of reset_cpu

imx8m has the only implementation of `reset_cpu` which does not ignore
the addr parameter and instead gives it some meaning as the base address
of watchdog registers.  This breaks convention with the rest of U-Boot
where the parameter is ignored and callers are passing in 0.

Fixes: d2041725e84b ("imx8m: restrict reset_cpu")
Co-Authored-by: Harald Seiler <hws@denx.de>
Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Harald Seiler <hws@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/arm/mach-imx/imx8m/soc.c