/* Return: 0 if all goes good, else appropriate error message.  */
static int k3_arm64_load(struct udevice *dev, ulong addr, ulong size)
/* Return: 0 if all goes good, else appropriate error message.  */
static int k3_arm64_load(struct udevice *dev, ulong addr, ulong size)
{
	struct k3_arm64_privdata *rproc = dev_get_priv(dev);
	int ret;
	dev_dbg(dev, "%s addr = 0x%lx, size = 0x%lx\n", __func__, addr, size);
	ret = ti_sci_proc_request(&rproc->tsp);
	if (ret)
		return ret;
	return ti_sci_proc_set_config(&rproc->tsp, addr, 0, 0);
}