| 82 | } |
| 83 | |
| 84 | rt_bool_t dtb_node_read_bool(const struct dtb_node *node, const char *propname) |
| 85 | { |
| 86 | const void *prop; |
| 87 | |
| 88 | RT_ASSERT(dtb_node_valid(node)); |
| 89 | debug("%s: %s: ", __func__, propname); |
| 90 | |
| 91 | prop = dtb_node_get_property(node, propname, NULL); |
| 92 | |
| 93 | debug("%s\n", prop ? "true" : "false"); |
| 94 | |
| 95 | return prop ? RT_TRUE : RT_FALSE; |
| 96 | } |
| 97 | |
| 98 | const void *dtb_node_read_prop(const struct dtb_node *node, const char *propname, int *sizep) |
| 99 | { |
nothing calls this directly
no test coverage detected