The ZynqMP reset assertion helper currently resides in
drivers/reset/reset-zynqmp.c, even though the driver is built only when
CONFIG_ZYNQMP_FIRMWARE is enabled and the implementation is entirely
firmware-backed. This series moves zynqmp_pm_reset_assert() into
firmware-zynqmp.c, alongside the rest of the PM firmware interfaces.
 
With the helper residing in the firmware driver, reset_cpu() is updated
to invoke zynqmp_pm_reset_assert() directly rather than issuing the PM
request itself or relying on the reset uclass. This is important for
boot flows where reset_cpu() may be called before the reset framework is
available.

Akshay Belsare (2):
  reset: zynqmp: move reset assert helper into firmware driver
  board: xilinx: zynqmp: use reset assert helper in reset_cpu()

 board/xilinx/zynqmp/zynqmp.c       | 7 +++----
 drivers/firmware/firmware-zynqmp.c | 7 +++++++
 drivers/reset/reset-zynqmp.c       | 7 -------
 include/zynqmp_firmware.h          | 2 ++
 4 files changed, 12 insertions(+), 11 deletions(-)

-- 
2.34.1

Reply via email to