arm: socfpga: smc: Remove unused SMC function ID
PATCH 1/1 arm: socfpga: smc: Remove unused SMC function ID
Remove unused SMC function ID 61 and 62.
Signed-off-by Siew Chin Lim <[email protected]>
--- include/linux/intel-smc.h | 52 ----------------------------------------------- 1 file changed, 52 deletions(-)
include/linux/intel-smc.h +0 -52
@@ -518,56 +518,4 @@ INTEL_SIP_SMC_FAST_CALL_VAL(INTEL_SIP_SMC_FUNCID_FPGA_CONFIG_COMPLETED_WRITE)#define INTEL_SIP_SMC_MBOX_SEND_CMD \ INTEL_SIP_SMC_FAST_CALL_VAL(INTEL_SIP_SMC_FUNCID_MBOX_SEND_CMD) -/* -* Request INTEL_SIP_SMC_HPS_SET_PHYINTF -* -* Select EMACx PHY interface -* -* Call register usage: -* a0 INTEL_SIP_SMC_HPS_SET_PHYINTF -* a1 EMAC number: -* 0 - EMAC0 -* 1 - EMAC1 -* 2 - EMAC2 -* a2 Type of PHY interface: -* 0 - GMII_MII -* 1 - RGMII -* 2 - RMII -* 3 - RESET -* a3-7 not used -* -* Return status -* a0 INTEL_SIP_SMC_STATUS_OK or INTEL_SIP_SMC_STATUS_ERROR -*/ -#define INTEL_SIP_SMC_FUNCID_HPS_SET_PHYINTF 61 -#define INTEL_SIP_SMC_HPS_SET_PHYINTF \ - INTEL_SIP_SMC_FAST_CALL_VAL(INTEL_SIP_SMC_FUNCID_HPS_SET_PHYINTF) - -/* -* Request INTEL_SIP_SMC_HPS_SET_SDMMC_CCLK -* -* Select which phase shift of the clocks (drvsel & smplsel) for SDMMC -* -* Call register usage: -* a0 INTEL_SIP_SMC_HPS_SET_SDMMC_CCLK -* a1 Select which phase shift of the clock for cclk_in_drv (drvsel): -* 0 - 0 degree -* 1 - 45 degrees -* 2 - 90 degrees -* 3 - 135 degrees -* 4 - 180 degrees -* 5 - 225 degrees -* 6 - 270 degrees -* 7 - 315 degrees -* a2 Select which phase shift of the clock for cclk_in_sample (smplsel): -* (Same as above) -* a3-7 not used -* -* Return status -* a0 INTEL_SIP_SMC_STATUS_OK -*/ -#define INTEL_SIP_SMC_FUNCID_HPS_SET_SDMMC_CCLK 62 -#define INTEL_SIP_SMC_HPS_SET_SDMMC_CCLK \ - INTEL_SIP_SMC_FAST_CALL_VAL(INTEL_SIP_SMC_FUNCID_HPS_SET_SDMMC_CCLK) -#endif
Signature · 1 line
2.13.0
Tan
PATCH 1/1 arm: socfpga: smc: Remove unused SMC function ID
Quoted 15 lines
-----Original Message-----
From: Lim, Elly Siew Chin <[email protected]>
Sent: Friday, March 12, 2021 5:51 PM
To: u-boot at lists.denx.de
Cc: Marek Vasut <[email protected]>; Tan, Ley Foon <[email protected]>; See, Chin Liang <[email protected]>; Simon Goldschmidt <[email protected]>; Chee, Tien Fong <[email protected]>; Westergreen, Dalon <[email protected]>; Simon Glass <[email protected]>; Gan, Yau Wai <[email protected]>; Lim, Elly Siew Chin <[email protected]>
Subject: [PATCH] arm: socfpga: smc: Remove unused SMC function ID
Quoted 4 lines
Remove unused SMC function ID 61 and 62.
Signed-off-by Siew Chin Lim <[email protected]>---
Reviewed-by Ley Foon Tan <[email protected]>