]> git.dujemihanovic.xyz Git - u-boot.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)
commit4cb3b9f01ed8bdbd49627b977e91fc05472837cc
tree7db2a175f82e27fc4a3b278297054408efd27e13
parent50574d42cfb9d3346e6a9a7642db67aa2b24d365
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