[PATCH 4/6] firmware: zynqmp: Skip loading config object for Versal
Michal Simek
michal.simek at amd.com
Fri Aug 5 11:19:56 CEST 2022
From: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
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 at xilinx.com>
Signed-off-by: Michal Simek <michal.simek at amd.com>
---
drivers/power/domain/zynqmp-power-domain.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/power/domain/zynqmp-power-domain.c b/drivers/power/domain/zynqmp-power-domain.c
index 6943658be429..adbbb5fdd93f 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)
--
2.36.1
More information about the U-Boot
mailing list