x86: Handle running as EFI payload
authorSimon Glass <sjg@chromium.org>
Tue, 4 Aug 2015 18:34:00 +0000 (12:34 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:44:08 +0000 (08:44 -0600)
commite49cceac61a0f56beff466f844fb9b3451d564eb
treef82a912a899cf687bf46215daa20fabc96acc1ca
parentf1a0bafb5802416d42d685b343110c1557da1739
x86: Handle running as EFI payload

When U-Boot runs as an EFI payload it needs to avoid setting up the CPU
again. Also U-Boot currently does not handle interrupts for many devices, so
run with interrupts disabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/Kconfig
arch/x86/cpu/cpu.c
arch/x86/cpu/interrupts.c
arch/x86/lib/bootm.c
arch/x86/lib/efi/Kconfig [new file with mode: 0644]