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
..
2022-01-18 08:31:02 -05:00
2021-03-05 10:25:41 +05:30
2021-10-20 17:46:09 +02:00
2021-09-30 08:08:56 -04:00
2021-10-21 13:59:26 +02:00
2021-09-04 12:26:02 -04:00
2021-08-31 17:46:37 -04:00
2021-08-31 17:46:37 -04:00
2021-08-09 14:46:51 +02:00
2021-09-07 16:22:30 -04:00
2021-09-07 16:22:30 -04:00
2021-10-31 12:26:44 -06:00
2021-10-31 12:26:44 -06:00
2021-10-31 12:26:44 -06:00
2021-03-05 10:25:42 +05:30
2021-12-27 16:20:18 -05:00
2021-09-28 18:50:56 +03:00
2021-08-31 17:47:49 -04:00
2021-10-31 12:26:44 -06:00
2021-12-27 16:20:18 -05:00
2021-09-29 07:58:20 -04:00
2021-09-30 09:08:16 -04:00
2021-12-27 16:20:18 -05:00
2021-09-30 09:08:16 -04:00
2021-12-27 16:20:18 -05:00
2021-12-27 16:20:18 -05:00
2021-12-27 16:20:18 -05:00
2022-01-20 11:35:29 +01:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-10-06 09:16:23 -04:00
2021-10-06 09:16:23 -04:00
2021-09-30 09:08:16 -04:00
2021-08-06 08:26:48 -04:00
2021-08-05 16:14:36 -04:00
2021-09-30 08:08:56 -04:00
2021-09-07 16:22:30 -04:00
2021-04-08 20:29:53 +02:00
2021-08-31 17:46:37 -04:00
2021-08-31 17:46:37 -04:00
2021-08-31 17:46:37 -04:00
2021-08-31 17:46:37 -04:00
2021-02-02 15:33:42 -05:00
2021-08-31 17:46:37 -04:00
2021-08-31 17:46:37 -04:00
2021-08-31 17:46:37 -04:00
2021-03-01 10:21:36 +01:00
2021-08-09 14:46:50 +02:00
2021-09-07 16:22:30 -04:00
2021-09-07 16:22:30 -04:00
2021-12-27 16:20:18 -05:00
2021-12-27 16:20:18 -05:00
2021-12-27 16:20:18 -05:00
2021-12-27 16:20:18 -05:00
2021-12-27 16:20:18 -05:00
2021-12-27 16:20:18 -05:00
2021-12-27 16:20:18 -05:00
2021-12-27 16:20:18 -05:00
2021-08-31 17:46:37 -04:00