]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Simplify cpu_jump_to_64bit_uboot()
authorSimon Glass <sjg@chromium.org>
Thu, 4 May 2023 22:50:59 +0000 (16:50 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 11 May 2023 02:25:29 +0000 (10:25 +0800)
commit4338324a0fabbe0185e4e3059c0626c3fa2d8f85
tree7db2a175f82e27fc4a3b278297054408efd27e13
parent34b2e280dc7e13b8a70a23c5545413588bc555fb
x86: Simplify cpu_jump_to_64bit_uboot()

This copies the cpu_call64() function to memory address and then jumps to
it. This seems to work correctly even when called from SPL, which is
running from SPI flash.

Drop the copy as it is not needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/i386/cpu.c