u-boot/arch
Chanho Park 1c55d62fb9 riscv: cpu: make riscv_cpu_probe to EVT_DM_POST_INIT_R callback
Since the Patch 55171aedda, VisionFive2 booting has been broken [1].
VisionFive2 board requires to enable CONFIG_TIMER_EARLY but booting went
to panic from initr_dm_devices due to lack of a timer device.

- Error logs
initcall sequence 00000000fffd8d38 failed at call 00000000402185e4
(err=-19)

Thus, we need to move riscv_cpu_probe function in order to register
the timer earlier than initr_dm_devices.

Fixes: 7fe32b3442 ("event: Convert arch_cpu_init_dm() to use events")
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Tested-by: Milan P. Stanić <mps@arvanta.net>
Tested-by: Roland Ruckerbauer <mail@ruabmbua.dev>
Tested-by: Roland Ruckerbauer <mail@ruabmbua.dev>
2023-08-22 08:07:54 -06:00
..
arc
arm Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh 2023-08-20 11:09:11 -04:00
m68k m68k: dts: add watchdog node 2023-07-25 23:21:42 +02:00
microblaze
mips common: return type board_get_usable_ram_top 2023-08-15 18:21:17 +02:00
nios2
powerpc
riscv riscv: cpu: make riscv_cpu_probe to EVT_DM_POST_INIT_R callback 2023-08-22 08:07:54 -06:00
sandbox arm_ffa: introduce sandbox FF-A support 2023-08-08 10:22:03 -04:00
sh
x86 common: return type board_get_usable_ram_top 2023-08-15 18:21:17 +02:00
xtensa
.gitignore
Kconfig
Kconfig.nxp
u-boot-elf.lds