diff options
Diffstat (limited to 'drivers/of/base.c')
-rw-r--r-- | drivers/of/base.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c index e70f6b581d..116dd0c96d 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -1727,6 +1727,9 @@ int of_probe(void) of_chosen = of_find_node_by_path("/chosen"); of_property_read_string(root_node, "model", &of_model); + if (of_model) + barebox_set_model(of_model); + of_tree_for_each_node_from(node, root_node) if (node->phandle) list_add_tail(&node->phandles, &phandle_list); |