diff options
| author | Tom Rini <trini@konsulko.com> | 2023-07-17 10:38:28 -0400 | 
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2023-07-17 10:38:28 -0400 | 
| commit | 13aa090b87a0fbdfe690011669b9fdb96bb1ccc7 (patch) | |
| tree | 69af16bc8ecc4b6e8106a750e31e51d7ec078828 /arch/x86/lib/bootm.c | |
| parent | aa817dfcaf158dda71358d02181bf52c30dbe4c6 (diff) | |
| parent | b8956425d525c3c25fd218f252f89a5e44df6a9f (diff) | |
Merge https://source.denx.de/u-boot/custodians/u-boot-x86
- bootstd: Add a bootmeth for ChromiumOS on x86
- x86: Use qemu-x86_64 to boot EFI installers
Diffstat (limited to 'arch/x86/lib/bootm.c')
| -rw-r--r-- | arch/x86/lib/bootm.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/arch/x86/lib/bootm.c b/arch/x86/lib/bootm.c index 61cb7bc6116..3196f9ddc2c 100644 --- a/arch/x86/lib/bootm.c +++ b/arch/x86/lib/bootm.c @@ -258,7 +258,7 @@ static ulong get_sp(void)  	ulong ret;  #if CONFIG_IS_ENABLED(X86_64) -	ret = gd->start_addr_sp; +	asm("mov %%rsp, %0" : "=r"(ret) : );  #else  	asm("mov %%esp, %0" : "=r"(ret) : );  #endif | 
