summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-03-07 16:21:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-03-08 13:26:48 +0100
commitb641580deb8c624373f792a90c38c6ebaaddb719 (patch)
treeabafc661f627767a34a6411ba2b724a4c2c7fe1c /include
parent93864969f127865b13e8a669d06dea53b2404d71 (diff)
downloadbarebox-b641580deb8c624373f792a90c38c6ebaaddb719.tar.gz
barebox-b641580deb8c624373f792a90c38c6ebaaddb719.tar.xz
of: platform: Ensure timers are probed early
Timers are a very crucial resource and are needed early. Without them no delay function can work properly. With deep probe enabled they may be initialized very late in the initialization order. Make sure they are probed early. We do not know which device node provides the timer, so probe all nodes named "timer". Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/of.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h
index 9089409f9f..cf9950e9b3 100644
--- a/include/of.h
+++ b/include/of.h
@@ -287,6 +287,7 @@ extern struct device_d *of_device_enable_and_register_by_alias(
extern int of_device_ensure_probed(struct device_node *np);
extern int of_device_ensure_probed_by_alias(const char *alias);
extern int of_devices_ensure_probed_by_property(const char *property_name);
+extern int of_devices_ensure_probed_by_name(const char *name);
extern int of_devices_ensure_probed_by_dev_id(const struct of_device_id *ids);
extern int of_partition_ensure_probed(struct device_node *np);