ARM: imx8m: Don't use the addr parameter of reset_cpu()
authorClaudius Heine <ch@denx.de>
Wed, 29 Apr 2020 13:04:23 +0000 (15:04 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 1 May 2020 11:46:22 +0000 (13:46 +0200)
commitc5635a032a4bc63148c3ecd09c4cc49632b4fa4a
treeef016ad88abf091c606c98cae164c79c2fa02a03
parent568af926792b1862028a8f1d3599b12b1e150bbf
ARM: 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-developed-by: Harald Seiler <hws@denx.de>
Signed-off-by: Harald Seiler <hws@denx.de>
Signed-off-by: Claudius Heine <ch@denx.de>
arch/arm/mach-imx/imx8m/soc.c