[PATCH v2 01/18] dm: Emit the arch_cpu_init_dm() even only before relocation

Bin Meng bmeng.cn at gmail.com
Thu May 4 16:21:48 CEST 2023


On Tue, Apr 18, 2023 at 11:31 PM Simon Glass <sjg at chromium.org> wrote:
>
> The original function was only called once, before relocation. The new
> one is called again after relocation. This was not the intend of the

intend => intent ?

> original call. Fix this by renaming and updating the calling logic.
>
> With this, chromebook_link64 makes it through SPL.
>
> Fixes: 7fe32b3442f ("event: Convert arch_cpu_init_dm() to")

Fixes: 7fe32b3442f0 ("event: Convert arch_cpu_init_dm() to use events")

>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
>  arch/arm/mach-imx/imx8/cpu.c        | 2 +-
>  arch/arm/mach-imx/imx8m/soc.c       | 2 +-
>  arch/arm/mach-imx/imx8ulp/soc.c     | 2 +-
>  arch/arm/mach-imx/imx9/soc.c        | 2 +-
>  arch/arm/mach-omap2/am33xx/board.c  | 2 +-
>  arch/arm/mach-omap2/hwinit-common.c | 2 +-
>  arch/mips/mach-pic32/cpu.c          | 2 +-
>  arch/nios2/cpu/cpu.c                | 2 +-
>  arch/riscv/cpu/cpu.c                | 2 +-
>  arch/x86/cpu/baytrail/cpu.c         | 2 +-
>  arch/x86/cpu/broadwell/cpu.c        | 2 +-
>  arch/x86/cpu/ivybridge/cpu.c        | 2 +-
>  arch/x86/cpu/quark/quark.c          | 2 +-
>  arch/x86/lib/fsp2/fsp_init.c        | 2 +-
>  doc/develop/event.rst               | 6 +++---
>  drivers/core/root.c                 | 4 ++--
>  drivers/cpu/microblaze_cpu.c        | 2 +-
>  include/event.h                     | 2 +-
>  18 files changed, 21 insertions(+), 21 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list