Luca Ceresoli
275d716a4c
arm64: zynqmp: add tool to convert PMU config object .c to binary
...
The recently-added ZYNQMP_SPL_PM_CFG_OBJ_FILE option allows SPL to load a
PMUFW configuration object from a binary blob. However the configuration
object is produced by Xilinx proprietary tools as a C source file and no
tool exists to easily convert it to a binary blob in an embedded Linux
build system for U-Boot to use.
Add a simple Python script to do the conversion.
It is definitely not a complete C language parser, but it is enough to
parse the known patterns generated by Xilinx tools, including:
- defines
- literal integers, optionally with a 'U' suffix
- bitwise OR between them
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net >
Signed-off-by: Michal Simek <michal.simek@xilinx.com >
2019-06-04 14:20:53 +02:00
..
2018-11-20 19:14:22 -07:00
2018-12-05 06:06:30 -07:00
2018-10-08 07:34:34 -06:00
2018-10-09 04:40:27 -06:00
2018-05-07 09:34:12 -04:00
2018-09-10 20:20:34 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-31 08:53:11 -04:00
2018-05-31 08:53:11 -04:00
2018-05-07 09:34:12 -04:00
2018-10-08 07:34:34 -06:00
2018-11-26 13:57:28 +08:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2017-10-16 09:42:51 -04:00
2018-07-10 16:56:00 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-06-19 07:31:44 -04:00
2018-11-26 22:52:12 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-07-24 09:25:23 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-07-30 07:18:49 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-10 20:38:35 -04:00
2018-05-07 09:34:12 -04:00
2018-12-03 10:44:10 -05:00
2018-07-10 16:56:00 -04:00
2019-01-01 14:12:18 +01:00
2017-06-16 10:11:38 -04:00
2019-01-09 17:04:34 +01:00
2019-01-01 14:12:18 +01:00
2019-01-01 14:12:18 +01:00
2019-01-01 14:12:18 +01:00
2018-07-23 11:04:22 +02:00
2018-09-11 08:32:55 -04:00
2018-11-16 16:51:58 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-09-19 08:59:26 +02:00
2018-05-07 09:34:12 -04:00
2019-01-01 10:01:00 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-11-02 22:39:07 +01:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-01-01 14:12:18 +01:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-12-15 11:49:56 -05:00
2018-11-28 23:04:43 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 10:24:31 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-10-04 22:55:47 +02:00
2018-01-28 12:27:30 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-10-03 12:56:50 +02:00
2018-05-07 10:24:31 -04:00
2017-05-05 16:45:57 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-09-10 20:20:34 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-06-04 14:20:53 +02:00
2019-01-28 08:36:35 +01:00
2018-05-11 09:23:44 +02:00
2018-05-11 14:54:57 -04:00