I will re-structure the patches as you suggested for driver and also separate the device tree node patches to avoid clutter.Signed-off-by: Martyn Welch<martyn.welch@xxxxxxxxxxxxx>This patch is hard to follow because of all the things it does. Please do the
Signed-off-by: Hari Nagalla<hnagalla@xxxxxx>
---
Changes since v2:
- New patch (reordered refactored from v2)
Changes since v3:
- Removed "ipc_only" element from k3_rproc structure
- Refactored to bring 3 more common functions
Changes since v4:
- None
drivers/remoteproc/Makefile | 2 +-
drivers/remoteproc/ti_k3_common.c | 513 +++++++++++++++++++
drivers/remoteproc/ti_k3_common.h | 103 ++++
drivers/remoteproc/ti_k3_dsp_remoteproc.c | 598 ++--------------------
4 files changed, 646 insertions(+), 570 deletions(-)
create mode 100644 drivers/remoteproc/ti_k3_common.c
create mode 100644 drivers/remoteproc/ti_k3_common.h
structures in one patch and the functions in another.