Marek Behún
3058e283b8
fdt_support: Add fdt_for_each_node_by_compatible() helper macro
...
Add macro fdt_for_each_node_by_compatible() to allow iterating over
fdt nodes by compatible string.
Convert various usages of
off = fdt_node_offset_by_compatible(fdt, start, compat);
while (off > 0) {
code();
off = fdt_node_offset_by_compatible(fdt, off, compat);
}
and similar, to
fdt_for_each_node_by_compatible(off, fdt, start, compat)
code();
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-01-20 11:35:29 +01:00
..
2021-10-31 12:26:44 -06:00
2022-01-18 08:31:02 -05:00
2021-09-25 09:46:15 -06:00
2021-03-17 12:50:19 -04:00
2022-01-13 09:13:41 -07:00
2022-01-13 09:13:41 -07:00
2021-07-14 16:48:00 -04:00
2022-01-18 08:31:02 -05:00
2021-03-27 15:04:31 +13:00
2020-05-18 21:19:18 -04:00
2021-05-17 17:06:42 -04:00
2021-02-02 15:33:42 -05:00
2020-12-04 16:10:01 -05:00
2021-09-25 09:46:15 -06:00
2021-02-02 15:33:42 -05:00
2021-12-26 23:02:19 +01:00
2020-05-18 21:19:18 -04:00
2021-01-31 14:08:56 +01:00
2021-06-23 08:45:03 -04:00
2021-04-24 13:44:47 +02:00
2021-02-02 15:33:42 -05:00
2021-11-30 16:43:28 +01:00
2022-01-20 11:35:29 +01:00
2020-05-18 21:19:18 -04:00
2021-10-08 15:53:26 -04:00
2021-09-30 09:08:16 -04:00
2021-04-27 08:05:30 -04:00
2021-02-02 15:33:42 -05:00
2021-08-02 13:32:14 -04:00
2022-01-13 09:13:41 -07:00
2020-05-18 21:19:23 -04:00
2022-01-18 08:31:02 -05:00
2021-09-30 08:08:56 -04:00
2021-08-02 13:32:14 -04:00
2021-07-21 10:27:35 -06:00
2021-02-02 15:33:42 -05:00
2021-06-08 11:39:09 -04:00
2021-09-17 12:10:44 -04:00
2022-01-18 08:31:02 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2020-05-07 09:01:42 -04:00
2020-05-18 21:19:23 -04:00
2021-04-12 17:44:55 -04:00
2021-03-13 13:14:52 -05:00
2021-12-26 23:33:24 +01:00
2021-12-26 23:24:46 +01:00
2021-04-20 07:31:12 -04:00
2021-08-30 14:10:07 -04:00
2021-08-02 13:32:14 -04:00
2021-04-06 16:38:57 +02:00
2021-02-26 15:30:55 +01:00
2021-09-30 09:08:16 -04:00
2020-05-18 21:19:23 -04:00
2021-09-03 14:32:41 -04:00