[PATCH] tools: zynqmp: add support for PM_CONFIG_OBJECT_TYPE_BASE define

The new define has been added in Vivado 2021.2.
Signed-off-by: Adrian Fiergolski adrian.fiergolski@fastree3d.com --- 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 0a44710e1e..239991a526 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,

On 3/7/22 17:27, Adrian Fiergolski wrote:
The new define has been added in Vivado 2021.2.
Signed-off-by: Adrian Fiergolski adrian.fiergolski@fastree3d.com
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 0a44710e1e..239991a526 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,
The same patch was sent by Luca already. https://lore.kernel.org/r/20220212125121.3398547-1-luca@lucaceresoli.net
Thanks, Michal
participants (2)
-
Adrian Fiergolski
-
Michal Simek