]> git.dujemihanovic.xyz Git - u-boot.git/commit
misc: ele_mu: Clear RR when initialize MU
authorPeng Fan <peng.fan@nxp.com>
Sun, 6 Oct 2024 00:22:51 +0000 (08:22 +0800)
committerFabio Estevam <festevam@denx.de>
Sun, 13 Oct 2024 12:43:05 +0000 (09:43 -0300)
commite7431340743962b4cfaffda95016c55bd2df297a
treef06eac963053d87bc884cb4b437ee606da74ed12
parent2630ceecef9d0de1cd037c5b64679ac7a89e2f9c
misc: ele_mu: Clear RR when initialize MU

When OS is doing ELE API call, before OS get the response, OS is force
reseted, then it is possible that MU RR has data during initialization
in SPL stage. So clear the RR registers, otherwise SPL ELE API call will
work abnormal.

Cc: Alice Guo <alice.guo@nxp.com>
Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/misc/imx_ele/ele_mu.c