Simon Glass
634eba4be0
dtoc: Support properties containing multiple phandle values
...
At present dtoc has a very simplistic view of phandles. It assumes that
a property has only a single phandle with a single argument (i.e. two
cells per property).
This is not true in many cases. Enhance the implementation to scan all
phandles in a property and to use the correct number of arguments (which
can be 0, 1, 2 or more) when generating the C code. For the struct
definitions, use a struct which can hold the maximum number of arguments
used by the property.
Signed-off-by: Simon Glass <sjg@chromium.org >
Tested-by: Kever Yang <kever.yang@rock-chips.com >
2017-09-15 05:27:48 -06:00
..
2017-08-16 08:30:24 -04:00
2017-09-14 16:02:48 -04:00
2017-09-11 21:43:58 -06:00
2017-09-11 16:19:48 -04:00
2017-09-11 16:23:05 -04:00
2017-09-11 08:01:05 -07:00
2017-09-12 18:02:23 -04:00
2017-08-22 09:56:09 +02:00
2017-08-01 11:58:01 +09:00
2017-08-09 09:57:32 -07:00
2017-08-16 08:30:24 -04:00
2017-08-17 16:44:17 +09:00
2017-09-14 16:02:43 -04:00
2017-09-11 21:43:58 -06:00
2017-09-12 17:57:59 -04:00
2017-09-15 05:27:47 -06:00
2017-08-11 15:41:52 -04:00
2017-08-16 08:31:11 -04:00
2017-08-11 15:41:51 -04:00
2017-09-12 17:58:00 -04:00
2017-08-14 17:06:06 -04:00
2017-08-07 15:22:29 -05:00
2017-08-16 08:22:18 -04:00
2017-07-28 23:34:39 +02:00
2017-09-15 05:27:48 -06:00
2017-08-17 16:44:17 +09:00
2017-08-17 16:59:55 +09:00
2017-07-25 10:58:07 +02:00
2017-08-18 10:53:23 +02:00
2017-09-05 20:17:08 -04:00
2017-08-14 17:06:06 -04:00
2017-08-16 08:31:24 -04:00
2017-08-16 08:30:24 -04:00
2017-09-15 05:27:38 -06:00
2017-08-22 09:56:09 +02:00
2017-08-09 09:57:33 -07:00
2017-09-11 07:55:36 -07:00
2017-07-28 23:34:41 +02:00
2017-09-03 15:30:35 -04:00
2017-09-12 17:58:02 -04:00
2017-08-23 10:41:58 +02:00
2017-07-23 09:24:47 -04:00
2017-09-07 10:44:37 -04:00
2017-08-17 17:00:11 +09:00
2017-08-16 08:31:11 -04:00
2017-07-28 13:41:49 +02:00
2017-08-24 11:00:47 +08:00
2017-08-13 15:17:31 -04:00
2017-07-28 12:02:47 -06:00
2017-09-11 16:19:43 -04:00
2017-09-03 11:04:51 -04:00
2017-08-13 15:17:32 -04:00
2017-08-07 15:18:30 -05:00
2017-09-15 05:27:38 -06:00
2017-07-28 23:34:07 +02:00
2017-08-17 16:44:17 +09:00
2017-08-17 16:59:55 +09:00
2017-08-23 10:41:58 +02:00
2017-08-16 08:22:18 -04:00
2017-08-24 11:00:47 +08:00
2017-08-13 17:12:19 +02:00
2017-07-31 12:21:40 -04:00
2017-09-15 05:27:38 -06:00
2017-07-28 23:34:34 +02:00
2017-07-28 23:34:35 +02:00
2017-08-24 11:00:47 +08:00
2017-09-07 10:44:37 -04:00
2017-08-13 15:17:34 -04:00
2017-08-02 09:11:52 +02:00