* [PATCH] firmware: zynqmp: Skip loading config object for Versal
@ 2022-08-24 12:18 Ashok Reddy Soma
2022-08-31 8:12 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Ashok Reddy Soma @ 2022-08-24 12:18 UTC (permalink / raw)
To: u-boot; +Cc: jh80.chung, michal.simek, git, git, Ashok Reddy Soma
SET_CONFIGURATION is not yet implemented for Versal platforms. Skip
loading config object for Versal until support is added and load it only
for ZYNQMP platforms.
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@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 6943658be4..adbbb5fdd9 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.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] firmware: zynqmp: Skip loading config object for Versal
2022-08-24 12:18 [PATCH] firmware: zynqmp: Skip loading config object for Versal Ashok Reddy Soma
@ 2022-08-31 8:12 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2022-08-31 8:12 UTC (permalink / raw)
To: Ashok Reddy Soma, u-boot; +Cc: jh80.chung, git, git
On 8/24/22 14:18, Ashok Reddy Soma wrote:
> SET_CONFIGURATION is not yet implemented for Versal platforms. Skip
> loading config object for Versal until support is added and load it only
> for ZYNQMP platforms.
>
> Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@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 6943658be4..adbbb5fdd9 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)
I have sent this already. That's why ignoring this patch.
https://lore.kernel.org/all/eb7ef6c6de36a1f7d056de43042f96fe3639f18e.1659691195.git.michal.simek@amd.com/
M
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-31 8:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-24 12:18 [PATCH] firmware: zynqmp: Skip loading config object for Versal Ashok Reddy Soma
2022-08-31 8:12 ` Michal Simek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.