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

2023-05-04 Thread Bin Meng
On Tue, Apr 18, 2023 at 11:31 PM Simon Glass 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

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

2023-04-18 Thread Simon Glass
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 running from SPI flash. Drop the copy as it is not needed. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/i386/cpu.c | 32 +--