All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/zynqmp_pm_cfg_obj_convert.py: fix build with Vivado 2021.x
@ 2022-02-12 12:51 Luca Ceresoli
  2022-02-15 11:41 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Luca Ceresoli @ 2022-02-12 12:51 UTC (permalink / raw)
  To: u-boot; +Cc: Luca Ceresoli, Michal Simek, Giulio Benetti, Neal Frager

This tool fails with a pm_cfg_obj.c file generated by Vitis 2021.2. This is
because that version of Vitis added the PM_CONFIG_OBJECT_TYPE_BASE that was
not previously generated, thus the script does not implement it.

Reported-by: Neal Frager <nealf@xilinx.com>
[report: https://lists.buildroot.org/pipermail/buildroot/2022-February/636639.html]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
 tools/zynqmp_pm_cfg_obj_convert.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/zynqmp_pm_cfg_obj_convert.py b/tools/zynqmp_pm_cfg_obj_convert.py
index 0a44710e1e14..239991a5263c 100755
--- a/tools/zynqmp_pm_cfg_obj_convert.py
+++ b/tools/zynqmp_pm_cfg_obj_convert.py
@@ -244,6 +244,8 @@ pm_define = {
 
     'SUSPEND_TIMEOUT'                    : 0xFFFFFFFF,
 
+    'PM_CONFIG_OBJECT_TYPE_BASE'         : 0x1,
+
     'PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK' : 0x00000001,
     'PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK'  : 0x00000100,
     'PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK'  : 0x00000200,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tools/zynqmp_pm_cfg_obj_convert.py: fix build with Vivado 2021.x
  2022-02-12 12:51 [PATCH] tools/zynqmp_pm_cfg_obj_convert.py: fix build with Vivado 2021.x Luca Ceresoli
@ 2022-02-15 11:41 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2022-02-15 11:41 UTC (permalink / raw)
  To: Luca Ceresoli, u-boot; +Cc: Michal Simek, Giulio Benetti, Neal Frager



On 2/12/22 13:51, Luca Ceresoli wrote:
> This tool fails with a pm_cfg_obj.c file generated by Vitis 2021.2. This is
> because that version of Vitis added the PM_CONFIG_OBJECT_TYPE_BASE that was
> not previously generated, thus the script does not implement it.
> 
> Reported-by: Neal Frager <nealf@xilinx.com>
> [report: https://lists.buildroot.org/pipermail/buildroot/2022-February/636639.html]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
> ---
>   tools/zynqmp_pm_cfg_obj_convert.py | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/tools/zynqmp_pm_cfg_obj_convert.py b/tools/zynqmp_pm_cfg_obj_convert.py
> index 0a44710e1e14..239991a5263c 100755
> --- a/tools/zynqmp_pm_cfg_obj_convert.py
> +++ b/tools/zynqmp_pm_cfg_obj_convert.py
> @@ -244,6 +244,8 @@ pm_define = {
>   
>       'SUSPEND_TIMEOUT'                    : 0xFFFFFFFF,
>   
> +    'PM_CONFIG_OBJECT_TYPE_BASE'         : 0x1,
> +
>       'PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK' : 0x00000001,
>       'PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK'  : 0x00000100,
>       'PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK'  : 0x00000200,

Applied.
M

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-15 11:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-12 12:51 [PATCH] tools/zynqmp_pm_cfg_obj_convert.py: fix build with Vivado 2021.x Luca Ceresoli
2022-02-15 11:41 ` 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.