Commit f7cdf872 authored by Grzegorz Jaszczyk's avatar Grzegorz Jaszczyk
Browse files

plat: marvell: do not rely on argument passed via smc



There is no need to rely on x1 argument.
Signed-off-by: default avatarGrzegorz Jaszczyk <jaz@semihalf.com>
Change-Id: Ie7766e801e724801b42b66331ba252ede5744a2c
parent b143fa74
...@@ -116,8 +116,7 @@ uintptr_t mrvl_sip_smc_handler(uint32_t smc_fid, ...@@ -116,8 +116,7 @@ uintptr_t mrvl_sip_smc_handler(uint32_t smc_fid,
/* Miscellaneous FID's' */ /* Miscellaneous FID's' */
case MV_SIP_DRAM_SIZE: case MV_SIP_DRAM_SIZE:
/* x1: ap_base_addr */ ret = mvebu_get_dram_size(MVEBU_REGS_BASE);
ret = mvebu_get_dram_size(x1);
SMC_RET1(handle, ret); SMC_RET1(handle, ret);
case MV_SIP_LLC_ENABLE: case MV_SIP_LLC_ENABLE:
for (i = 0; i < ap_get_count(); i++) for (i = 0; i < ap_get_count(); i++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment