firmware: rockchip: rename 'sip_smc_ddr_cfg' to 'sip_smc_dram'
authorchenjh <chenjh@rock-chips.com>
Wed, 26 Apr 2017 06:54:23 +0000 (14:54 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 26 Apr 2017 11:59:10 +0000 (19:59 +0800)
Change-Id: I07767d9eb26194c04fd4e3f92e8ae24b47621c5a
Signed-off-by: chenjh <chenjh@rock-chips.com>
drivers/firmware/rockchip_sip.c
include/linux/rockchip/rockchip_sip.h

index 4d12d2d65856b4057e07c546b72813266b7eb300..c454fff98661e7cfaba34febdfd51c477a5103e8 100644 (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)
index c9265cb91b287b20b99ef6f088dc77f9fc8089fa..3ecef04b5051baef7ddcf42af1ee297771ec5898 100644 (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);