mirror of
https://xff.cz/git/u-boot/
synced 2025-10-07 03:05:19 +02: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:
@@ -11,6 +11,7 @@
|
||||
#include <spl.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/smp.h>
|
||||
#include <asm/system.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
@@ -27,7 +28,7 @@ __weak void board_init_f(ulong dummy)
|
||||
if (ret)
|
||||
panic("spl_early_init() failed: %d\n", ret);
|
||||
|
||||
arch_cpu_init_dm();
|
||||
riscv_cpu_setup(NULL, NULL);
|
||||
|
||||
preloader_console_init();
|
||||
|
||||
|
Reference in New Issue
Block a user