summaryrefslogtreecommitdiff
path: root/include/zynqmp_firmware.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2019-10-04 15:35:45 +0200
committerMichal Simek <michal.simek@xilinx.com>2019-10-24 13:37:01 +0200
commit403619515e81bde2d0f1a76ca472fbf8b88572e8 (patch)
treea3e6fffc3747846bad027fe19d240c8c582c3981 /include/zynqmp_firmware.h
parent6596270ecb5d74d5f997da0daa728e06d1f47029 (diff)
downloadu-boot-403619515e81bde2d0f1a76ca472fbf8b88572e8.tar.gz
arm64: zynqmp: Convert invoke_smc() to xilinx_pm_request()
Remove macros which use PM_SIP_SVC offset and convert invoke_smc() to xilinx_pm_request() which do calculation with PM_SIP_SVC already. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/zynqmp_firmware.h')
-rw-r--r--include/zynqmp_firmware.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/zynqmp_firmware.h b/include/zynqmp_firmware.h
index 84090208e5..93d771ece2 100644
--- a/include/zynqmp_firmware.h
+++ b/include/zynqmp_firmware.h
@@ -63,8 +63,6 @@ enum pm_api_id {
};
#define PM_SIP_SVC 0xc2000000
-#define ZYNQMP_SIP_SVC_PM_SECURE_IMG_LOAD \
- (PM_SIP_SVC + PM_SECURE_IMAGE)
#define ZYNQMP_PM_VERSION_MAJOR 1
#define ZYNQMP_PM_VERSION_MINOR 0
@@ -81,8 +79,6 @@ enum pm_api_id {
unsigned int zynqmp_firmware_version(void);
void zynqmp_pmufw_load_config_object(const void *cfg_obj, size_t size);
-int invoke_smc(u32 pm_api_id, u32 arg0, u32 arg1, u32 arg2, u32 arg3,
- u32 *ret_payload);
int xilinx_pm_request(u32 api_id, u32 arg0, u32 arg1, u32 arg2,
u32 arg3, u32 *ret_payload);