firmware: rockchip: rename 'sip_smc_ddr_cfg' to 'sip_smc_dram'

Change-Id: I07767d9eb26194c04fd4e3f92e8ae24b47621c5a
Signed-off-by: chenjh <chenjh@rock-chips.com>
This commit is contained in:
chenjh
2017-04-26 14:54:23 +08:00
committed by Huang, Tao
parent 68c019607a
commit a753c7d485
2 changed files with 4 additions and 4 deletions

View File

@@ -38,9 +38,9 @@ static struct arm_smccc_res __invoke_sip_fn_smc(unsigned long function_id,
return res;
}
struct arm_smccc_res sip_smc_ddr_cfg(u32 arg0, u32 arg1, u32 arg2)
struct arm_smccc_res sip_smc_dram(u32 arg0, u32 arg1, u32 arg2)
{
return __invoke_sip_fn_smc(SIP_DDR_CFG, arg0, arg1, arg2);
return __invoke_sip_fn_smc(SIP_DRAM_CONFIG, arg0, arg1, arg2);
}
struct arm_smccc_res sip_smc_get_atf_version(void)

View File

@@ -26,7 +26,7 @@
#define SIP_ACCESS_CHIP_STATE64 0xc2000006
#define SIP_SECURE_MEM_CONFIG 0x82000007
#define SIP_ACCESS_CHIP_EXTRA_STATE64 0xc2000007
#define SIP_DDR_CFG 0x82000008
#define SIP_DRAM_CONFIG 0x82000008
#define SIP_SHARE_MEM 0x82000009
#define SIP_SIP_VERSION 0x8200000a
#define SIP_REMOTECTL_CFG 0x8200000b
@@ -96,7 +96,7 @@ typedef enum {
*/
struct arm_smccc_res sip_smc_get_atf_version(void);
struct arm_smccc_res sip_smc_get_sip_version(void);
struct arm_smccc_res sip_smc_ddr_cfg(u32 arg0, u32 arg1, u32 arg2);
struct arm_smccc_res sip_smc_dram(u32 arg0, u32 arg1, u32 arg2);
struct arm_smccc_res sip_smc_request_share_mem(u32 page_num,
share_page_type_t page_type);
struct arm_smccc_res sip_smc_mcu_el3fiq(u32 arg0, u32 arg1, u32 arg2);