summaryrefslogtreecommitdiff
path: root/include/init.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-03-04 18:43:05 +0300
committerTom Rini <trini@konsulko.com>2022-03-10 16:28:36 +0300
commit7fe32b3442f0d0e77a0768dcc1ee65fb352a080a (patch)
tree96a205669eeb9145d15eaec2f9bac5a53ea3c791 /include/init.h
parent42fdcebf859f93139d58defd5abef44dedb9b17a (diff)
downloadu-boot-7fe32b3442f0d0e77a0768dcc1ee65fb352a080a.tar.xz
event: Convert arch_cpu_init_dm() to use events
Instead of a special function, send an event after driver model is inited and adjust the boards which use this function. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/init.h')
-rw-r--r--include/init.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/init.h b/include/init.h
index c03b29bb0d..74496500d2 100644
--- a/include/init.h
+++ b/include/init.h
@@ -46,17 +46,6 @@ void board_init_f(ulong dummy);
int arch_cpu_init(void);
/**
- * arch_cpu_init_dm() - init CPU after driver model is available
- *
- * This is called immediately after driver model is available before
- * relocation. This is similar to arch_cpu_init() but is able to reference
- * devices
- *
- * Return: 0 if OK, -ve on error
- */
-int arch_cpu_init_dm(void);
-
-/**
* mach_cpu_init() - SoC/machine dependent CPU setup
*
* This is called after arch_cpu_init(). It should handle any