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:
9
u-boot/board/br4/Kconfig
Normal file
9
u-boot/board/br4/Kconfig
Normal file
@@ -0,0 +1,9 @@
|
||||
if TARGET_BR4
|
||||
|
||||
config SYS_BOARD
|
||||
default "br4"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "br4"
|
||||
|
||||
endif
|
||||
6
u-boot/board/br4/MAINTAINERS
Normal file
6
u-boot/board/br4/MAINTAINERS
Normal file
@@ -0,0 +1,6 @@
|
||||
BR4 BOARD
|
||||
M: Dimitar Penev <dpn@switchfin.org>
|
||||
S: Maintained
|
||||
F: board/br4/
|
||||
F: include/configs/br4.h
|
||||
F: configs/br4_defconfig
|
||||
14
u-boot/board/br4/Makefile
Normal file
14
u-boot/board/br4/Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# U-Boot - Makefile
|
||||
#
|
||||
# Copyright (c) Switchfin Org. <dpn@switchfin.org>
|
||||
#
|
||||
# Copyright (c) 2005-2007 Analog Device Inc.
|
||||
#
|
||||
# (C) Copyright 2000-2006
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-y := br4.o
|
||||
30
u-boot/board/br4/br4.c
Normal file
30
u-boot/board/br4/br4.c
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* U-Boot - main board file
|
||||
*
|
||||
* Copyright (c) Switchfin Org. <dpn@switchfin.org>
|
||||
*
|
||||
* Copyright (c) 2005-2008 Analog Devices Inc.
|
||||
*
|
||||
* (C) Copyright 2000-2004
|
||||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
*
|
||||
* Licensed under the GPL-2 or later.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <net.h>
|
||||
#include <netdev.h>
|
||||
|
||||
int checkboard(void)
|
||||
{
|
||||
printf("Board: Switchvoice BR4 Appliance\n");
|
||||
printf(" Support: http://www.switchvoice.com/\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_BFIN_MAC
|
||||
int board_eth_init(bd_t *bis)
|
||||
{
|
||||
return bfin_EMAC_initialize(bis);
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user