firmware: zynqmp: Skip loading config object for Versal

SET_CONFIGURATION is not yet implemented for Versal platforms. Skip
loading config object for Versal until support is added.

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/eb7ef6c6de36a1f7d056de43042f96fe3639f18e.1659691195.git.michal.simek@amd.com
This commit is contained in:
Ashok Reddy Soma 2022-08-05 11:19:56 +02:00 committed by Michal Simek
parent 91687c4c3c
commit ad8024e040

View File

@ -25,7 +25,10 @@ static int zynqmp_power_domain_request(struct power_domain *power_domain)
{
dev_dbg(power_domain->dev, "Request for id: %ld\n", power_domain->id);
return zynqmp_pmufw_node(power_domain->id);
if (IS_ENABLED(CONFIG_ARCH_ZYNQMP))
return zynqmp_pmufw_node(power_domain->id);
return 0;
}
static int zynqmp_power_domain_free(struct power_domain *power_domain)