x86: Support booting a 64-bit kernel from 64-bit U-Boot
authorSimon Glass <sjg@chromium.org>
Sun, 19 Mar 2023 19:30:08 +0000 (08:30 +1300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 25 Mar 2023 10:07:21 +0000 (11:07 +0100)
commit37c9f9cc86a2bcd8707d519945cecf08c079ef19
tree1a266840c2b4b550c764c91b57432cf8b95bed28
parent1404914ddd959d43138ed08544da8c816e0fa66d
x86: Support booting a 64-bit kernel from 64-bit U-Boot

Add the missing code to handle this. For a 64-bit kernel the entry
address is 0x200 bytes after the normal entry.

Rename the parameter to boot_linux_kernel() accordingly. Update the
comments to indicate that these are addresses, not pointers.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/bootm.h
arch/x86/lib/bootm.c
arch/x86/lib/zimage.c