]> git.baikalelectronics.ru Git - uboot.git/commit
dm: Emit the arch_cpu_init_dm() even only before relocation
authorSimon Glass <sjg@chromium.org>
Thu, 4 May 2023 22:50:45 +0000 (16:50 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 11 May 2023 02:25:29 +0000 (10:25 +0800)
commit690f45f1ea7b12f3f5d92e618702c6b2e3922f5c
tree7907d04ffe5835764d28c410e9bff18cff34db63
parentdf714aecb934182502d44be31b75ff2d03a462a1
dm: Emit the arch_cpu_init_dm() even only before relocation

The original function was only called once, before relocation. The new
one is called again after relocation. This was not the intent of the
original call. Fix this by renaming and updating the calling logic.

With this, chromebook_link64 makes it through SPL.

Fixes: 3e78deb95382 ("event: Convert arch_cpu_init_dm() to use events")
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
18 files changed:
arch/arm/mach-imx/imx8/cpu.c
arch/arm/mach-imx/imx8m/soc.c
arch/arm/mach-imx/imx8ulp/soc.c
arch/arm/mach-imx/imx9/soc.c
arch/arm/mach-omap2/am33xx/board.c
arch/arm/mach-omap2/hwinit-common.c
arch/mips/mach-pic32/cpu.c
arch/nios2/cpu/cpu.c
arch/riscv/cpu/cpu.c
arch/x86/cpu/baytrail/cpu.c
arch/x86/cpu/broadwell/cpu.c
arch/x86/cpu/ivybridge/cpu.c
arch/x86/cpu/quark/quark.c
arch/x86/lib/fsp2/fsp_init.c
doc/develop/event.rst
drivers/core/root.c
drivers/cpu/microblaze_cpu.c
include/event.h