Commit 3e9aa320 authored by Ben Stoltz's avatar Ben Stoltz Committed by Simon Glass
Browse files

x86: Add EFI board code



Add support for the efi-x86 board, which supports running U-Boot as an
EFI 32-bit application.
Signed-off-by: default avatarBen Stoltz <stoltz@google.com>
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Tested-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 3dcdd17b
......@@ -27,6 +27,7 @@ endchoice
# board-specific options below
source "board/coreboot/Kconfig"
source "board/efi/Kconfig"
source "board/emulation/Kconfig"
source "board/google/Kconfig"
source "board/intel/Kconfig"
......
if VENDOR_EFI
choice
prompt "Mainboard model"
optional
config TARGET_EFI
bool "efi"
help
This target is used for running U-Boot on top of EFI. In
this case EFI does the early initialisation, and U-Boot
takes over once the RAM, video and CPU are fully running.
U-Boot is loaded as an application from EFI.
endchoice
source "board/efi/efi-x86/Kconfig"
endif
if TARGET_EFI
config SYS_BOARD
default "efi-x86"
config SYS_VENDOR
default "efi"
config SYS_SOC
default "efi"
config SYS_CONFIG_NAME
default "efi-x86"
endif
EFI-X86 BOARD
M: Simon Glass <sjg@chromium.org>
S: Maintained
F: board/efi/efi-x86/
F: include/configs/efi-x86.h
F: configs/efi-x86_defconfig
#
# Copyright (c) 2015 Google, Inc
#
# SPDX-License-Identifier: GPL-2.0+
#
obj-y += efi.o
/*
* Copyright (C) 2015 Google, Inc
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/gpio.h>
int arch_early_init_r(void)
{
return 0;
}
void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio)
{
return;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment