mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
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>
This commit is contained in:
@@ -803,11 +803,6 @@ __weak int reserve_arch(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
__weak int arch_cpu_init_dm(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
__weak int checkcpu(void)
|
||||
{
|
||||
return 0;
|
||||
@@ -848,7 +843,6 @@ static const init_fnc_t init_sequence_f[] = {
|
||||
arch_cpu_init, /* basic arch cpu dependent setup */
|
||||
mach_cpu_init, /* SoC/machine dependent CPU setup */
|
||||
initf_dm,
|
||||
arch_cpu_init_dm,
|
||||
#if defined(CONFIG_BOARD_EARLY_INIT_F)
|
||||
board_early_init_f,
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user