| 1593 | struct list_node device_tree_fixups; |
| 1594 | |
| 1595 | int dt_apply_fixups(struct device_tree *tree) |
| 1596 | { |
| 1597 | struct device_tree_fixup *fixup; |
| 1598 | list_for_each(fixup, device_tree_fixups, list_node) { |
| 1599 | assert(fixup->fixup); |
| 1600 | if (fixup->fixup(fixup, tree)) |
| 1601 | return 1; |
| 1602 | } |
| 1603 | return 0; |
| 1604 | } |
| 1605 | |
| 1606 | int dt_set_bin_prop_by_path(struct device_tree *tree, const char *path, |
| 1607 | void *data, size_t data_size, int create) |