avionic design with actual uboot and tooling
submodule of avionic design uboot bootloader and with included tools to get you started , read readme.md and readme-tk1-loader.md
This commit is contained in:
19
u-boot/board/efi/Kconfig
Normal file
19
u-boot/board/efi/Kconfig
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
15
u-boot/board/efi/efi-x86/Kconfig
Normal file
15
u-boot/board/efi/efi-x86/Kconfig
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
6
u-boot/board/efi/efi-x86/MAINTAINERS
Normal file
6
u-boot/board/efi/efi-x86/MAINTAINERS
Normal file
@@ -0,0 +1,6 @@
|
||||
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
|
||||
7
u-boot/board/efi/efi-x86/Makefile
Normal file
7
u-boot/board/efi/efi-x86/Makefile
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# Copyright (c) 2015 Google, Inc
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-y += efi.o
|
||||
13
u-boot/board/efi/efi-x86/efi.c
Normal file
13
u-boot/board/efi/efi-x86/efi.c
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* 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;
|
||||
}
|
||||
Reference in New Issue
Block a user