| 422 | } |
| 423 | |
| 424 | int dtb_node_write_string(const struct dtb_node *node, const char *propname, const char *value) |
| 425 | { |
| 426 | if (!dtb_node_active()) |
| 427 | return -ENOSYS; |
| 428 | |
| 429 | RT_ASSERT(dtb_node_valid(node)); |
| 430 | |
| 431 | debug("%s: %s = %s", __func__, propname, value); |
| 432 | |
| 433 | return dtb_node_write_prop(node, propname, strlen(value) + 1, value); |
| 434 | } |
| 435 | |
| 436 | int dtb_node_set_enabled(const struct dtb_node *node, rt_bool_t value) |
| 437 | { |
no test coverage detected