mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq5018: Add argument for size in fuseipq
This changes add additional argument for binary size information in fuseipq. Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org> Change-Id: I9ea5e3104a750377b7999a5e0475739b107b0204
This commit is contained in:
parent
c1ece2b859
commit
1189dd5c9d
1 changed files with 5 additions and 1 deletions
|
|
@ -450,8 +450,12 @@ int qca_scm_fuseipq(u32 svc_id, u32 cmd_id, void *buf, size_t len)
|
||||||
if (is_scm_armv8())
|
if (is_scm_armv8())
|
||||||
{
|
{
|
||||||
struct qca_scm_desc desc = {0};
|
struct qca_scm_desc desc = {0};
|
||||||
|
#ifdef CONFIG_ARCH_IPQ5018
|
||||||
|
desc.arginfo = QCA_SCM_ARGS(2, SCM_READ_OP);
|
||||||
|
desc.args[1] = 0x800;
|
||||||
|
#else
|
||||||
desc.arginfo = QCA_SCM_ARGS(1, SCM_READ_OP);
|
desc.arginfo = QCA_SCM_ARGS(1, SCM_READ_OP);
|
||||||
|
#endif
|
||||||
desc.args[0] = *((unsigned int *)buf);
|
desc.args[0] = *((unsigned int *)buf);
|
||||||
|
|
||||||
ret = scm_call_64(svc_id, cmd_id, &desc);
|
ret = scm_call_64(svc_id, cmd_id, &desc);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue