bzimage: Hand off initialisation to the EFI boot stub

Linux kernel v3.6-rc1 support an "EFI handover protocol" that allows
most of the initialisation necessary for booting a kernel under EFI to
be performed by a boot stub in the kernel image itself.

Use the boot stub if it is supported by the kernel.

Signed-off-by: Matt Fleming <>
4 files changed