diff options
author | Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> | 2022-07-22 02:46:54 -0600 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-07-26 08:36:02 +0200 |
commit | c9f12ed9bcb973297a33f50e1fa28506118bcb91 (patch) | |
tree | cb56c3ec89ad73741f803c98649b2a0a3bb828c4 /include/zynqmp_firmware.h | |
parent | 9dac63b6f4df17398345d4ea4f771fcf9e5e4547 (diff) | |
download | u-boot-c9f12ed9bcb973297a33f50e1fa28506118bcb91.tar.gz |
firmware: zynqmp: Change prototype of zynqmp_pmufw_load_config_object()
zynqmp_pmufw_load_config_object() has some error cases and it is better
to return those errors. Change prototype of this function to return
errors.
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20220722084658.30995-2-ashok.reddy.soma@xilinx.com
Diffstat (limited to 'include/zynqmp_firmware.h')
-rw-r--r-- | include/zynqmp_firmware.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zynqmp_firmware.h b/include/zynqmp_firmware.h index 86c14d560e..52bc20f195 100644 --- a/include/zynqmp_firmware.h +++ b/include/zynqmp_firmware.h @@ -447,7 +447,7 @@ enum pm_gem_config_type { unsigned int zynqmp_firmware_version(void); int zynqmp_pmufw_node(u32 id); int zynqmp_pmufw_config_close(void); -void zynqmp_pmufw_load_config_object(const void *cfg_obj, size_t size); +int zynqmp_pmufw_load_config_object(const void *cfg_obj, size_t size); int xilinx_pm_request(u32 api_id, u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 *ret_payload); int zynqmp_pm_set_sd_config(u32 node, enum pm_sd_config_type config, u32 value); |