]> git.dujemihanovic.xyz Git - u-boot.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)
commit55171aedda88d12666e2a1bbc661dea1bec65337
tree7907d04ffe5835764d28c410e9bff18cff34db63
parent44dc33042f8465764bddeba4e4b362dd5372b74a
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: 7fe32b3442f0 ("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