diff options
author | Ben Stoltz <stoltz@google.com> | 2015-08-04 18:33:47 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-08-05 14:44:06 (GMT) |
commit | 3e9aa3205529c3838e8e92d65e748c27012cca88 (patch) | |
tree | 97db0784d8977f9ccfa9a946d6464a99ffb32323 /board/efi/efi-x86/efi.c | |
parent | 3dcdd17b43c5cfd3a216169948dfd08d6741c631 (diff) | |
download | u-boot-3e9aa3205529c3838e8e92d65e748c27012cca88.tar.xz |
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: Ben Stoltz <stoltz@google.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'board/efi/efi-x86/efi.c')
-rw-r--r-- | board/efi/efi-x86/efi.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/board/efi/efi-x86/efi.c b/board/efi/efi-x86/efi.c new file mode 100644 index 0000000..08958f9 --- /dev/null +++ b/board/efi/efi-x86/efi.c @@ -0,0 +1,18 @@ +/* + * 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; +} |