]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mach-k3: am642: Fix reset for workaround errata ID i2331
authorAndrew Davis <afd@ti.com>
Thu, 18 Apr 2024 17:58:28 +0000 (12:58 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 29 Apr 2024 16:53:56 +0000 (10:53 -0600)
commit4b3706607c0015ba99a86d8631446564c117e06a
treeba408f7eea7ad455b34909b0a598f042c68d5bf1
parent3104b162632382c335aaed11a39b85a3f2f818f2
arm: mach-k3: am642: Fix reset for workaround errata ID i2331

To workaround an issue in AM642 we reset the SoC in early boot. For that
we first probed the sysreset driver by calling uclass_get_device(). The
ti-sci sysreset driver is now probed during the ti-sci firmware probe.
Update this call to probe the firmware driver which will then probe
the sysreset driver allowing do_reset() to again function as expected.

Reported-by: Jonathan Humphreys <j-humphreys@ti.com>
Fixes: fc5d40283483 ("firmware: ti_sci: Bind sysreset driver when enabled")
Signed-off-by: Andrew Davis <afd@ti.com>
Tested-by: Wadim Egorov <w.egorov@phytec.de>
Tested-by: Kamlesh Gurudasani <kamlesh@ti.com>
arch/arm/mach-k3/am642_init.c