tools/zynqmp_pm_cfg_obj_convert.py: fix build with Vivado 2021.x
authorLuca Ceresoli <luca@lucaceresoli.net>
Sat, 12 Feb 2022 12:51:21 +0000 (13:51 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 15 Feb 2022 11:41:00 +0000 (12:41 +0100)
commit2f9dd4bfc7a2d618c9c76448dd7b3ce67c6ec4ce
treea54acb79b36e1d4b03bec9149c89bc7383e57cac
parentaf98bf62fab8f074822a225d7c2fb2a02a7734a8
tools/zynqmp_pm_cfg_obj_convert.py: fix build with Vivado 2021.x

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>
Link: https://lore.kernel.org/r/20220212125121.3398547-1-luca@lucaceresoli.net
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
tools/zynqmp_pm_cfg_obj_convert.py