Skip to content

ufs: amd-versal2: Cleanup firmware interface

Michal Simek u-boot 1 version Applied

Status from this message: applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3ufs: amd-versal2: Perform controller reset in the init callbackdrivers/ufs/ufs-amd-versal2.c+38 -480 replies
2/3xilinx: versal2: Clean UFS firmware interfacearch/arm/mach-versal2/cpu.c arch/arm/mach-versal2/include/mach/hardware.h arch/arm/mach-versal2/include/mach/sys_proto.h +2 more+95 -970 replies
3/3ufs: amd-versal2: Remove ZYNQMP_FIRMWARE dependencydrivers/ufs/Kconfig+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ufs: amd-versal2: Cleanup firmware interface

Hi,

the first patch mainly alignment with Linux kernel version. Issue was related to IRQ handling which is not valid reason for U-Boot but still correcting sequence make sense.

The second patch is moving firmware handling out of UFS driver. UFS driver cares about delivering functionality. And doesn't really matter how exactly it is done. If it is done via firmware interface, via IO polling or in a different way. That's why move loops out of UFS driver to be able to use different interfaces for it.

The third patch is just Kconfig update.

The series is based on
https://patchwork.ozlabs.org/project/uboot/patch/6419fe4f6f1f451aee624c7762b7aa690d50e498.1784870711.git.michal.simek@amd.com/

Thanks,
Michal

Michal Simek (3):
ufs: amd-versal2: Perform controller reset in the init callback
xilinx: versal2: Clean UFS firmware interface
ufs: amd-versal2: Remove ZYNQMP_FIRMWARE dependency

 arch/arm/mach-versal2/cpu.c                   |  34 +++--
 arch/arm/mach-versal2/include/mach/hardware.h |   5 +
 .../arm/mach-versal2/include/mach/sys_proto.h |   8 +-
 drivers/firmware/firmware-zynqmp.c            |  72 ++++++----
 drivers/ufs/Kconfig                           |   2 +-
 drivers/ufs/ufs-amd-versal2.c                 | 129 ++++++------------
 6 files changed, 119 insertions(+), 131 deletions(-)

---
base-commit: 7e24149aacb83335fa997e2457144f23ba5e1bda

Signature · 1 line
2.43.0