diff options
author | Simon Glass <sjg@chromium.org> | 2017-01-16 14:04:15 (GMT) |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-02-06 03:38:46 (GMT) |
commit | fa5fcb3bc60c3c188b91f704b7d0d6b3810c9047 (patch) | |
tree | 9dd3c13424ee132d4acd9c53543a66884a2f161f /arch/x86/cpu/call64.S | |
parent | c2bf0dfaa3b313b941e52e565f6a2d20c02fe11a (diff) | |
download | u-boot-fsl-qoriq-fa5fcb3bc60c3c188b91f704b7d0d6b3810c9047.tar.xz |
x86: Support jumping from SPL to U-Boot
Add a rough function to handle jumping from 32-bit SPL to 64-bit U-Boot.
This still needs work to clean it up.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/call64.S')
-rw-r--r-- | arch/x86/cpu/call64.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/cpu/call64.S b/arch/x86/cpu/call64.S index 08dc473..970c461 100644 --- a/arch/x86/cpu/call64.S +++ b/arch/x86/cpu/call64.S @@ -81,6 +81,9 @@ lret_target: jmp *%eax /* Jump to the 64-bit target */ .data + .align 16 + .globl gdt64 +gdt64: gdt: .word gdt_end - gdt - 1 .long gdt /* Fixed up by code above */ |