diff options
author | Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> | 2022-08-05 11:19:56 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-09-13 11:32:48 +0200 |
commit | ad8024e0406404bc63dd4468ac75c87eaec5cca0 (patch) | |
tree | 864b5ecfa4d55a178717aae051ae8361d08853d1 | |
parent | 91687c4c3c0c919f120f0cc120b739c6fb26b993 (diff) | |
download | u-boot-ad8024e0406404bc63dd4468ac75c87eaec5cca0.zip u-boot-ad8024e0406404bc63dd4468ac75c87eaec5cca0.tar.gz u-boot-ad8024e0406404bc63dd4468ac75c87eaec5cca0.tar.bz2 |
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
-rw-r--r-- | drivers/power/domain/zynqmp-power-domain.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/power/domain/zynqmp-power-domain.c b/drivers/power/domain/zynqmp-power-domain.c index 6943658..adbbb5f 100644 --- a/drivers/power/domain/zynqmp-power-domain.c +++ b/drivers/power/domain/zynqmp-power-domain.c @@ -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) |