| 178 | } |
| 179 | |
| 180 | const char *dtb_node_get_name(const struct dtb_node *node) |
| 181 | { |
| 182 | if (!dtb_node_valid(node)) |
| 183 | { |
| 184 | debug("%s node not valid\n", __func__); |
| 185 | return NULL; |
| 186 | } |
| 187 | |
| 188 | return strrchr(node->path, '/') + 1; |
| 189 | |
| 190 | } |
| 191 | |
| 192 | struct dtb_node *dtb_node_get_by_phandle(uint32_t phandle) |
| 193 | { |
no test coverage detected