]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: imx8m: Fix reset in SPL on NXP iMX8MN EVK
authorMarek Vasut <marex@denx.de>
Wed, 29 Apr 2020 13:04:25 +0000 (15:04 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 1 May 2020 11:46:22 +0000 (13:46 +0200)
commitb0320616a057766a8e9205d88ae760ebab7664b9
tree057b7f9e70252f994858a29bae5d7f03783d80df
parent29e6a289328c479249d6b4b07aa05e52ac15b219
ARM: imx8m: Fix reset in SPL on NXP iMX8MN EVK

Board files should not re-implement do_reset() to work around this
function not being defined in for specific configurations. Rather,
the fix is to compile in drivers which implement this properly.
This patch enables sysreset and watchdog drivers in SPL and ties
them together to implement the same as the do_reset() hack in the
board file, except correctly in the DM/DT framework.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Flavio Suligoi <f.suligoi@asem.it>
Cc: Harald Seiler <hws@denx.de>
Cc: Igor Opaniuk <igor.opaniuk@toradex.com>
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi
configs/imx8mn_ddr4_evk_defconfig