]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Correct get_sp() implementation for 64-bit
authorSimon Glass <sjg@chromium.org>
Sun, 16 Jul 2023 03:38:43 +0000 (21:38 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 09:08:44 +0000 (17:08 +0800)
commite47fcfbadaa17d26ed6d791de9cf69d33cf244c2
treebd1d4d112a1e9a56fa67387a3a16ab1971d4167a
parent3ebc30983afae64d62ca9478fa6b4fce3f209acc
x86: Correct get_sp() implementation for 64-bit

Use an assembler implementation as is done for i386, so that the results
are equivalent for i386 and x86_64.

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