[PATCH v2 16/18] x86: Simplify cpu_jump_to_64bit_uboot()

Bin Meng bmeng.cn at gmail.com
Thu May 4 16:22:37 CEST 2023


On Tue, Apr 18, 2023 at 11:31 PM Simon Glass <sjg at chromium.org> wrote:
>
> This copies the cpu_call64() function to memory address and then jumps to
> it. This seems to work correctly even when call from SPL, which is

call => called

> running from SPI flash.
>
> Drop the copy as it is not needed.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
>  arch/x86/cpu/i386/cpu.c | 32 +++++---------------------------
>  1 file changed, 5 insertions(+), 27 deletions(-)
>

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


More information about the U-Boot mailing list