summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/k3_system_controller.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-09-30 09:07:06 -0400
committerTom Rini <trini@konsulko.com>2020-09-30 09:07:06 -0400
commit527fad0b2484bf1dd4c443c4c8f4384aa256938f (patch)
treee50b2e3551ce9ac05713b1204e63faea793e94f7 /drivers/remoteproc/k3_system_controller.c
parent0ac83d080a0044cd0d8f782ba12f02cf969d3004 (diff)
parentceb70bb870ac0761992d3e38e9287a338e3b846a (diff)
Merge branch '2020-09-29-dev_xxx-print-improvement' into next
- Improve our dev_xxx(..) wrappers to be generally used and available rather than discarded at link/compile time.
Diffstat (limited to 'drivers/remoteproc/k3_system_controller.c')
-rw-r--r--drivers/remoteproc/k3_system_controller.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/remoteproc/k3_system_controller.c b/drivers/remoteproc/k3_system_controller.c
index 54209fccb3e..702d98d1a85 100644
--- a/drivers/remoteproc/k3_system_controller.c
+++ b/drivers/remoteproc/k3_system_controller.c
@@ -100,7 +100,7 @@ void k3_sysctrler_load_msg_setup(struct k3_sysctrler_load_msg *fw,
fw->buffer_size = size;
}
-static int k3_sysctrler_load_response(u32 *buf)
+static int k3_sysctrler_load_response(struct udevice *dev, u32 *buf)
{
struct k3_sysctrler_load_msg *fw;
@@ -129,7 +129,8 @@ static int k3_sysctrler_load_response(u32 *buf)
return 0;
}
-static int k3_sysctrler_boot_notification_response(u32 *buf)
+static int k3_sysctrler_boot_notification_response(struct udevice *dev,
+ u32 *buf)
{
struct k3_sysctrler_boot_notification_msg *boot;
@@ -193,7 +194,7 @@ static int k3_sysctrler_load(struct udevice *dev, ulong addr, ulong size)
}
/* Process the response */
- ret = k3_sysctrler_load_response(msg.buf);
+ ret = k3_sysctrler_load_response(dev, msg.buf);
if (ret)
return ret;
@@ -230,7 +231,7 @@ static int k3_sysctrler_start(struct udevice *dev)
}
/* Process the response */
- ret = k3_sysctrler_boot_notification_response(msg.buf);
+ ret = k3_sysctrler_boot_notification_response(dev, msg.buf);
if (ret)
return ret;